MetorialDocs

Set up Twelve Data in Metorial for Claude, ChatGPT and Cursor

Share Twelve Data with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools, all read-only.

To give your team Twelve Data in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Twelve Data integration in a Metorial portal, and each person connects with an API key. Agents can retrieve available market prices, OHLCV history, end-of-day closes, currency rates and conversions, company fundamentals, corporate actions, earnings, analyst estimates, and global fund datasets. The integration has 22 tools, all read-only, plus 2 triggers.

What you'll learn

  • How an admin shares Twelve Data in a portal and how each person connects
  • What Twelve Data asks for when you connect, and where to find it
  • How to check the connection with metorial call

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your Twelve Data API key

Admin: share Twelve Data in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Twelve Data. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Choose who gets it

Add the access groups that should see Twelve Data. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Twelve Data integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "twelve data"

Employee: connect Twelve Data

In the portal

Open Twelve Data in the catalog

Sign in to your portal and open Twelve Data. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "twelve data"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Twelve Data connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "twelve data"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Every Twelve Data tool only reads, so the connection is read-only as it is.

Check it worked

metorial list "twelve data"
metorial tools <integration-id>
metorial call <integration-id> list_exchanges -d '{}'

metorial tools lists the 22 tools, minus any you rejected. list_exchanges takes no input. It retrieves a list of available exchanges, optionally filtered by type, name, code, or country.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (22)

  • get_quote: Retrieve the latest available quote for a financial instrument, including current price, daily change, volume, 52-week range, and other key metrics. Needs symbol.
  • get_technical_indicator: Calculate and retrieve technical indicator values for any financial instrument. Needs symbol, interval and indicator.
  • convert_currency: Convert a specified amount from one currency to another using real-time exchange rates. Needs symbol and amount.
  • get_earnings: DEPRECATED — use `get_earnings_history` instead. Needs symbol.
  • search_symbols: Search for financial instruments by name, ticker symbol, or keyword across all supported exchanges and asset types. Needs query.
  • get_financial_statements: Retrieve financial statements for a company: Income Statement, Balance Sheet, and/or Cash Flow Statement. Needs symbol and statementType.
  • get_etf_details: DEPRECATED — use `get_fund_data` instead. Needs symbol.
  • list_exchanges: Retrieve a list of available exchanges, optionally filtered by type, name, code, or country.
  • get_mutual_fund_details: DEPRECATED — use `get_fund_data` instead. Needs symbol.
  • get_time_series: Retrieve historical OHLCV (Open, High, Low, Close, Volume) time series data for any financial instrument including stocks, forex, crypto, ETFs, and indices. Needs symbol and interval.
  • get_exchange_rate: Retrieve the real-time exchange rate between two currencies (forex or cryptocurrency). Needs symbol.
  • get_price: Retrieve the latest available price for one or more financial instruments. Needs symbol.
  • get_analyst_data: Retrieve analyst price targets and revenue estimates for a company. Needs symbol and dataType.
  • get_company_profile: Retrieve comprehensive company profile information including description, sector, industry, CEO, employees, address, website, and logo URL. Needs symbol.
  • get_dividends_and_splits: Retrieve dividend history, stock split history, or both for a given company. Needs symbol and dataType.
  • get_api_usage: Inspect the connected API key’s current credit usage, plan limits, and plan category.
  • get_market_state: Read exchange trading-session state, optionally filtered by exchange, MIC code, or country.
  • get_earnings_history: Retrieve company earnings history, or select the latest or next earnings record.
  • get_fund_data: Retrieve the current global ETF or mutual-fund dataset, preserving summary, composition, performance, and risk sections as returned.
  • get_earnings_calendar: Retrieve earnings events grouped by provider date, with optional date and exchange filters.
  • get_end_of_day_price: Retrieve the latest available end-of-day close, or the close for a specified date.
  • list_technical_indicators: Discover the provider’s supported technical-indicator endpoint keys, descriptions, and parameter metadata before calling get_technical_indicator.

Triggers

Twelve Data has 2 triggers, which fire on events in Twelve Data:

  • inbound_webhook
  • price_change: Polls for price changes on specified financial instruments and emits events with the latest quote data including price, change, and volume.

Next steps