# Twelve Data MCP server

> Query real-time and historical stock, forex, crypto and ETF prices, indicators and fundamentals from Twelve Data.

- Listing: https://mcp.tc/i/twelve-data
- Connect: use the server's own URL `https://mcp.twelvedata.com/mcp` (OAuth sign-in at the server); clients connect to it directly. The listing link is a page, not an MCP endpoint.
- Type: remote (Streamable HTTP)
- Auth: OAuth sign-in
- Category: [Finance & Payments](https://mcp.tc/c/finance-payments)
- Vendor: Twelve Data
- Homepage: <https://twelvedata.com>
- Repository: <https://github.com/twelvedata/mcp>

## About

Connects an AI assistant to the Twelve Data financial API. It covers real-time and historical prices, 60+ technical indicators, fundamentals, earnings, dividends, ETFs, company news and market movers across stocks, forex and crypto.

The hosted server runs at https://mcp.twelvedata.com/mcp over streamable HTTP. Each user signs in with their own Twelve Data account through OAuth, and no API key needs to be pasted. A self-hosted Python 3.10+ option runs over stdio or HTTP using a TWELVE\_DATA\_API\_KEY. Data access depends on the plan of your Twelve Data account.

## What it can do

- Get latest quotes with price and volume
- Fetch historical daily and intraday prices
- Calculate technical indicators such as RSI
- Look up fundamentals, earnings and dividends
- Read ETF data and company news
- Find symbols and market movers

## Example prompts

- "What is the latest quote for AAPL, including price and volume?"
- "Show the last five daily closing prices for AAPL."
- "What's the RSI for TSLA right now?"
- "Show me TSLA's latest earnings."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport http twelve-data https://mcp.twelvedata.com/mcp
```

2. Start Claude Code, type `/mcp`, pick **twelve-data** and choose **Authenticate**. A browser window opens for the Twelve Data sign-in.

Add `--scope user` to make it available in every project, not just this one.

### Claude Desktop

1. Open **Settings → Connectors** and click **Add custom connector**.

2. Name it **Twelve Data** and paste this URL:

```url
https://mcp.twelvedata.com/mcp
```

3. Click **Add**, then **Connect**, and sign in when Twelve Data asks.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

### claude.ai

1. Open the connector form on claude.ai. This button fills in the name and URL for you:

[Add to claude.ai](<https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Twelve%20Data&connectorUrl=https%3A%2F%2Fmcp.twelvedata.com%2Fmcp>) (opens connector settings)

2. Check that the URL reads `https://mcp.twelvedata.com/mcp` and click **Add**.

3. Click **Connect** and sign in when Twelve Data asks.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under **Organization settings → Connectors**.

### ChatGPT

1. On chatgpt.com, open **Settings → Security and login** and turn on **Developer mode**.

2. Go to `chatgpt.com/plugins` and click **+** to create an app for a remote MCP server.

3. Paste `https://mcp.twelvedata.com/mcp` as the server URL and choose **OAuth**. ChatGPT sends you to Twelve Data to sign in.

Developer mode is available on the web for Plus, Pro, Business, Enterprise and Education accounts.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=twelve-data&config=eyJ1cmwiOiJodHRwczovL21jcC50d2VsdmVkYXRhLmNvbS9tY3AifQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "twelve-data": {
      "url": "https://mcp.twelvedata.com/mcp"
    }
  }
}
```

Cursor shows **Needs login** next to the server. Click it to sign in.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=twelve-data&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.twelvedata.com%2Fmcp%22%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"twelve-data","type":"http","url":"https://mcp.twelvedata.com/mcp"}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "twelve-data": {
      "type": "http",
      "url": "https://mcp.twelvedata.com/mcp"
    }
  }
}
```

VS Code asks you to sign in the first time the server starts.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "twelve-data": {
      "serverUrl": "https://mcp.twelvedata.com/mcp"
    }
  }
}
```

2. Refresh the MCP server list in Cascade and sign in when asked.

Devin Desktop is the new name for Windsurf. It reads `serverUrl` (or `url`) for remote servers.

### Codex

```bash
codex mcp add twelve-data --url https://mcp.twelvedata.com/mcp
codex mcp login twelve-data
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.twelve-data]
url = "https://mcp.twelvedata.com/mcp"
```

### Gemini CLI

```bash
gemini mcp add --transport http twelve-data https://mcp.twelvedata.com/mcp
```

Then, inside Gemini CLI, run `/mcp auth twelve-data` to sign in.

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients accept this shape. Some name the URL field differently: `serverUrl` in Devin Desktop, `httpUrl` in Gemini CLI’s settings file.

```json
{
  "mcpServers": {
    "twelve-data": {
      "type": "http",
      "url": "https://mcp.twelvedata.com/mcp"
    }
  }
}
```

Zed puts servers under `context_servers` in its settings. Cline needs `"type": "streamableHttp"`, or it assumes SSE.

Client only starts local servers? Bridge it with `npx -y mcp-remote https://mcp.twelvedata.com/mcp`.

## Details

- Server version: 2.0.0
- Last checked: 2026-10-03 (reachable, asks for credentials)
- Listed: 2026-10-03
- Updated: 2026-10-03

---
Source: https://mcp.tc/i/twelve-data (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
