Crypto News & Market MCP Server
Fetches latest crypto news from CoinDesk, Cointelegraph, Decrypt, and Bitcoin Magazine via RSS feeds.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Crypto News & Market MCP Serverwhat's the current price of Bitcoin?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🪙 Crypto News & Market MCP Server
MCP Server (Python) สำหรับดึงข้อมูล Crypto จากแหล่ง ฟรีทั้งหมด ออกแบบมาให้ deploy เป็น MCP Online บน Railway แล้วเชื่อมเข้ากับ Claude ได้ทันที
✨ Tools ที่มีให้ใช้งาน
Tool | หน้าที่ | แหล่งข้อมูล | ต้องใช้ key? |
| ราคา / market cap / %เปลี่ยนแปลง 24h | CoinGecko | ❌ |
| ภาพรวมตลาด + Top N เหรียญ + BTC dominance | CoinGecko | ❌ |
| เหรียญกระแสแรงใน 24h | CoinGecko | ❌ |
| ดัชนีความกลัว/โลภ | Alternative.me | ❌ |
| ข่าวล่าสุดจาก CoinDesk/Cointelegraph/Decrypt/Bitcoin Magazine | RSS | ❌ |
| ค้นหา CoinGecko id จากชื่อ/symbol | CoinGecko | ❌ |
| ข่าว + sentiment (votes) | CryptoPanic | ✅ (optional) |
6 ใน 7 tool ทำงานได้ทันทีโดย ไม่ต้องมี API key เลย
Related MCP server: market-data-mcp
📁 โครงสร้างไฟล์
News CRYPTO API/
├── server.py # ตัว MCP server (FastMCP + Streamable HTTP)
├── oauth_provider.py # OAuth 2.1 provider + หน้า login (สำหรับ Claude.ai/Cowork web)
├── requirements.txt # dependencies
├── railway.json # config สำหรับ Railway
├── Procfile # start command สำรอง
├── .python-version # ระบุ Python 3.12 ให้ Nixpacks
├── .env.example # ตัวอย่างตัวแปร env (ทุกตัว optional)
└── .gitignore🧪 1) ทดสอบบนเครื่อง (Local)
# สร้าง virtual env
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS/Linux
pip install -r requirements.txt
python server.pyServer จะรันที่ http://localhost:8000/mcp
ทดสอบด้วย MCP Inspector:
npx @modelcontextprotocol/inspector
# ใส่ URL: http://localhost:8000/mcp | Transport: Streamable HTTP🚂 2) Deploy ขึ้น Railway
วิธีที่แนะนำ: ผ่าน GitHub
push โค้ดทั้งหมดนี้ขึ้น GitHub repo
ไปที่ railway.app → New Project → Deploy from GitHub repo
เลือก repo นี้ → Railway จะอ่าน
railway.json+requirements.txtแล้ว build อัตโนมัติไปที่ tab Settings → Networking → Generate Domain เพื่อเปิด public URL
(ถ้าจะใช้ CryptoPanic) ไปที่ tab Variables เพิ่ม
CRYPTOPANIC_TOKEN
Railway จะ inject ตัวแปร
PORTให้เอง — โค้ดอ่านค่านี้อยู่แล้ว ไม่ต้องตั้งเพิ่ม
วิธีผ่าน CLI
npm i -g @railway/cli
railway login
railway init
railway up
railway domain # เปิด public URLหลัง deploy จะได้ URL ประมาณ:
https://your-app.up.railway.app/mcp🔌 3) เชื่อมต่อกับ Claude
Claude Code (CLI)
# ไม่ได้ล็อก token
claude mcp add --transport http crypto-news https://your-app.up.railway.app/mcp
# ถ้าล็อกด้วย MCP_BEARER_TOKEN ให้ส่ง header ไปด้วย
claude mcp add --transport http crypto-news https://your-app.up.railway.app/mcp \
--header "Authorization: Bearer <YOUR_TOKEN>"Claude.ai / Cowork (Web) — ผ่าน OAuth 2.1
หน้า web รองรับเฉพาะ OAuth (ไม่รองรับ static token) — ต้องตั้งค่า OAUTH_LOGIN_PASSWORD ก่อน
Settings → Connectors → Add custom connector
ใส่ URL:
https://your-app.up.railway.app/mcp(ไม่ต้องกรอก Client ID/Secret)กด connect → ระบบจะเปิดหน้า login ของ server → กรอก
OAUTH_LOGIN_PASSWORDกด "อนุญาต & เชื่อมต่อ" → Claude จะได้รับ token อัตโนมัติ แล้วใช้งานได้เลย เช่น:
"ราคา BTC, ETH, SOL ตอนนี้เท่าไหร่ (อ้างอิง THB)"
"ภาพรวมตลาด crypto วันนี้เป็นยังไง"
"ดัชนี Fear & Greed ตอนนี้"
"ข่าว crypto ล่าสุด 5 ข่าว"
วิธีนี้เป็น OAuth 2.1 เต็มรูปแบบ (Dynamic Client Registration + PKCE) ที่ MCP SDK จัดการให้ การล็อกที่แท้จริงอยู่ที่หน้า login — ใครไม่รู้ password ก็เชื่อมต่อไม่ได้
🔑 ตัวแปร Environment (ทุกตัว optional)
ตัวแปร | ใช้ทำอะไร | ไม่ใส่จะเป็นยังไง |
| เปิด OAuth 2.1 (สำหรับ Claude.ai/Cowork web) — รหัสที่กรอกหน้า login | ไม่เปิด OAuth |
| base URL สาธารณะ (OAuth issuer) | บน Railway อ่านจาก |
| ล็อกแบบ Bearer (เหมาะกับ CLI) — ทำงานคู่กับ OAuth ได้ | ไม่เปิด bearer |
| เพิ่ม rate limit CoinGecko | ใช้ได้ปกติ แต่ rate limit ต่ำกว่า |
| เปิด tool | tool นี้จะแจ้งให้ไปสมัคร (tool อื่นใช้ได้หมด) |
| พอร์ตที่รัน | Railway ตั้งให้เอง / local = 8000 |
เลือกโหมด auth อัตโนมัติ: ตั้ง
OAUTH_LOGIN_PASSWORD→ OAuth · ตั้งแค่MCP_BEARER_TOKEN→ Bearer · ไม่ตั้งอะไร → Open ตั้งทั้งคู่ได้: web ใช้ OAuth, CLI ใช้ static token เดิม (ทำงานพร้อมกัน)
⚠️ หมายเหตุ
ความปลอดภัย: ใช้บน web → ตั้ง
OAUTH_LOGIN_PASSWORD(OAuth 2.1, กั้นด้วยหน้า login) · ใช้บน CLI → ตั้งMCP_BEARER_TOKEN· request ที่ไม่มี/ผิด credential จะได้ HTTP 401 ถ้าไม่ตั้งอะไรเลย server จะเปิดให้ใครก็เรียกได้ (ข้อมูล read-only สาธารณะ เสี่ยงต่ำ แต่ควรล็อกไว้)OAuth state เป็น in-memory: เมื่อ Railway redeploy/restart token จะหาย ต้อง authorize ใหม่บน web (ยอมรับได้สำหรับ connector ส่วนตัว)
Rate limit: CoinGecko free มีโควต้าจำกัด ถ้าเจอ error 429 ให้เว้นช่วงแล้วลองใหม่ หรือใส่
COINGECKO_DEMO_KEYข้อมูลทั้งหมดเพื่อการศึกษาเท่านั้น ไม่ใช่คำชี้ชวนในการลงทุน
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Soonthorn6996/Crypto-NEWS-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server