Skip to main content
Glama

Twelve Data MCP Server

Official
by twelvedata

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
apikeyYesYour Twelve Data API key
YOUR_TD_API_KEYNoYour Twelve Data API key
YOUR_OPEN_AI_APIKEYNoYour OpenAI API key for the u-tool feature

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
GetTimeSeries

This API call returns meta and time series for the requested instrument. Metaobject consists of general information about the requested symbol. Time series is the array of objects ordered by time descending with Open, High, Low, Close prices. Non-currency instruments also include volume information.

GetPrice

This endpoint is a lightweight method that allows retrieving only the real-time price of the selected instrument.

GetQuote

Quote endpoint is an efficient method to retrieve the latest quote of the selected instrument.

GetTimeSeriesRsi

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements, helping traders identify potential overbought or oversold conditions and trend reversals.

GetTimeSeriesMacd

The Moving Average Convergence Divergence (MACD) is a momentum indicator that measures the difference between two moving averages, with a signal line used to identify potential trend reversals and trading opportunities.

GetStocks

This API call returns an array of symbols available at Twelve Data API. This list is updated daily.

GetTimeSeriesBBands

Bollinger Bands (BBANDS) are volatility bands placed above and below a moving average, measuring price volatility and helping traders identify potential overbought or oversold conditions.

GetExchangeRate

This API call returns real-time exchange rate for currency pair. Works with forex and cryptocurrency.

GetTimeSeriesEma

The Exponential Moving Average (EMA) is a weighted moving average that gives more importance to recent price data, making it more responsive to new information and helping traders identify trends and potential entry or exit points.

GetStatistics

Returns current overview of companys main statistics including valuation metrics and financials.

GetProfile

Returns general information about the company.

GetMarketState

Check the state of all available exchanges, time to open, and time to close. Returns all available stock exchanges by default.

GetSymbolSearch

This method helps to find the best matching symbol. It can be used as the base for custom lookups. The response is returned in descending order, with the most relevant instrument at the beginning.

GetEod

This endpoint returns the latest End of Day (EOD) price of an instrument.

GetTimeSeriesSma

The Simple Moving Average (SMA) is a smoothing indicator that calculates the average price of a security over a specified period, helping traders identify trends and potential support or resistance levels.

GetForexPairs

This API call returns an array of forex pairs available at Twelve Data API. This list is updated daily.

GetTimeSeriesAtr

The Average True Range (ATR) is a volatility indicator that measures the average range of price movement over a specified period, helping traders assess market volatility.

GetDividends

Returns the amount of dividends paid out for the last 10+ years.

GetCryptocurrencies

This API call returns an array of cryptocurrencies available at Twelve Data API. This list is updated daily.

GetEarnings

This API call returns earnings data for a given company, including EPS estimate and EPS actual. Earnings are available for complete company history.

GetCurrencyConversion

This API call returns real-time exchange rate and converted amount for currency pair. Works with forex and cryptocurrency.

GetExchanges

This API call returns an array of stock or ETF exchanges available at Twelve Data API. This list is updated daily.

GetSplits

Returns the date and the split factor of shares of the company for the last 10+ years.

GetEarliestTimestamp

This method returns the first available DateTime for a given instrument at the specific interval.

GetEtf

This API call returns an array of ETFs available at Twelve Data API. This list is updated daily.

GetCommodities

This API call returns an array of commodity pairs available at Twelve Data API. This list is updated daily.

GetFunds

This API call returns an array of funds available at Twelve Data API. This list is updated daily.

GetIpoCalendar

This endpoint returns past, today, or upcoming IPOs.

GetCryptocurrencyExchanges

This API call returns an array of cryptocurrency exchanges available at Twelve Data API. This list is updated daily.

GetTimeSeriesCross

This API call returns meta and cross rate time series for the requested instruments. Metaobject consists of general information about the requested symbol. Time series is the array of objects ordered by time descending with Open, High, Low, Close prices. Works with stocks, forex and cryptocurrency.

GetCrossListings

This API call returns an array of cross listed symbols for a specified instrument. Cross listings are the same securities listed on different exchanges.

GetTechnicalIndicators

This API call returns an array of objects with available technical indicators. This endpoint might be used to build an abstract interface to make more convenient API calls from the application.

GetApiUsage

This endpoint will provide information on the current usage of Twelve Data API.

GetLogo

Returns a logo of company, cryptocurrency, or forex pair.

GetTimeSeriesAdx

The Average Directional Index (ADX) measures the strength of a trend, regardless of direction, helping traders determine if a market is trending or ranging.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twelvedata/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server