500개 이상의 암호화폐, 주식, FX 및 원자재 자산에 대한 실시간 및 과거 시장 데이터를 AI 어시스턴트에게 제공합니다.
다른 이름 pyth-network/pyth-crosschain, mcp
- 스타
- 255
- Tools
- 6
- 다운로드, 30일
- —
- 최신 버전
- 0.3.2
- 마지막 커밋
- 2026년 11월 13일
- 라이선스
- —
Pyth Pro MCP란?
Pyth Pro은(는) MCP server입니다. 500개 이상의 암호화폐, 주식, FX 및 원자재 자산에 대한 실시간 및 과거 시장 데이터를 AI 어시스턴트에게 제공합니다. 6개 도구를 제공합니다. 예: get_symbols, get_latest_price, get_historical_price.
프로젝트 README에서 생성된 요약
Pyth Pro MCP server 정보
Pyth Pro MCP Server는 AI 어시스턴트에게 500개 이상의 가격 피드에 대한 실시간 및 과거 시장 데이터 접근 권한을 제공합니다. 여기에는 암호화폐, 주식, FX 및 원자재 전반의 자산이 포함됩니다. 개발자는 원격 HTTP 엔드포인트에 연결하거나 로컬 stdio 버전을 실행하여 Claude Code, Claude Desktop, Cursor, VS Code를 포함한 다양한 환경에 이 서버를 통합할 수 있습니다.
대부분의 기능을 사용하려면 사용자가 Authorization Bearer 헤더 또는 환경 변수를 통해 직접 Pyth Pro API 키를 제공해야 합니다. 이 서버는 현재 가치 조회를 위한 get_latest_price, 특정 시점의 스냅샷을 위한 get_historical_price, OHLC 바를 위한 get_candlestick_data와 같은 특정 도구를 포함합니다. 또한 사용 가능한 피드를 찾는 get_symbols와 시간 형식을 위한 convert_date_to_timestamp도 제공합니다. 이러한 설정을 통해 AI는 채팅 인터페이스 내에서 직접 복잡한 금융 분석 및 시장 모니터링을 수행할 수 있습니다.
활용 사례
- 1현재 자산 가격 조회특정 암호화폐 또는 주식의 실시간 시장 가치를 찾도록 어시스턴트에게 요청합니다.
- 2과거 가격 추세 분석특정 기간 동안 자산 가격이 어떻게 변했는지 요약을 요청합니다.
- 3금융 차트 생성기술적 분석 또는 차트 작성을 위해 AI에게 캔들스틱 데이터를 가져오도록 지시합니다.
- 4사용 가능한 시장 피드 탐색Pyth 네트워크 내에서 특정 상품 유형 또는 사용 가능한 선물 계약을 검색합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Pyth Pro MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Pyth Pro MCP 설치
$ claude mcp add --transport http mcp https://mcp.pyth.network/mcpCursor에 Pyth Pro MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://mcp.pyth.network/mcp"
}
}
}VS Code에 Pyth Pro MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.pyth.network/mcp"
}
}
}VS Code CLI에 Pyth Pro MCP 설치
$ code --add-mcp '{"name":"mcp","type":"http","url":"https://mcp.pyth.network/mcp"}'Codex에 Pyth Pro MCP 설치
$ codex mcp add mcp --url https://mcp.pyth.network/mcpCodex config.toml에 Pyth Pro MCP 설치
~/.codex/config.toml
[mcp_servers.mcp] url = "https://mcp.pyth.network/mcp"
Gemini CLI에 Pyth Pro MCP 설치
$ gemini mcp add -s user --transport http mcp https://mcp.pyth.network/mcpGemini settings.json에 Pyth Pro MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"url": "https://mcp.pyth.network/mcp",
"type": "http"
}
}
}Pyth Pro MCP 도구 6
README에서 감지됨get_symbolsget_latest_priceget_historical_priceget_price_rangeget_candlestick_dataconvert_date_to_timestamp
| get_symbols | — | |
| get_latest_price | — | |
| get_historical_price | — | |
| get_price_range | — | |
| get_candlestick_data | — | |
| convert_date_to_timestamp | — |
구성
PYTH_AUTH_HEADERPYTH_PRO_ACCESS_TOKEN
| 이름 | 설명 | 유형 |
|---|---|---|
| PYTH_AUTH_HEADER | — | |
| PYTH_PRO_ACCESS_TOKEN | — |
자동 검사
2026년 11월 12일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)No license결함 발견
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 원격 엔드포인트가 HTTPS 사용통과
- 파괴적인 도구에 라벨 표시됨통과
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
README
GitHub에서 보기Pyth Pro MCP Server
MCP server that gives AI assistants access to real-time and historical market data from Pyth — 500+ price feeds across crypto, equities, FX, commodities, and more.
Hosted at https://mcp.pyth.network/mcp
Quick Start
Each snippet sends your own Pyth Pro API key as an Authorization: Bearer header, so you set it once (see Access Token).
Claude Code
claude mcp add --transport http pyth https://mcp.pyth.network/mcp --header "Authorization: Bearer YOUR_TOKEN"
This adds Pyth only to the folder you run the command in. To use it in every project, add --scope user; any project you open can then call the price tools with your key.
Claude Desktop
Claude Desktop connects to remote servers as custom connectors, which can send your key as a header only where Anthropic's request-headers beta is enabled. To set the key once on any plan, bridge with mcp-remote (needs Node.js) in claude_desktop_config.json (Claude menu bar → Settings… → Developer → Edit Config):
{
"mcpServers": {
"pyth": {
"command": "npx",
"args": ["-y", "mcp-remote@0.14.3", "https://mcp.pyth.network/mcp", "--header", "Authorization:${PYTH_AUTH_HEADER}"],
"env": { "PYTH_AUTH_HEADER": "Bearer YOUR_TOKEN" }
}
}
}
mcp-remote is a community package, not maintained by Pyth, and it handles your key; the snippet pins the version we tested.
Or add https://mcp.pyth.network/mcp as a custom connector: on Free, Pro or Max under Customize → Connectors → Add custom connector; on Team or Enterprise an Owner adds it under Organization settings → Connectors → Add → Custom, and members click Connect under Customize → Connectors. With the request-headers beta, choose No sign-in and add an authorization header Bearer YOUR_TOKEN (on Team and Enterprise plans the Owner sets it for the whole organization, so everyone shares that key); otherwise pass the key per call.
Cursor
Add to ~/.cursor/mcp.json (global, so the key stays out of your repo):
{
"mcpServers": {
"pyth": {
"url": "https://mcp.pyth.network/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
To keep the key out of the file, write "Bearer ${env:PYTH_PRO_ACCESS_TOKEN}" and set that variable in your shell profile or system environment.
VS Code
Add to ~/.copilot/mcp-config.json, a user-level file that VS Code's chat and its Agent Host sessions both read. It holds your key in plain text, so never copy it into a repository. (VS Code's ${input:...} prompt avoids that, but Agent Host sessions do not receive .vscode/mcp.json servers that use it.)
{
"mcpServers": {
"pyth": {
"type": "http",
"url": "https://mcp.pyth.network/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" },
"tools": ["*"]
}
}
}
Other Clients
Any MCP client that supports Streamable HTTP: connect to https://mcp.pyth.network/mcp with the header Authorization: Bearer YOUR_TOKEN.
Tools
| Tool | Description | Auth Required |
|---|---|---|
get_symbols |
Search and list price feeds; filter by asset type, instrument type or futures chain | Optional (adds Pro-only feeds and an entitled flag per feed) |
get_latest_price |
Real-time prices for one or more feeds | Yes (access token) |
get_historical_price |
Point-in-time price snapshots | Yes (access token) |
get_price_range |
Every price update within a window of up to 60 seconds | Yes (access token) |
get_candlestick_data |
OHLC candlestick bars for charting and analysis | Yes (access token) |
convert_date_to_timestamp |
Convert date strings to Unix timestamps | No |
Tip: Use
get_symbolsfirst to discover available feeds. Price tools accept full symbols (Crypto.BTC/USD) or bare pairs (BTC/USD). A bare pair resolves to the live spot feed when there is one, otherwise to the only remaining match (e.g.BTC/USDT→ the Binance funding-rate feed); if several remain, the error lists them.
Access Token
Every user brings their own Pyth Pro access token. It is required for get_latest_price, get_historical_price, get_price_range and get_candlestick_data. get_symbols works without one, but with a token it also lists feeds visible only to Pro keys and marks each feed entitled: true/false (whether your token can query it right now). convert_date_to_timestamp never needs one.
- Get a token: Acquire an API key
- Give the server your token in one of three ways. A token passed on a call wins over a configured one.
- Configure it once for the hosted server: send it as an
Authorization: Bearerheader from your MCP client (see Quick Start), so your assistant does not handle it on every call. - Configure it once for a local stdio server: set
PYTH_PRO_ACCESS_TOKENin the server'senvblock in your client config (see Local stdio config). - Per call: the
access_tokentool parameter. Your assistant asks for it when no token is configured. Clients that cannot send headers (e.g. Claude Desktop custom connectors without the request-headers beta) use this.
- Configure it once for the hosted server: send it as an
- The server never has a key of its own: the hosted server ignores
PYTH_PRO_ACCESS_TOKENin its own environment and only uses the key each user sends. - A 401 means the token is invalid or expired. A 403 means the token is valid but your plan is not entitled to that feed; the error names the entitlement group required.
- Only feeds in state
stablereturn prices. Requested feeds that come back without a price (e.g.betaorcoming_soonfeeds, or a channel faster than the feed'smin_channel) are listed inmissing_feed_ids.
Example Queries
Try these with any connected AI assistant:
- "What's the current price of Bitcoin?"
- "Show me the ETH/USD price history for the last 24 hours"
- "Compare the prices of gold and silver right now"
- "Get daily candlestick data for AAPL over the past week"
- "What crypto price feeds are available on Pyth?"
- "Show every BTC/USD price update in the 30 seconds after 14:30 UTC today"
- "Which VIX futures contracts does Pyth have?"
Local Development
For contributors working on the MCP server itself.
Build
pnpm --filter @pythnetwork/mcp build
MCP Inspector
Run the inspector to interactively test tools:
npx @modelcontextprotocol/inspector --cli -- pnpm --filter @pythnetwork/mcp start:stdio:dev
Local stdio config
To connect a client to a local build via stdio:
{
"mcpServers": {
"pyth-mcp": {
"command": "node",
"args": ["<path-to-repo>/apps/mcp/dist/index.js"],
"env": { "PYTH_PRO_ACCESS_TOKEN": "YOUR_TOKEN" }
}
}
}
Environment Variables
| Variable | Default | Description |
|---|---|---|
PYTH_CHANNEL |
fixed_rate@200ms |
Default price channel: real_time, fixed_rate@50ms, fixed_rate@200ms or fixed_rate@1000ms |
PYTH_LOG_LEVEL |
info |
Log level (debug/info/warn/error) |
PYTH_REQUEST_TIMEOUT_MS |
10000 |
HTTP request timeout |
PYTH_PRO_ACCESS_TOKEN |
— | Your own token, stdio only. Ignored by the HTTP server. |
Links
Pyth Pro MCP 질문
Pyth Pro MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http mcp https://mcp.pyth.network/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Pyth Pro MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Pyth Pro MCP는 어떤 도구를 제공하나요?
6개 도구를 제공합니다. 예: get_symbols, get_latest_price, get_historical_price, get_price_range, get_candlestick_data.
서버를 사용하려면 API 키가 필요한가요?
네, 심볼 검색은 선택 사항이지만 최신 가격, 과거 가격 또는 캔들스틱 가격 조회와 같은 대부분의 도구를 사용하려면 액세스 토큰이 필요합니다.
사용 가능한 가격 피드는 어떻게 확인할 수 있나요?
get_symbols 도구를 사용하여 사용 가능한 가격 피드를 검색하고 목록을 확인할 수 있으며, 자산 또는 상품 유형별로 필터링할 수 있습니다.
Claude Desktop에서 사용할 수 있나요?
네, 커스텀 커넥터를 사용하거나 mcp-remote 브릿지를 통해 인증 헤더를 전달하여 연결할 수 있습니다.