Twelvedata logo

Twelvedata

Access Twelve Data market prices, time series, reference symbols, corporate events, FX conversions, and technical indicators through MCP.

Install Twelvedata

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "twelvedata": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-twelvedata"
      ],
      "env": {
        "PLATFORM_TWELVEDATA_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE",
        "NODE_USE_ENV_PROXY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PLATFORM_TWELVEDATA_KEY=YOUR_VALUE_HERE --env PIPEWORX_API_KEY=YOUR_VALUE_HERE --env PIPEWORX_META_TOOLS=YOUR_VALUE_HERE --env NODE_USE_ENV_PROXY=YOUR_VALUE_HERE --transport stdio twelvedata -- npx -y @pipeworx/mcp-twelvedata

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Twelvedata MCP server connects MCP clients to Twelve Data for stock, ETF, forex, cryptocurrency, and market-index information. Its tools cover OHLC time series, quotes, latest prices, end-of-day data, exchange rates, symbol discovery, earnings, dividends, splits, profiles, and technical indicators. Use the hosted gateway for a remote connection, or run the npm stdio bridge when your client starts local MCP processes. It fits agents that need structured market lookups and historical or event data, but calls require network access.

Use cases

  • Retrieve intraday OHLC data for a stock, ETF, forex pair, or cryptocurrency
  • Check current prices, quote snapshots, and end-of-day closes
  • Convert currencies using a live forex pair rate
  • Find valid symbols before querying market data
  • Analyze earnings, dividends, splits, and technical indicators

Key features

  • OHLC time series across stocks, ETFs, forex, crypto, and indices
  • Latest prices, quote snapshots, and end-of-day data
  • Forex exchange rates and currency conversion
  • Paged symbol reference lists for multiple instrument classes
  • Earnings, dividends, splits, and company profiles
  • Technical indicators including RSI, SMA, EMA, and MACD

Tools17

What Twelvedata lets your agent do. Expand a tool for its parameters.

Verified live~4.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 89d

What it can do

From the 17 tools this server returned when we ran it; 17 declare their own safety hints.

Makes network requests · 17Read-only tools · 17
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age45 days
Maintainers1

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @pipeworx/mcp-twelvedata (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads592Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Tools exposed17Callable tools this server registers over MCP.

How Twelvedata works

What Twelvedata does

Twelvedata exposes Twelve Data market-data operations through the Model Context Protocol. It covers stocks, ETFs, forex pairs, cryptocurrencies, and supported market indices. The available data includes intraday and daily OHLC series, quote snapshots, latest trade prices, end-of-day closes, foreign-exchange rates, currency conversions, company profiles, earnings, dividends, and split history.

Reference tools help an agent find valid symbols before requesting data. Stock, forex-pair, cryptocurrency, ETF, and index lookups can return exchange, country, or other instrument metadata. ETF results are paged and default to 200 rows; index results are also paged and focus on roughly 1,300 non-US indices.

How it works

A remote MCP client can connect to https://gateway.pipeworx.io/twelvedata/mcp. The endpoint exposes the Twelvedata tool pack together with shared Pipeworx gateway tools. ask_pipeworx can route plain-language questions across the wider catalog, while the direct tools handle Twelve Data requests explicitly.

The same service can be called over HTTP. For example, a POST request to /v1/tools/time_series with a symbol and interval retrieves an OHLC series. A local npm package, @pipeworx/mcp-twelvedata, acts as a stdio bridge and forwards MCP calls to the hosted endpoint, so it still needs network access and has no offline mode.

Setup and configuration

Add the hosted URL to an MCP client, or configure the npm bridge with npx -y @pipeworx/mcp-twelvedata. Anonymous hosted calls are available for initial use. The local bridge allows up to 50 calls per day without a key; a Pipeworx account key raises that limit to 200 calls per day and is passed as a Bearer token.

Authentication can also use the platform variable PLATFORM_TWELVEDATA_KEY, or an _apiKey argument for supported requests. Set PIPEWORX_META_TOOLS=1 if the local bridge should list the shared gateway tools in addition to the Twelvedata tools. Requests behind an HTTPS proxy may require NODE_USE_ENV_PROXY=1 on Node versions that support that option.

Tools and capabilities

  • time_series returns timestamped open, high, low, close, and volume values for a requested interval.
  • quote, price, and eod provide full snapshots, lightweight latest prices, or daily closing data.
  • exchange_rate and currency_conversion handle live forex rates and amount conversions.
  • stocks, forex_pairs, cryptocurrencies, etfs, and indices discover or validate instrument symbols.
  • earnings and earnings_calendar provide company-specific or broad earnings information.
  • dividends, splits, and profile support income analysis, price-history adjustments, and company research.
  • technical_indicator computes one indicator per call, including RSI, SMA, EMA, MACD, Bollinger Bands, ADX, ATR, Stochastic, and CCI.

Limitations and notes

Twelve Data coverage and plan limits apply to the returned data. US indices such as SPX, DJI, IXIC, NDX, and VIX are not in the reference index list; quoting them requires a Grow-or-higher Twelve Data key supplied through _apiKey. Passing a stock ticker to the ETF lookup returns a wrong-instrument-class result rather than ETF data. The gateway and local bridge both depend on network connectivity, and the local bridge's default tool list can include shared meta-tools when configured to do so.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Twelvedata

Twelvedata is an MCP server that connects AI clients to Twelve Data market data. Its main tools retrieve time series, quotes, prices, forex rates, symbol lists, earnings, dividends, splits, profiles, and technical indicators for stocks, ETFs, forex, cryptocurrencies, and supported indices.

Install it through an MCP client by using the hosted URL, or run the npm bridge with `npx -y @pipeworx/mcp-twelvedata`. The bridge forwards requests to the Pipeworx gateway and requires network access.

Yes, Twelvedata works with Cursor through the hosted MCP endpoint. Add `https://gateway.pipeworx.io/twelvedata/mcp` as the server URL in the client configuration.

Authenticate with a platform Twelve Data key, a `_apiKey` request argument where supported, or a `PIPEWORX_API_KEY` for the local npm bridge. Anonymous calls are available initially, with lower daily limits.

Yes, use `technical_indicator` to calculate one indicator per call. Supported examples include RSI, SMA, EMA, MACD, Bollinger Bands, ADX, ATR, Stochastic, and CCI for supported symbols.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTwelvedata AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/twelvedata?style=directory)](https://allmcps.com/mcp/twelvedata)
HTML Embed
<a href="https://allmcps.com/mcp/twelvedata"><img src="https://allmcps.com/api/badge/twelvedata?style=directory" alt="Twelvedata on AllMCPs" /></a>