Pyth Pro MCP Server
The official Pyth Pro MCP server: an agent gets real-time and historical prices for crypto, equities, FX and commodities.
- 255 ★ on the repository
- Last commit
Minimal access
Why this level
- Reads market prices and trades nothing; the Pyth Pro token goes to the Pyth server in a header.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/pyth-pro-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- Reads market prices and trades nothing; the Pyth Pro token goes to the Pyth server in a header.
This is third-party code. Review the repository files before installing.
What it does
The Pyth Pro MCP Server gives assistants market data from the Pyth network: more than five hundred price feeds across crypto, equities, FX, commodities and other assets. The hosted server runs at `https://mcp.pyth.network/mcp` over Streamable HTTP, and each user brings their own Pyth Pro access token in an `Authorization: Bearer` header. There are six tools. `get_symbols` searches and lists feeds by asset type, `get_latest_price` returns current prices, `get_historical_price` a snapshot at a point in time, `get_price_range` every update in a window of up to 60 seconds, `get_candlestick_data` OHLC candles for charts, and `convert_date_to_timestamp` turns dates into Unix timestamps. The repository adds skills for condition alerts, cross-asset comparison, data export, funding rate monitoring and currency conversion.
Who it is for. Analysts and developers who need accurate market prices for reports, charts and checks right in a conversation with an agent.
Good fit when
- An agent shows the ETH/USD price history for the last 24 hours.
- Gold and silver have to be compared on current quotes.
- A chart needs daily candles for a stock over a week.
- Every BTC/USD update in the 30 seconds after a given moment has to be reviewed.
Not a fit when
- You need trades and orders, while the server only returns data.
- You have no Pyth Pro token, and prices are fetched only with a token.
- The data window is wider than 60 seconds for all updates at once.
Example request
Show the BTC/USD price now, then the ETH/USD history for the last 24 hours and compare gold with silver.MCP
- Transport
- http
- Authentication
- key is optional
Environment variables
PYTH_PRO_ACCESS_TOKENsecret- Pyth Pro token for a local stdio server.
Limitations
Each user brings their own Pyth Pro token: it is required for `get_latest_price`, `get_historical_price`, `get_price_range` and `get_candlestick_data`, while `get_symbols` works without it. A 401 means the token is invalid or expired, and 403 means the plan does not include the feed. Prices return only for feeds in the `stable` state, and the rest are listed in `missing_feed_ids`. The token sits in plain text in the client configuration, so keep it out of repositories. The server does not trade and gives no advice.
How to disable. Remove the pyth entry from the client MCP configuration (`claude mcp remove pyth`) and revoke the access token in the Pyth account. Do not leave the token in shared configuration files.
FAQ
How do I connect Pyth to Claude Code?
Run `claude mcp add --transport http pyth https://mcp.pyth.network/mcp --header "Authorization: Bearer YOUR_TOKEN"`. With `--scope user` the server is available in every project.
Where do I get a token?
A Pyth Pro token is issued when you acquire API access on docs.pyth.network. The server has no key of its own, and the hosted version uses only the key the user sends.
How do I connect it to Claude Desktop?
Add `https://mcp.pyth.network/mcp` as a custom connector or use the `mcp-remote` bridge with the header in `env`. `mcp-remote` is third-party and handles your key.
Does the server accept pairs with no prefix?
Yes, `BTC/USD` resolves to the live spot feed when there is one, otherwise to the only remaining match. Full symbols such as `Crypto.BTC/USD` work too.
How do I pass the token with no header?
Through the `access_token` tool parameter if the client cannot send headers. The assistant asks for it when no token is configured.
Discussion
No questions or reviews yet.
Related
MCP serversFinancial Datasets MCP
Financial Datasets MCP Server
An MCP server for the Financial Datasets API: company financials, stock and crypto prices and news for the agent
An MCP server for market data and technical analysis: quotes, indicators, screeners and backtesting for stocks, crypto, forex and futures
Twelve Data MCP connects an assistant to a market data API: quotes, historical prices, indicators, fundamentals and company news.
CoinPaprika MCP server: prices, tickers, exchanges and OHLCV candles for 12,000+ cryptocurrencies, free tier with no key
MOEX MCP Server 2026
moex_mcp_server_2026
Python MCP server for Moscow Exchange quotes: share price, history, security info, top gainers and losers, dividends and portfolio value
MCP server that gives an agent Yahoo Finance data by ticker: price history, financial statements and option chains
README in short
The server sits in the `apps/mcp` folder of the pyth-crosschain monorepo and is hosted at `mcp.pyth.network`. The same folder holds skills for typical price tasks.