Summary
Market data for AI agents from Twelve Data: real-time quotes and prices, historical time series, exchange rates and currency conversion, symbol search, stock, forex and crypto lists, exchanges and market hours, and RSI, MACD, SMA, EMA and Bollinger Bands. 19 read-only tools, API key.
Guided setup
Connect Twelve Data to ChatGPT in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Twelve Data in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.
Try asking
Example prompts for Twelve Data
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Twelve Data, paste your credentials, mint an MCP API key — done. No Docker, no
git clone, no local server.
Twelve Data + ChatGPT
Market data for AI agents from Twelve Data: real-time quotes and prices, historical time series, exchange rates and currency conversion, symbol search, stock, forex and crypto lists, exchanges and market hours, and RSI, MACD, SMA, EMA and Bollinger Bands. 19 read-only tools, API key.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
TWELVE_DATA_API_KEY
Step 1 — Get credentials
- Create a free account at https://twelvedata.com and open API Keys in the dashboard.
- Copy the key into
TWELVE_DATA_API_KEY. It is sent in theAuthorization: apikeyheader, so it never appears in a URL or a log. - Resolve a name into a symbol with
twelve_data_search_symbols(for example Siemens to SIE on XETR), then calltwelve_data_get_price,twelve_data_get_quoteortwelve_data_get_time_series. For currencies usetwelve_data_get_exchange_rateortwelve_data_convert_currencywith a pair such as EUR/USD.
The free Basic plan allows 8 API credits per minute and 800 per day; most tools cost 1 credit per symbol. Above that the API answers 429 until the next minute. Free plans cover US equities, forex and crypto; many non-US exchanges and fundamentals need a paid plan and answer 403. twelve_data_get_api_usage shows your usage against the plan limits. Prices come back as strings, newest first unless order is asc.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in ChatGPT
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.
- Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
- Enter a name, e.g. Name:
Twelve Data. - Under Connection, enter the Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Available tools
| Tool | What it does |
|---|---|
twelve_data_get_api_usage | Show the requests made in the last minute and today, the plan's per-minute and daily limits, and the plan category |
twelve_data_get_quote | Real-time quote for one instrument: name, exchange, currency, open, high, low, close, volume, previous close, change and percent change… |
twelve_data_get_price | Latest traded price of one instrument as a single number |
twelve_data_get_time_series | Historical OHLCV bars for one instrument at an interval (1min to 1month): meta (symbol, currency, exchange, timezone) and values with… |
twelve_data_get_eod | Closing price of the last trading day (or of a given date) for one instrument, with exchange, currency and datetime. 1 credit per symbol |
twelve_data_get_exchange_rate | Real-time exchange rate of a forex or crypto pair, for example EUR/USD or BTC/ETH, with its timestamp |
twelve_data_convert_currency | Convert an amount from the base to the quote currency of a forex or crypto pair at the real-time (or a historical) rate |
twelve_data_search_symbols | Find instruments by ticker or name, ordered by relevance: symbol, instrument name, exchange, MIC, currency, country and type |
twelve_data_list_stocks | List stock symbols covered by Twelve Data, updated daily: symbol, name, currency, exchange, MIC, country, type |
twelve_data_list_forex_pairs | List the forex pairs available, updated daily: symbol (for example EUR/USD), currency group, base and quote currency |
twelve_data_list_cryptocurrencies | List the cryptocurrency pairs available, updated daily: symbol (for example BTC/USD), the exchanges that quote it, base and quote currency |
twelve_data_list_exchanges | List equity exchanges: name, MIC code, country, timezone and access plan |
twelve_data_get_earliest_timestamp | Return the earliest date and time for which data exists for an instrument at an interval |
twelve_data_get_market_state | Show whether stock exchanges are open now, with time to open, time to close and time since open |
twelve_data_get_rsi | Relative Strength Index (0 to 100) series for an instrument; above 70 is commonly read as overbought, below 30 as oversold |
twelve_data_get_macd | Moving Average Convergence Divergence series for an instrument: macd line, signal line and histogram per datetime, to spot trend changes. 1… |
twelve_data_get_sma | Simple Moving Average series for an instrument over time_period bars, for trend direction and support levels. 1 credit per symbol |
twelve_data_get_ema | Exponential Moving Average series for an instrument over time_period bars; reacts faster to recent prices than the SMA. 1 credit per symbol |
twelve_data_get_bbands | Bollinger Bands series for an instrument: upper band, middle band (moving average) and lower band per datetime, to judge volatility. 1… |
FAQ
Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.
Next steps
- Connector landing page
- Connect to Claude
- Connect to Cursor
- Connect to Gemini
- Connect to Meta Muse
- Connect to Microsoft Copilot
Was this guide helpful?