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 Microsoft Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Twelve Data in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
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 + Microsoft Copilot
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 Microsoft Copilot
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.
Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.
- In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
- Enter a Server name (for example
AnythingMCP), a Server description that says what the connector does, and the Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server. - Under authentication, choose API key, set Type to Header and the header name to
X-API-Key, then select Create. - In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
- Try it in the agent's Test pane: ask for something that needs the
Twelve Datatools. - Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.
Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.
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
Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.
What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.
The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.
Next steps
- Connector landing page
- Connect to Claude
- Connect to ChatGPT
- Connect to Cursor
- Connect to Gemini
- Connect to Meta Muse
Was this guide helpful?