Get Free Key →
AAPL 1D · 90 bars
⚠ Demo data — add API key for live quotes
Loading…
🤖 MCP Setup
📖 About
Use Twelve Data as an MCP Tool
Wire real-time financial data into any AI agent in seconds.
Claude Desktop
{
  "mcpServers": {
    "twelve-data": {
      "url": "https://twelvedata.com/docs/ai/ai-mcp-server"
    }
  }
}
Cursor / VS Code
{
  "mcp": {
    "servers": {
      "twelve-data": {
        "url": "https://twelvedata.com/docs/ai/ai-mcp-server"
      }
    }
  }
}
smolagents (Python)
from smolagents import (
  MCPClient, CodeAgent,
  HfApiModel
)
client = MCPClient({
  "url": "https://twelvedata.com/mcp"
})
agent = CodeAgent(
  tools=client.get_tools(),
  model=HfApiModel()
)
agent.run("What is NVDA RSI?")

🌐 Global Market Coverage

  • Stocks, ETFs — 50+ exchanges
  • Crypto — 20+ exchanges
  • Forex, commodities, indices
  • Real-time & 20+ years of history

🔧 Developer-First

  • 80+ technical indicators
  • Python, JS, Go, R SDKs
  • WebSocket streaming
  • 800 free API calls/day