Coin Railz MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install coinrailz-mcp
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "COINRAILZ_API_KEY=${COINRAILZ_API_KEY}" coin-railz -- node "<FULL_PATH_TO_MCP_SERVER_COINRAILZ>/dist/index.js"

Replace <FULL_PATH_TO_MCP_SERVER_COINRAILZ>/dist/index.js with the actual folder you prepared in step 1.

Required:COINRAILZ_API_KEY
README.md

Access 41 Coin Railz x402 micropayment services for blockchain and crypto data

Coin Railz MCP Server

A Model Context Protocol (MCP) server that exposes 41 Coin Railz x402 micropayment services to Claude and other LLMs. Access blockchain data, trading signals, prediction markets, stock/forex sentiment, 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

  • 41 Crypto Tools for Claude: Complete coverage of blockchain analytics, trading, DeFi, and traditional markets
  • 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
  • 10 Service Categories: From trading intelligence to traditional markets sentiment

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 (41)

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

Tools (5)

get_gas_pricesGet real-time gas prices across 6 chains
get_token_priceGet real-time DEX prices for tokens
get_whale_alertsGet alerts for large blockchain transactions
scan_smart_contractPerform a security audit on a smart contract
get_polymarket_oddsGet current odds for prediction market events

Environment Variables

COINRAILZ_API_KEYrequiredAPI key for accessing Coin Railz services

Configuration

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

Try it

What are the current gas prices across major chains?
Check the latest whale alerts for large transactions.
Perform a security audit on this smart contract address.
What are the current odds for the upcoming Polymarket events?
Analyze the current market sentiment for Ethereum.

Frequently Asked Questions

What are the key features of Coin Railz?

Access to 41 crypto-native tools for blockchain analytics and trading. Support for x402 micropayment protocol for service access. Real-time data for gas prices, token metadata, and DEX liquidity. Advanced financial tools including smart contract auditing and risk scoring. Integration with prediction markets like Polymarket.

What can I use Coin Railz for?

Automating blockchain research and data gathering for crypto traders. Performing quick security checks on smart contracts before interaction. Monitoring market sentiment and whale activity to inform trading decisions. Aggregating prediction market odds for research and analysis. Building automated agents that require real-time DeFi and financial data.

How do I install Coin Railz?

Install Coin Railz by running: pip install coinrailz-mcp

What MCP clients work with Coin Railz?

Coin Railz works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Coin Railz docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare