Dataline Server
БесплатноНе проверенMCP server exposing read-only market data tools for crypto prices, funding rates, and prediction markets via Dataline API.
Описание
MCP server exposing read-only market data tools for crypto prices, funding rates, and prediction markets via Dataline API.
README
A Model Context Protocol (MCP) server and TypeScript SDK for the Dataline data API.
It exposes a focused set of read-only market-data tools to MCP-compatible clients (Claude Desktop, Cursor, Continue, custom agents, etc.):
- Spot and perpetual prices for crypto assets
- Perpetual funding rates (annualized)
- Blockchain project details by token symbol/name or contract address
- Exchange announcements, categories, search/list, and full details
- Prediction-market categories, events, search, details, orderbook
- Best-quote helper that aggregates the orderbook into a single number
Install
Using npx (no install required):
npx -y @dataline-xyz/dataline-mcp
Or install globally:
npm install -g @dataline-xyz/dataline-mcp
dataline-mcp
Configure
The server reads credentials from environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
DATALINE_API_KEY |
yes | — | API key issued by Dataline |
DATALINE_SECRET_KEY |
yes | — | Secret used to sign requests (HMAC-SHA256) |
DATALINE_BASE_URL |
no | https://www.dataline.xyz |
Override the API base URL |
DATALINE_MCP_TIMEOUT_MS |
no | 45000 |
Per-request timeout in milliseconds |
See .env.example for a copy/pastable template.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"dataline": {
"command": "npx",
"args": ["-y", "@dataline-xyz/dataline-mcp"],
"env": {
"DATALINE_API_KEY": "your_api_key_here",
"DATALINE_SECRET_KEY": "your_secret_key_here"
}
}
}
}
Cursor / Continue / other MCP clients
Use the same command + env mapping in your client's MCP configuration.
Tools
| Tool | Purpose |
|---|---|
get_price |
Spot or swap price for a base/quote pair |
get_funding_rate |
Annualized funding rate for a perpetual contract |
get_project_detail |
Project fundamentals, market metrics, exchange presence, investors, and funding rounds |
get_exchange_announcement_categories |
List normalized exchange announcement categories |
get_exchange_announcement_list |
Search/list exchange announcements (paginated) |
get_exchange_announcement_detail |
Full detail for a single exchange announcement |
get_odds_categories |
List prediction-market event categories |
get_odds_event_list |
List prediction-market events (paginated) |
search_prediction_events |
Full-text search across prediction events |
get_prediction_event_detail |
Full detail for a single prediction event |
get_odds_event_orderbook |
Orderbook (bids/asks) for a specific outcome market |
get_prediction_market_quote |
Convenience helper: best bid/ask + mid from the orderbook |
SDK usage
import { DatalineClient } from "@dataline-xyz/dataline-mcp";
const client = new DatalineClient({
apiKey: process.env.DATALINE_API_KEY!,
secretKey: process.env.DATALINE_SECRET_KEY!,
});
const price = await client.getPrice({ base_currency: "BTC", quote_currency: "USDT" });
console.log(price);
Development
pnpm install
pnpm build
pnpm test
The OpenAPI spec for the supported endpoints ships as openapi.json next to this README.
License
Установить Dataline Server в Claude Desktop, Claude Code, Cursor
unyly install dataline-mcp-serverСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add dataline-mcp-server -- npx -y @dataline-xyz/dataline-mcpFAQ
Dataline Server MCP бесплатный?
Да, Dataline Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Dataline Server?
Нет, Dataline Server работает без API-ключей и переменных окружения.
Dataline Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Dataline Server в Claude Desktop, Claude Code или Cursor?
Открой Dataline Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Stripe
Payments, customers, subscriptions
автор: Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
автор: malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
автор: whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
Compare Dataline Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории finance
