Twelve Data MCP: real-time & historical market data (stocks, crypto, forex, etc).
Connect Claude, ChatGPT, and other AI assistants to the Twelve Data financial API — real-time and historical prices, 60+ technical indicators, fundamentals, earnings, dividends, ETFs, company news, market movers, and more.
You need a Twelve Data account. Sign up at twelvedata.com.
There are two ways to use it. Most people should use the cloud server (Option 1) — there is nothing to install.
Connect your AI assistant to our hosted server:
https://mcp.twelvedata.com/mcp
That's it. No installation, no API key to copy and paste. When you connect, a browser window opens and you log in with your Twelve Data account — your personal API key is linked automatically and stays tied to your account.
Claude (Desktop / Web) and ChatGPT support custom connectors / MCP servers:
https://mcp.twelvedata.com/mcp.The exact menu names differ between apps and versions, but the flow is always the same: add the URL, then log in via the browser popup.
Prefer to run the server on your own machine (e.g. for Claude Desktop over stdio)? You only need your Twelve Data API key — no OAuth setup.
Log in at twelvedata.com → your dashboard → API Keys. Copy your key.
Requires Python 3.10+ (3.12 recommended; on macOS brew install python@3.12 or make python-install).
make install
Create a .env file in the project root with your key:
TWELVE_DATA_API_KEY=your_api_key_here
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"twelvedata": {
"command": "/path/to/twelve-data-mcp/.venv/bin/python",
"args": ["/path/to/twelve-data-mcp/src/server.py"]
}
}
}
Use the .venv/bin/python path (not the system Python — macOS ships 3.9, and this server needs 3.10+). Restart Claude Desktop after editing the config.
That's all — the server reads your API key from .env and every request uses it. No login step needed.
Symbol formats: stocks AAPL, crypto BTC/USD, forex EUR/USD.
Running your own public instance or setting up a dedicated OAuth login? That's a partner arrangement — reach out to us at twelvedata.com and we'll provide the setup guide and OAuth credentials.
This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.