Connect with MCP
Use TickerDB tools directly from Claude, ChatGPT, Cursor, or another MCP client.
Add the server URL to your client. Your client opens a TickerDB page in the browser: sign in and click Allow. In Claude Code that's one command:
Server URL
You don't need an API key: allowing the connection creates one named MCP (OAuth) on your account, shared by every client you connect. Calls use your plan's credits. You allow each client once; it stays connected.
| Client | How to add it |
|---|---|
| Any MCP client | The server URL |
| Claude | Custom connector |
| Claude Code | claude mcp add |
| ChatGPT | Plugin |
| Cursor | mcp.json |
| An agent with no browser | API key in a header, or npx tickerdb-mcp |
Any MCP-compatible client
Choose Streamable HTTP (some clients call it remote HTTP) as the transport and use the server URL above.
If it takes an mcpServers config:
Save it, enable TickerDB, and click Allow when the TickerDB page opens.
Claude web and Desktop
- Open Settings → Connectors in Claude.
- Click +, then choose Add custom connector.
- Name the connector TickerDB and enter
https://mcp.tickerdb.com/mcp. - Click Add, then Connect.
- On the TickerDB page that opens, sign in and click Allow.
- In a conversation, use + → Connectors to enable TickerDB.
Claude's remote connector documentation →
Claude Code
Add the hosted server at user scope so it is available across projects:
Then run /mcp inside Claude Code, select TickerDB, and click Allow on the page that opens.
Claude Code MCP documentation →
ChatGPT
- Open Plugins in ChatGPT.
- Click + in the top right.
- Enter
https://mcp.tickerdb.com/mcpas the server URL. - Click Create.
- On the TickerDB page that opens, sign in and click Allow.
ChatGPT Plugins documentation →
Cursor
Add TickerDB to a project with .cursor/mcp.json, or make it available everywhere with ~/.cursor/mcp.json:
- Save the file and open Cursor Settings → Tools & Integrations.
- Find TickerDB in the MCP server list, connect it, and click Allow on the TickerDB page.
- Enable the TickerDB tools you want Cursor Agent to use.
From the Cursor CLI, cursor-agent mcp login tickerdb opens the same page.
Agents with no browser
An agent that runs on its own can't click Allow. Send your API key as a header instead:
Or run the server locally with npx tickerdb-mcp (stdio). It reads the key from TICKERDB_API_KEY; setup on GitHub →
Test the connection
After connecting, try one of these prompts:
Show me oversold large-cap stocks that are near support.Compare AAPL's daily and weekly trend state.What changed for AAPL, MSFT, and NVDA since yesterday?Which fields can I use to screen for bullish trend setups?
Tools
The server has ten tools. Field names come from get_schema, so your agent looks them up instead of guessing. Only the two watchlist tools change anything: your account's watchlist.
| Tool | What it does |
|---|---|
get_schema | Look up field names, units and band values: search="rsi zone", category=patterns, level=market. |
query | Any cross-section or history. One date with filters, tickers, a sort or a limit screens and ranks (/v1/search); one date with only fields returns every asset (/v1/universe); start + end returns every row in the range (/v1/history, weekly by default past about 6 months). dry_run=true prices a range in credits without charging. |
get_summary | One ticker: latest snapshot, a date, a series, or band events and what usually happens after (field, band, stats=true). |
get_market | Market (market_*) and economy (macro_*) regime rows, one per date, and regime changes. |
get_ohlcv | Daily or weekly end-of-day candles for returns, charts and backtests. |
add_watchlist_tickers, remove_watchlist_tickers | Add or remove tickers on your watchlist (one per account, the same list as the Track buttons on ticker pages). call_tool with get_watchlist_diff then says what changed for them since your last check. |
search_tools | Find the other endpoints and their params. |
call_tool | Run an endpoint found with search_tools: its name plus a params object. |
query_data | Read-only SQL (SQLite) over results saved with store_as. |
Every other API route is available through call_tool, under these names: get_diff, get_insiders, get_insider_trades, get_insider_holdings, get_funds, get_fund_holdings, get_fund_holders, get_indexes, get_index_members, get_models, get_model, get_model_history, get_model_holdings, get_model_trades, get_models_holdings (the six model endpoints, Pro and Commercial), get_status, get_account, and the raw get_search and get_universe routes. Their params are the route's query params.
Large pulls
Keep big results out of your agent's context: store them in a table, then query the table with SQL.
store_as=<table>on any data tool saves the rows to a SQLite table and returns a short summary instead: row count, columns, five sample rows.append=trueadds to an existing table.fetch_all=truefollows every page in the same call.query_datareads the tables:SELECTorWITH, plusSHOW TABLESandDESCRIBE <table>. It returns at most 200 rows;format=csvreturns CSV text.- A result over 40K characters is stored this way even without
store_as, and you get the summary.
- Hosted server (
mcp.tickerdb.com): tables live in a store per API key, deleted 24 hours after last use. - npm package (
npx tickerdb-mcp, stdio): tables live in memory for the life of the process, andquery_dataalso takesoutput_pathto write the full result to a local CSV file.
Troubleshooting
| Problem | What to do |
|---|---|
| The client can't find the server | Use the full URL https://mcp.tickerdb.com/mcp and select Streamable HTTP. |
| Authorization fails | Sign in to TickerDB in the same browser, then reconnect from your client and click Allow. |
| Every client stopped working at once | The MCP (OAuth) key was deleted under Dashboard → API keys. Reconnect any client and click Allow; that creates a new one. |
| Tools disappeared | Disconnect TickerDB in the client, reconnect it, and refresh or rescan the available tools. |
| Cursor is disconnected | Reconnect TickerDB in Cursor Settings → Tools & Integrations, or run cursor-agent mcp login tickerdb. |