Skip to main content
Glama
dataline-xyz

Dataline MCP Server

Official
by dataline-xyz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATALINE_API_KEYYesAPI key issued by Dataline
DATALINE_BASE_URLNoOverride the API base URLhttps://www.dataline.xyz
DATALINE_SECRET_KEYYesSecret used to sign requests (HMAC-SHA256)
DATALINE_MCP_TIMEOUT_MSNoPer-request timeout in milliseconds45000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_priceA

Get current spot price for a crypto asset. Provide base_currency (e.g. BTC) and optional quote_currency (default USDT). Returns per-source prices from multiple exchanges and an average. For perpetual futures data (funding rates), use get_funding_rate instead.

get_funding_rateA

Get current funding rate for a perpetual futures contract. Returns per-venue funding rates with annualized rates and next funding timestamps. Supported venues: binance, bybit, okx.

search_prediction_eventsA

Search prediction market events by keyword, slug, or ticker-like text on Polymarket and Kalshi. Returns matching events with markets and outcome probabilities. Query must be at least 3 characters. Use get_odds_event_list to browse without a keyword.

get_prediction_event_detailA

Get full details for one prediction market event: sub-markets, outcome probabilities, rules summary, and settlement timing. WARNING: large events (e.g. election brackets) can have 100+ sub-markets and return very large responses. Default markets_limit is 20. Increase only when you need full coverage.

get_odds_categoriesA

List all available prediction market event categories (e.g. crypto, politics, sports). Returns an array of category name strings. Use these values as the category filter in get_odds_event_list. No parameters required.

get_odds_event_listA

List prediction market events, optionally filtered by category, platform, and status. Returns events with markets and outcome probabilities. Use get_odds_categories to discover valid category values. Limit max 50 per page.

get_odds_event_orderbookA

Get the raw orderbook (bids and asks) for a specific prediction market outcome. Provide either kalshi_market_id OR polymarket_market_id (not both, at least one required). Returns raw bid/ask levels — use the best bid and ask to compute mid price and implied probability.

get_prediction_market_quoteA

Get a quote for a prediction market outcome computed from live orderbook data. Returns best bid, best ask, mid price, spread, and implied probability percentage. Outcome must be 'yes' or 'no'. Use market_id from get_prediction_event_detail results.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dataline-xyz/dataline-mcps'

If you have feedback or need assistance with the MCP directory API, please join our Discord server