DexSQL
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
Crypto market tools for agents. Free prices and Fear & Greed; paid tools in USDC on Base via x402.หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 0/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 8/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 20/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 5/5 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง Crypto Market ให้หน่อย ทำตาม https://mcp.popnx.com/i/gojisatoshi888-crypto-market.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (2-31-102-176.sslip.io) · ✓ ตรวจคำสั่งแล้ว 15 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม
CustomizeConnectors
คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue
Crypto Markethttps://2-31-102-176.sslip.io/mcpกด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add
+ConnectorsCrypto Market
ใช้ Crypto Market บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Crypto Market หรือมีชื่อเครื่องมือของ Crypto Market ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ ChatGPT ได้ ขึ้นกับแผน
MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น
Plugins+Add custom MCP server
ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin
Crypto Markethttps://2-31-102-176.sslip.io/mcpเปิดแชตใหม่แล้วเลือก Crypto Market จากรายการปลั๊กอินก่อนพิมพ์
ใช้ Crypto Market บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า ChatGPT บอกว่ากำลังใช้ Crypto Market หรือมีชื่อเครื่องมือของ Crypto Market ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Claude Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
claude mcp add --transport http --scope user crypto-market https://2-31-102-176.sslip.io/mcpต้องเห็น Crypto Market ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ใช้ Crypto Market บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Crypto Market หรือมีชื่อเครื่องมือของ Crypto Market ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ Crypto Market บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Crypto Market หรือมีชื่อเครื่องมือของ Crypto Market ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ Crypto Market บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Crypto Market หรือมีชื่อเครื่องมือของ Crypto Market ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ
https://2-31-102-176.sslip.io/mcpค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
Claude Code
claude mcp add --transport http --scope user crypto-market https://2-31-102-176.sslip.io/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"crypto-market": {
"url": "https://2-31-102-176.sslip.io/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"crypto-market": {
"type": "http",
"url": "https://2-31-102-176.sslip.io/mcp"
}
}
}X-Client-Id HTTP headerคำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ต่อผ่านคลาวด์ได้ใน
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 15 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน
get_priceLive USD prices and 24-hour changes from CoinGecko. Pass tickers as a comma-separated string, for example BTC,ETH,SOL. CoinGecko ids such as bitcoin also work. Free, no payment.
fear_greedCurrent Crypto Fear & Greed Index (0-100) from alternative.me. Free, no payment.
top_moversBiggest 24-hour gainers and losers from CoinGecko's top 250 by market cap. Coins under min_volume_usd, with a tiny volume-to-market-cap ratio, or with an extreme move on low liquidity are marked suspicious and, by default, listed in filtered_out instead of the headline lists. Dup
funding_ratesPerpetual futures funding rates. Pass tickers such as BTC,ETH,SOL. Tries Binance, then Bybit, then OKX, and reports which source answered. Paid tool: $0.005 USDC per call via x402 on eip155:8453. The first few calls each UTC day are free; after that an unpaid call returns Payment
market_briefShort plain-English brief from live prices, filtered movers, funding, and Fear & Greed. InferHub writes 5-8 sentences (max_tokens 800). Needs INFERHUB_API_KEY. Returns the brief and the raw data. Paid tool: $0.03 USDC per call via x402 on eip155:8453. The first few calls each UTC
rug_riskRug-pull / honeypot score from 0 to 100 using GoPlus, DexScreener, and RugCheck on Solana. chain is ethereum, bsc, base, or solana (eth, bnb, and sol also work). Trusted tokens still list issuer-style flags but those flags do not add points. include_summary adds an InferHub parag
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 19 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub gojisatoshi888 ซึ่งเป็นเจ้าของ repo
มีการแก้โค้ดล่าสุด 4 วันที่ผ่านมา
ใช้ MIT
ตอบกลับใน 278 ms (HTTP 200)
ไม่ต้องล็อกอิน
อ่านคำอธิบายเครื่องมือ 6 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/gojisatoshi888-crypto-market)ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
ยังไม่มีรีวิว
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 5 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด 4 วันที่ผ่านมา และส่งรุ่นล่าสุด (1.1.0) เข้า registry 4 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)
ในหมวดเดียวกันมี DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.
Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS
Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.
| ตัวนี้ Crypto Market | DexSQL | PayRam | DexPaprika | Alchemy MCP Server | X402 List MCP | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ต้องลงในเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | มีทั้งบนคลาวด์และแบบลงเครื่อง |
| ต้องใส่คีย์ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| ผลตรวจเบื้องต้น | 5/5 | 2/3 | 3/4 | 4/4 | 4/4 | 5/5 |
| สัญญาอนุญาต | MIT | NOASSERTION | – | MIT | MIT | MIT |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol server for crypto market data. It runs over stdio for local clients, and over Streamable HTTP at /mcp when you host it. Paid tools use x402 (USDC on Base). Free tools never ask for payment.
Hosted endpoint (Base mainnet): https://2-31-102-176.sslip.io/mcp
Official registry name: io.github.gojisatoshi888/crypto-market. Each client gets 3 free paid-tool calls per UTC day. After that, paid tools require a USDC payment on Base via x402 (see How an agent pays). get_price and fear_greed stay free.
| Tool | What it returns | Default price |
|---|---|---|
get_price(symbols="BTC,ETH") | CoinGecko USD price, 24h change, and volume (ok, prices) | Free |
fear_greed() | alternative.me index (value, classification, as_of) | Free |
top_movers(limit, min_volume_usd, include_suspicious) | Gainers, losers, filtered_out, and duplicate merges | $0.005 |
funding_rates(symbols="BTC,ETH,SOL") | Perpetual funding. Binance, then Bybit, then OKX | $0.005 |
market_brief(symbols="BTC,ETH,SOL") | InferHub brief (max_tokens 800) plus the raw snapshot | $0.03 |
rug_risk(token_address, chain, include_summary=False) | 0–100 score, level, and flags. Chains: ethereum, bsc, base, solana (eth, bnb, sol) | $0.02 |
The tool bodies are the original crypto_data.py and rug_risk.py logic, including the documented weights and trusted-token handling. Score bands are 0–24 low, 25–49 medium, 50–74 high, and 75–100 critical. Trusted tokens still list issuer-style flags, and those flags do not add points. Honeypot, can't-sell, high tax, dead liquidity, and fake-token flags always do. Successful upstream GETs are cached. Each vendor call uses HTTP_TIMEOUT_SECONDS.
Python 3.10+.
python -m venv .venv
source .venv/bin/activate pip install -e ".[dev]"
Stdio (no wallet, payments off unless you set PAYMENTS_ENABLED=true):
python -m crypto_mcp
HTTP, with a health check on /health and MCP on /mcp:
export PAY_TO_ADDRESS=0x49Ac893403009239F96a188d55C2FD40f77A8195
export X402_NETWORK=base-sepolia python -m crypto_mcp.http_server
The process listens on HOST and PORT (0.0.0.0 and 8080 by default). Open http://127.0.0.1:8080/health.
Docker Compose publishes the HTTP server on 127.0.0.1:44021. If PAY_TO_ADDRESS is unset, Compose uses a dummy address so the process can boot. Put your real address in .env before you accept payments.
docker compose up --build
Payment follows the x402 MCP transport. There is no HTTP 402 on /mcp, and no extra endpoint. initialize and tools/list are free. A paid tools/call without payment does not run the tool and does not move funds, unless the caller still has a free daily allowance (see below).
isError: true. structuredContent is an x402 PaymentRequired object (x402Version 2). content[0].text is that same object as JSON.accepts[0] is the exact scheme on the configured network (eip155:84532 for Base Sepolia, eip155:8453 for Base). amount is USDC's atomic units (6 decimals, so $0.02 is "20000"). asset is the USDC contract. payTo is PAY_TO_ADDRESS. extra.name and extra.version are the EIP-712 domain for USDC.transferWithAuthorization for that amount and recipient, and retries the same tools/call with the payload on params._meta["x402/payment"].PaymentRequired and never returns paid tool data. The tool result includes the receipt at _meta["x402/payment-response"] (success, transaction, network, payer).A client that cannot pay stops at step 2. It is not charged.
The Python package x402.mcp (create_x402_mcp_client) does steps 3–5 for an agent that holds an EVM key. This server uses x402's resource server, scheme, and facilitator client. It does not use x402's FastMCP decorator: that decorator imports mcp.server.fastmcp, which mcp 2.3 removed when FastMCP was renamed MCPServer.
Example challenge (values depend on your env):
{
"isError": true, "structuredContent": { "x402Version": 2, "error": "Payment required to access this resource ($0.02 USDC on eip155:84532)", "resource": {"url": "mcp://tool/rug_risk", "mimeType": "application/json"}, "accepts": [{ "scheme": "exact", "network": "eip155:84532", "amount": "20000", "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "payTo": "0xYourAddress", "maxTimeoutSeconds": 60, "extra": {"name": "USDC", "version": "2"} }] } }
Retry shape:
{
"method": "tools/call", "params": { "name": "rug_risk", "arguments": {"token_address": "...", "chain": "solana"}, "_meta": {"x402/payment": {"x402Version": 2, "accepted": {}, "payload": {}, "resource": {}}} } }
The public facilitator at https://x402.org/facilitator is the default for Base Sepolia and needs no API key. Coinbase's CDP facilitator (https://api.cdp.coinbase.com/platform/v2/x402) requires CDP_API_KEY_ID and CDP_API_KEY_SECRET. JWT auth is attached only when FACILITATOR_URL points at that CDP host, so you can store the keys now and keep testnet on x402.org. This process never holds a payment signing key and never sends a payment itself.
To go to Base mainnet after a testnet payment works: set X402_NETWORK=base and FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402 in .env.prod, then restart the container. Prices and PAY_TO_ADDRESS can stay the same if that address is the wallet you control on Base.
Paid tools (rug_risk, market_brief, top_movers, funding_rates) allow FREE_PAID_CALLS_PER_DAY free calls per client per UTC day (default 3, reset at 00:00 UTC). A client is the request IP plus the optional X-Client-Id header. After the allowance is used, those tools require x402 payment. Remaining calls are returned in _meta.freePaidCallsRemaining (also freePaidCallsLimit and freePaidCallsResetsAt). Set FREE_PAID_CALLS_PER_DAY=0 to require payment on every paid-tool call. The count is stored in FREE_TIER_PATH (default /app/data/free_tier.sqlite) so a restart does not reset the day. Owner keys in FREE_API_KEYS still skip both the charge and the daily allowance.
Set FREE_API_KEYS to a comma-separated list. A request with Authorization: Bearer or X-API-Key: skips the charge and the free-tool rate limit. Anyone without a key still has to pay for paid tools.
Remote URL, Cursor (.cursor/mcp.json):
{
"mcpServers": { "crypto-market": { "url": "https://2-31-102-176.sslip.io/mcp" } } }
Remote URL, Claude Desktop:
{
"mcpServers": { "crypto-market": { "type": "http", "url": "https://2-31-102-176.sslip.io/mcp" } } }
Add the owner header only on clients that should skip payment:
{
"mcpServers": { "crypto-market": { "url": "https://2-31-102-176.sslip.io/mcp", "headers": {"Authorization": "Bearer YOUR_FREE_API_KEY"} } } }
Local stdio:
{
"mcpServers": { "crypto-market": { "command": "python", "args": ["-m", "crypto_mcp"] } } }
Copy .env.example. Do not commit .env.
| Variable | Required | Default | Purpose |
|---|---|---|---|
PAY_TO_ADDRESS | When payments are on | empty | EVM address that receives USDC |
X402_NETWORK | no | base-sepolia | base-sepolia, base, or eip155: |
FACILITATOR_URL | no | https://x402.org/facilitator | x402 facilitator. Use the CDP URL for mainnet. |
CDP_API_KEY_ID / CDP_API_KEY_SECRET | When using the CDP facilitator | empty | Coinbase CDP API keys. Never commit them. |
PAYMENTS_ENABLED | no | on for HTTP, off for stdio | Force the gate on or off |
FREE_API_KEYS | no | empty | Comma-separated owner keys |
FREE_PAID_CALLS_PER_DAY | no | 3 | Free paid-tool calls per client per UTC day. 0 disables the allowance. |
FREE_TIER_PATH | no | /app/data/free_tier.sqlite | Persisted free-tier counters |
PRICE_RUG_RISK | no | $0.02 | Per-tool price override |
PRICE_MARKET_BRIEF | no | $0.03 | Per-tool price override |
PRICE_TOP_MOVERS | no | $0.005 | Per-tool price override |
PRICE_FUNDING_RATES | no | $0.005 | Per-tool price override |
X402_MAX_TIMEOUT_SECONDS | no | 60 | Authorization lifetime advertised to the client |
INFERHUB_API_KEY | no | empty | Bearer token for market_brief |
INFERHUB_MODEL | with the key | empty | Model name sent to InferHub |
INFERHUB_BASE_URL | no | https://api.inferhub.dev/v1 | OpenAI-compatible base URL |
HTTP_TIMEOUT_SECONDS | no | 10 | Upstream call timeout |
CACHE_TTL_SECONDS | no | 30 | In-memory TTL for upstream GETs |
RATE_LIMIT_FREE_PER_MINUTE | no | 60 | Per-IP limit for free tools on HTTP |
HOST | no | 0.0.0.0 | Bind address |
PORT | no | 8080 | Bind port. Railway sets this |
get_price and fear_greed stay free. There is no price env for them.
Free tools are limited per client IP. Behind Railway the first X-Forwarded-For hop is the client. Upstream GETs are cached for CACHE_TTL_SECONDS. InferHub completions are not cached. Every upstream call uses HTTP_TIMEOUT_SECONDS.
This repo is set up for Railway and is not deployed from here.
railway.json selects the Dockerfile, checks GET /health, and restarts on failure.PAY_TO_ADDRESS=0x49Ac893403009239F96a188d55C2FD40f77A8195 (the owner's Base wallet; EIP-55 checksum checked) and leave X402_NETWORK=base-sepolia for testing. Set FACILITATOR_URL if you are not using the public facilitator. Set INFERHUB_API_KEY and INFERHUB_MODEL only if you want model-written briefs. Set FREE_API_KEYS if you want an owner bypass.PORT.https:// /health. You should see "status": "ok".https:// /mcp.X402_NETWORK=base and FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402 (CDP keys already in the environment), then restart. Try one paid tool on Sepolia first.server.json describes the hosted Streamable HTTP server for the official MCP Registry (io.github.gojisatoshi888/crypto-market). smithery.yaml is historical listing metadata only; Smithery's publish API and CLI shut down on 31 October 2026.
pytest
Payment tests check that an unpaid paid-tool call returns PaymentRequired with the configured amount, network, asset, and payTo; that free tools run; and that FREE_API_KEYS skips the gate. They do not call a facilitator and do not sign a transaction. tests/test_network.py calls CoinGecko and alternative.me and skips itself if those hosts are blocked.
python -m crypto_mcp — stdiopython -m crypto_mcp.http_server — Streamable HTTP on /mcp, health on /healthcrypto_mcp/payments.py — x402 challenge, verify, settlecrypto_mcp/market.py — vendor callscrypto_mcp/scoring.py — volume flags and the rug score