DocsMCP Server

MCP Server

Give Claude, ChatGPT, Cursor, Gemini, the OpenAI API, or any MCP-compatible agent direct access to live and historical market data across seven asset classes plus 24/7 perpetual markets. One config block, one API key or OAuth sign-in.

Open .md

What it is

The Model Context Protocol (MCP) is the open standard AI assistants use to call external tools. The TickerLayer MCP server exposes the REST API as typed tools, so an agent asks for data directly instead of guessing HTTP paths.

Endpoint
https://mcp.tickerlayer.com/mcp (Streamable HTTP)
Coverage
Crypto, forex, stocks, indices, ETFs, commodities, perpetuals, bond yields and market status.
Sign-in
Your TickerLayer API key, or an OAuth 2.1 sign-in for OAuth-capable clients such as the ChatGPT app.
Limits
Every tool call passes the same plan entitlements and rate limits as a direct REST request.

Connect your client

Copy your key from Dashboard → API key (create a free account if you need one), then add the server:

claude mcp add --transport http tickerlayer https://mcp.tickerlayer.com/mcp \
  --header "x-api-key: YOUR_API_KEY"
After saving
Reload configuration-file clients; API integrations need no restart. You should see tickerlayer with 12 tools, then ask a market question in plain language.
Claude Desktop
Uses a local mcp-remote bridge and needs Node.js 18 or newer.
Other clients
Grok, the OpenAI Agents SDK, LangChain, the Vercel AI SDK and any client that sets custom HTTP headers: the endpoint URL plus an x-api-key header.
ChatGPT app
Signs in with OAuth 2.1 (PKCE, dynamic client registration, refresh tokens). In the ChatGPT tab: enable Developer mode, create a connector with the endpoint URL and OAuth, approve the TickerLayer sign-in, then enable TickerLayer from the + menu in a chat.
Other OAuth clients
The URL alone: sign in when prompted, no API key needed.

Available tools

Stocks use COUNTRY:TICKER (US:KO, DE:SAP, SA:2222); crypto and forex use joined pairs (BTCUSD, EURUSD). list_symbols tells an agent what the account can read.

ToolReturns
get_quoteLatest bid/ask quote for any symbol in any asset class.
get_last_tradeMost recent trade: price, size, timestamp.
get_snapshotConsolidated view: last trade, quote, previous close, change and change percent. The best single call for "how is X doing right now".
get_previous_closePrevious completed daily OHLCV bar.
get_historyHistorical OHLCV bars between two UTC dates: minute, hour, and day intervals.
list_symbolsDiscover enabled symbols per asset class, with optional search filter.
get_market_statusOpen / closed / pre-market / post-market across crypto, forex, and stock regions.
get_market_sessionsSession windows for a market or symbol on a date.
get_market_holidaysHoliday calendar: closures and early closes by region.
get_bond_yieldLatest government bond yield by country and tenor, e.g. US:10Y, DE:10Y.
open_markets_boardAn interactive markets board for clients that render MCP Apps: ten widely followed markets with daily change, a chart for any of them, and search across every symbol. Opening it reads ten symbols, so it counts as ten requests; each chart is one more.
search_symbolsSearch every symbol the account can read, across all asset classes, by ticker or name. Called by the board's search box; hosts keep it out of the model's tool list.

Example prompts

  • “How is Bitcoin doing today? Compare it to gold.”
  • “Pull daily EURUSD bars for June and summarize the trend.”
  • “Is the US stock market open right now? When does Tokyo open next?”
  • “What is the 10-year US Treasury yield, and how does Germany compare?”
  • “Build me a watchlist snapshot: US:KO, US:JPM, BTCUSD, XAUUSD, with daily change.”

Authentication & limits

API key
Your standard key as an x-api-key header, or as Authorization: Bearer, on the hosted endpoint.
OAuth 2.1
The server implements the MCP authorization spec: the client discovers the flow and requests run under the signed-in account.
Quota
None of its own: plan entitlements, symbol access and rate limits apply exactly as for REST.
403 in a tool result
The plan does not include that data; see pricing.
Browsers
The endpoint serves MCP clients and server runtimes; direct browser-origin requests are denied.

llms.txt for code generation

Writing integration code with an AI assistant instead? Point it at the machine-readable reference so it never invents endpoints; both files follow the deployed API.

Fetch the reference
https://tickerlayer.com/llms.txt        # overview
https://tickerlayer.com/llms-full.txt   # every endpoint, symbol convention, and response shape