Twelve Data MCP Server
OfficialThe Twelve Data MCP Server integrates with the Twelve Data API to provide comprehensive financial market data access. Capabilities include:
Fetch historical price data for stocks, forex, cryptocurrencies, ETFs, commodities, and funds
Retrieve real-time price quotes for specific symbols
List available financial instruments across various markets
Calculate technical indicators (RSI, MACD, Bollinger Bands, EMA, SMA, ADX, ATR)
Access company information (profiles, statistics, earnings, dividends, stock splits)
Query real-time exchange rates and perform currency conversions
Check market state and list available exchanges
Search for symbols and retrieve EOD (End of Day) prices
Access company logos and IPO calendar data
Get cross-listed symbols and technical indicators metadata
Monitor API usage and find earliest available timestamps for instruments
Supports containerized deployment through Docker, enabling portable and isolated execution of the Twelve Data MCP server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Twelve Data MCP Servershow me Apple stock performance this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Twelve Data MCP Server
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.
Option 1 — Use our cloud server (recommended)
Connect your AI assistant to our hosted server:
https://mcp.twelvedata.com/mcpThat'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.
How to add it
Claude (Desktop / Web) and ChatGPT support custom connectors / MCP servers:
Open your assistant's Connectors (or Integrations / MCP servers) settings.
Add a new connector with the URL
https://mcp.twelvedata.com/mcp.When prompted, click Connect / Log in — a Twelve Data login page opens in your browser.
Authorize, and you're done. Ask things like "What's the RSI for AAPL?" or "Show me TSLA's latest earnings."
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.
Related MCP server: Stocks MCP Server
Option 2 — Run it locally with your API key
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.
1. Get your API key
Log in at twelvedata.com → your dashboard → API Keys. Copy your key.
2. Install
Requires Python 3.10+ (3.12 recommended; on macOS brew install python@3.12 or make python-install).
make install3. Add your API key
Create a .env file in the project root with your key:
TWELVE_DATA_API_KEY=your_api_key_here4. Connect to Claude Desktop
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.
What you can ask
Prices — stocks, ETFs, forex, crypto, commodities (real-time & historical)
Technical indicators — RSI, MACD, SMA, BBANDS, ATR, and 60+ more
Fundamentals — financial statements, earnings, dividends, splits, company profiles, market cap, key stats, IPO calendar
Funds — ETF & mutual fund profiles, performance, holdings, risk
News — company news & press releases
Market intelligence — movers, exchange rates, analyst ratings, price targets
Regulatory — SEC/EDGAR filings, insider transactions, institutional holdings
Symbol formats: stocks AAPL, crypto BTC/USD, forex EUR/USD.
Partners
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/twelvedata/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server