# Pyth Pro MCP Server

Connects an AI assistant to Pyth price feeds: crypto, equities, FX and commodities. Useful when you want quotes or candles without leaving the chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 249
- Author: pyth-network
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pyth-network/pyth-crosschain/tree/HEAD/apps/mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/pyth-pro-mcp-server

## What it does

The server lives at `https://mcp.pyth.network/mcp` and speaks Streamable HTTP. Six tools ship with it: feed search, latest price, a point-in-time snapshot, every update inside a window of up to 60 seconds, and OHLC candles. One more tool turns a date string into a Unix timestamp.

Every user supplies a Pyth Pro token. Without one only `get_symbols` and the date converter respond; price calls need `Authorization: Bearer` in the header or an `access_token` argument. A token sent with a single call overrides the configured one. A 401 means the key is bad or expired, a 403 means your plan does not cover that feed.

Prices come back only for feeds in the `stable` state. Anything that returns no price lands in `missing_feed_ids` — that covers `beta` and `coming_soon` feeds, plus channels faster than a feed's `min_channel`. Start with `get_symbols` to see what exists. Price tools take either the full symbol `Crypto.BTC/USD` or the bare pair `BTC/USD`.

## Requirements
- Remote server: `https://mcp.pyth.network/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://mcp.pyth.network/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add mcp --url https://mcp.pyth.network/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://mcp.pyth.network/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://mcp.pyth.network/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://mcp.pyth.network/mcp
```

## When to use it
- check the live price of bitcoin or gold inside the chat
- pull OHLC candles for a chart or a quick analysis
- compare two assets at the same moment
- discover which feeds Pyth carries for an asset class
- turn a date into a Unix timestamp for a range query

## Example prompts
- What is the current price of Bitcoin?
- Compare gold and silver prices right now

## Similar
- [pyth-price-feeds](https://affpapa.org/en/nevibecode/skills/pyth-price-feeds.md) — skill · 444 installs
- [coingecko-api](https://affpapa.org/en/nevibecode/skills/coingecko-api.md) — skill · 441 installs
- [TickDB Market Data](https://affpapa.org/en/nevibecode/mcp/tickdb-market-data.md) — MCP server · ★ 893
- [stock-scanner-mcp](https://affpapa.org/en/nevibecode/mcp/stock-scanner-mcp.md) — MCP server · ★ 8
- [mcp](https://affpapa.org/en/nevibecode/mcp/siftingio-mcp.md) — MCP server · ★ 1
- [blackforge](https://affpapa.org/en/nevibecode/skills/blackforge.md) — skill · 8200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
