Back to MCP Servers
🔌

twelvedata/mcp

MITAPI key required

🐍 ☁️ - Interact with APIs to access real-time and historical financial market data for your AI agents.

PythonAPIs

Install

npx -y @modelcontextprotocol/inspector

Required environment variables

YOUR_TWELVE_DATA_API_KEYSet in your MCP config
OPENAI_API_KEYSet in your MCP config
YOUR_OPENAI_API_KEYSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "twelvedata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ],
      "env": {
        "YOUR_TWELVE_DATA_API_KEY": "<YOUR_YOUR_TWELVE_DATA_API_KEY>",
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
        "YOUR_OPENAI_API_KEY": "<YOUR_YOUR_OPENAI_API_KEY>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.