Skip to main content

MCP server exposing 37+ Coin Railz x402 micropayment crypto services to Claude

Project description

Coin Railz MCP Server

PyPI version License: MIT

A Model Context Protocol (MCP) server that exposes 37+ Coin Railz x402 micropayment services to Claude and other LLMs. Access blockchain data, trading signals, prediction markets, and crypto analytics directly from Claude.

What is MCP?

MCP (Model Context Protocol) is Anthropic's open standard for connecting AI models to external tools and data sources. This server lets Claude access real-time blockchain and crypto data through Coin Railz's x402 payment infrastructure.

Features

  • 37+ Crypto Tools for Claude: Complete coverage of blockchain analytics, trading, and DeFi
  • First-Call Free: gas-price-oracle and token-metadata are FREE for first-time users
  • API Key Authentication: Simple prepaid credits system - no blockchain knowledge required
  • x402 Protocol Support: Native USDC payments on Base chain for crypto-native agents
  • 9 Service Categories: From trading intelligence to enterprise compliance

Quick Start

Installation

# Using pip
pip install coinrailz-mcp

# Or from source
git clone https://github.com/coinrailz/mcp-server-coinrailz.git
cd mcp-server-coinrailz
pip install -e .

Configure Claude Desktop

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "coinrailz": {
      "command": "python",
      "args": ["-m", "coinrailz_mcp"],
      "env": {
        "COINRAILZ_API_KEY": "your-api-key-here"
      }
    }
  }
}

Get an API Key

  1. Visit https://coinrailz.com/credits
  2. Purchase credits with Stripe (credit card) or USDC
  3. Generate an API key
  4. Set the COINRAILZ_API_KEY environment variable

Free Trial: gas-price-oracle and token-metadata are FREE for your first call!

Available Tools (37+)

Category 1: Discovery & Testing (1)

Tool Description Price
ping_coinrailz Test platform connectivity $0.25

Category 2: Trading Intelligence (14)

Tool Description Price
get_gas_prices Real-time gas across 6 chains $0.10 (FREE first)
get_token_metadata Token name, symbol, decimals $0.10 (FREE first)
get_token_price Real-time DEX prices $0.15
get_token_sentiment AI social sentiment $0.25
get_trending_tokens Trending by volume $0.50
get_whale_alerts Large transaction alerts $0.35
get_dex_liquidity DEX liquidity depth $0.20
get_trade_signals AI trading signals $0.75
get_trading_signal Symbol-specific signals $0.50
get_sentiment_analysis Multi-source sentiment $0.30
get_arbitrage_opportunities Cross-chain arb scanner $1.00
get_correlation_matrix Token correlations $0.50
get_risk_metrics Volatility, VaR, drawdown $0.40
get_batch_quote Multi-token quotes $0.25

Category 3: Execution & Infrastructure (4)

Tool Description Price
get_multi_chain_balance Wallet balances across chains $0.50
build_transaction Build unsigned transactions $0.15
manage_approvals Token approval manager $0.30
bridge_tokens Cross-chain bridge quotes $0.50

Category 4: Premium Services (4)

Tool Description Price
scan_smart_contract Contract security audit $2.00
get_wallet_risk_score Wallet risk analysis $0.50
track_portfolio Portfolio analytics $0.75
optimize_portfolio AI portfolio optimization $1.00

Category 5: Real Estate (3)

Tool Description Price
get_property_valuation AI property valuation $5.00
analyze_lease Lease term analysis $3.00
track_construction_progress Construction tracking $2.00

Category 6: Banking/Finance (3)

Tool Description Price
get_credit_risk_score Credit risk assessment $2.00
detect_fraud AI fraud detection $0.50
run_compliance_check AML/KYC checks $1.00

Category 7: Prediction Markets (4)

Tool Description Price
get_polymarket_events Active prediction markets $0.25
get_polymarket_odds Event odds $0.15
search_polymarket Search events $0.20
get_prediction_market_odds Aggregated odds $0.50

Category 8: AI Agent Infrastructure (3)

Tool Description Price
create_agent_wallet Create managed agent wallet $1.00
create_instant_agent_wallet Instant temp wallet $0.50
verify_agent_identity ERC-8004 identity NFT $2.00

Category 9: Enterprise Services (3)

Tool Description Price
request_smart_contract_audit Full security audit $1000
request_payment_processing Merchant payment setup $50/hr
request_compliance_consultation AML/KYC consulting $500

Example Usage in Claude

After configuring the MCP server, try asking Claude:

  • "What are the current gas prices on Ethereum and Base?"
  • "Get the wallet balance for 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
  • "Analyze the risk score for this wallet address"
  • "What are the trending tokens on Base right now?"
  • "Get trading signals for ETH"
  • "Search Polymarket for Bitcoin events"
  • "Scan this smart contract for vulnerabilities: 0x..."

Environment Variables

Variable Description Required
COINRAILZ_API_KEY Your API key from coinrailz.com/credits Recommended
COINRAILZ_BASE_URL Override base URL (default: https://coinrailz.com) No

Pricing

Credits are deducted per service call:

  • Most services: $0.10 - $1.00
  • Premium services: $2.00 - $5.00
  • Enterprise services: $50 - $1000

Purchase credits at https://coinrailz.com/credits

Supported Blockchains

  • Ethereum
  • Base
  • Polygon
  • BNB Chain (BSC)
  • Arbitrum
  • Optimism
  • PulseChain

Contributing

Contributions welcome! Please open an issue or submit a PR.

Support

License

MIT License - see LICENSE file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coinrailz_mcp-1.0.2.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coinrailz_mcp-1.0.2-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file coinrailz_mcp-1.0.2.tar.gz.

File metadata

  • Download URL: coinrailz_mcp-1.0.2.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for coinrailz_mcp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fcf9323e6527164b1771fdde8283ad787157e47f021ddaea5b2649058a43b55c
MD5 a9949c22418436b3e29244710cd53f59
BLAKE2b-256 d3d64327e3b87acdf1a481aa274a831e08ab2152ab81957eea1d14035f6e8473

See more details on using hashes here.

File details

Details for the file coinrailz_mcp-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: coinrailz_mcp-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for coinrailz_mcp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 63814256a81223d22587911ecee98f60be07c843433311eef8b3b2d88527aaca
MD5 0fbecf54305906b9553abff58029bbad
BLAKE2b-256 425ba4ba92a3874b9beca6715caa6c944778849005566ce109b266a86cbad251

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page