Twelve Data MCP (Model Context Protocol) Server provides seamless, real-time access to financial market data via WebSocket, enabling reliable streaming of price quotes, market metrics, and events directly into your applications.
- ✓Open-source license (MIT)
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
- !Inactive (>180d)
claude mcp add mcp -- uvx mcp{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": ["mcp"],
"env": {
"TWELVE_DATA_API_KEY": "<twelve_data_api_key>"
}
}
}
}TWELVE_DATA_API_KEYResumen de MCP Servers
# Twelve Data MCP Server
Connect Claude, ChatGPT, and other AI assistants to the [Twelve Data](https://twelvedata.com) 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](https://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/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.
### How to add it
**Claude (Desktop / Web) and ChatGPT** support custom connectors / MCP servers:
1. Open your assistant's **Connectors** (or **Integrations** / **MCP servers**) settings.
2. Add a new connector with the URL `https://mcp.twelvedata.com/mcp`.
3. When prompted, click **Connect / Log in** — a Twelve Data login page opens in your browser.
4. 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.
---
## 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](https://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`).
```bash
make install
```
### 3. Add your API key
Create a `.env` file in the project root with your key:
```bash
TWELVE_DATA_API_KEY=your_api_key_here
```
### 4. Connect to Claude Desktop
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
```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](https://twelvedata.com)
and we'll provide the setup guide and OAuth credentials.
Lo que la gente pregunta sobre mcp
¿Qué es twelvedata/mcp?
+
twelvedata/mcp es mcp servers para el ecosistema de Claude AI. Twelve Data MCP (Model Context Protocol) Server provides seamless, real-time access to financial market data via WebSocket, enabling reliable streaming of price quotes, market metrics, and events directly into your applications. Tiene 73 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala mcp?
+
Puedes instalar mcp clonando el repositorio (https://github.com/twelvedata/mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar twelvedata/mcp?
+
Nuestro agente de seguridad ha analizado twelvedata/mcp y le ha asignado un Trust Score de 72/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene twelvedata/mcp?
+
twelvedata/mcp es mantenido por twelvedata. La última actividad registrada en GitHub es de today, con 4 issues abiertos.
¿Hay alternativas a mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/twelvedata-mcp)<a href="https://claudewave.com/repo/twelvedata-mcp"><img src="https://claudewave.com/api/badge/twelvedata-mcp" alt="Featured on ClaudeWave: twelvedata/mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!