Skip to main content
Glama
Coin Railz MCP Server

Coin Railz MCP Server

by tdnupe3

Coin Railz MCP Server

PyPI version License: MIT

A Model Context Protocol (MCP) server exposing 63 Coin Railz x402 micropayment services to Claude and other LLMs. Access blockchain analytics, trading signals, satellite/earth data (NASA & ESA), IoT sensor feeds, AI inference, prediction markets, and more — all paid with USDC credits or native x402 on-chain payments.

Features

  • 63 Tools for Claude: Complete coverage across 14 service categories

  • 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 micropayments on Base for crypto-native agents

  • Coinbase AgentKit Compatible: Works with AgentKit MCP Extension out of the box

  • 14 Service Categories: From trading intelligence to NASA satellite data

Related MCP server: Carbon Cashmere MCP Server

Quick Start

Installation

pip install coinrailz-mcp

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

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.25

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

$1.00

get_sentiment_analysis

Multi-source sentiment

$0.50

get_arbitrage_opportunities

Cross-chain arb scanner

$1.25

get_correlation_matrix

Token correlations

$0.75

get_risk_metrics

Volatility, VaR, drawdown

$1.00

get_batch_quote

Multi-token quotes

$0.40

Category 3: Execution & Infrastructure (4)

Tool

Description

Price

get_multi_chain_balance

Wallet balances across chains

$0.50

build_transaction

Build unsigned transactions

$0.30

manage_approvals

Token approval manager

$0.20

bridge_tokens

Cross-chain bridge quotes

$2.00

Category 4: Premium Services (4)

Tool

Description

Price

scan_smart_contract

Contract security scan

$1.00

get_wallet_risk_score

Wallet risk analysis

$0.50

track_portfolio

Portfolio analytics

$0.50

optimize_portfolio

AI portfolio optimization

$2.00

Category 5: Real Estate (3)

Tool

Description

Price

get_property_valuation

AI property valuation

$0.75

analyze_lease

Lease term analysis

$1.00

track_construction_progress

Construction tracking

$1.50

Category 6: Banking/Finance (3)

Tool

Description

Price

get_credit_risk_score

Credit risk assessment

$1.25

detect_fraud

AI fraud detection

$0.75

run_compliance_check

AML/KYC checks

$1.75

Category 7: Polymarket Prediction Markets (4)

Tool

Description

Price

get_polymarket_events

Active prediction markets

$0.25

get_polymarket_odds

Event odds

$0.50

search_polymarket

Search events

$0.25

get_prediction_market_odds

Aggregated odds

$0.50

Category 8: AI Agent Infrastructure (3)

Tool

Description

Price

create_agent_wallet

Create Coinbase CDP agent wallet

$2.00

create_instant_agent_wallet

Instant temp wallet

$1.00

verify_agent_identity

ERC-8004 on-chain identity

$5.00

Category 9: Enterprise Services (3)

Tool

Description

Price

request_smart_contract_audit

Full security audit

$10.00

request_payment_processing

Merchant payment setup

$0.50

request_compliance_consultation

AML/KYC consulting

$5.00

Category 10: Traditional Markets (2)

Tool

Description

Price

get_stock_sentiment

AI stock market sentiment (AAPL, TSLA, etc.)

$0.40

get_forex_sentiment

AI forex pair sentiment (EURUSD, GBPJPY, etc.)

$0.40

Category 11: Kalshi Prediction Markets (3)

Tool

Description

Price

get_kalshi_markets

Active CFTC-regulated markets

$0.25

get_kalshi_odds

Market odds and orderbook

$0.25

search_kalshi

Search markets by keyword

$0.25

Category 12: Satellite & Earth Observation (12) — NEW

Tool

Description

Price

get_fire_alerts

NASA FIRMS real-time fire detection

$0.15

get_weather_imagery

NASA GIBS satellite weather imagery

$0.15

get_vegetation_health

NDVI vegetation health (satellite)

$0.15

detect_floods

ESA Sentinel-1 SAR flood mapping

$0.25

get_air_quality

ESA Sentinel-5P atmospheric pollutants

$0.15

get_land_use

ESA WorldCover land classification

$0.15

get_satellite_earthdata

NASA Earthdata gateway

$0.25

search_earthdata_granules

Search 1B+ NASA satellite granules

$0.25

get_precipitation_data

NASA GPM rain rate data

$0.25

get_sea_surface_temperature

NASA MODIS sea surface temp

$0.25

get_soil_moisture

NASA SMAP soil moisture

$0.25

get_ocean_color

MODIS Aqua chlorophyll-a

$0.25

Category 13: IoT & DePIN Data (5) — NEW

Tool

Description

Price

get_fleet_telematics

GPS, fuel, speed from fleet devices

$0.10

get_weather_station_data

Hyperlocal IoT weather data

$0.10

read_iot_sensor

Single IoT sensor reading

$0.05

stream_iot_device

Real-time IoT device stream

$0.10

export_iot_bulk_data

Historical IoT data export

$0.25

Category 14: AI Inference & Yield (2) — NEW

Tool

Description

Price

run_ai_inference

Pay-per-call GPT-4o-mini via USDC

$0.05

find_solana_yield

Solana yield opportunities (Kamino)

$0.25

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"

  • "Are there any active wildfires within 100km of 37.7749° N, 122.4194° W?"

  • "What is the current sea surface temperature near the Maldives?"

  • "Get soil moisture data for latitude 41.8, longitude -87.6"

  • "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..."

  • "Run AI inference: summarize the latest DeFi news"

  • "Find the best USDC yield on Solana right now"

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:

  • IoT sensors: $0.05

  • Most data services: $0.10 - $0.50

  • Analytics & AI: $0.50 - $2.00

  • Enterprise services: $5.00 - $10.00

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

Supported Blockchains

  • Ethereum

  • Base (Coinbase L2)

  • Polygon

  • BNB Chain (BSC)

  • Arbitrum

  • Optimism

  • Solana

Contributing

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

Support

License

MIT License - see LICENSE file

Available Tools

41 tools
analyze_leaseC

Analyze commercial lease terms and market comparison.

Args: lease_terms: Lease details including rent, term, location, size

Returns: Lease analysis with market comparison and recommendations.

Price: $3.00

Inputs: lease_terms (required). Returns: result

bridge_tokensB

Get bridge quote and route for cross-chain token transfer.

Args: from_chain: Source blockchain to_chain: Destination blockchain token_address: Token to bridge amount: Amount to bridge recipient: Optional different recipient address

Returns: Bridge route, fees, and estimated time.

Price: $0.50

Inputs: from_chain (required), to_chain (required), token_address (required), amount (required), +1 more. Returns: result

build_transactionB

Build a transaction object ready for signing.

Args: from_address: Sender wallet address to_address: Recipient wallet address value: Amount to send (in token units or wei) chain: Blockchain network token_address: Optional ERC-20 token address (native token if not provided)

Returns: Unsigned transaction object with gas estimates.

Price: $0.15

Inputs: from_address (required), to_address (required), value (required), chain, +1 more. Returns: result

create_agent_walletC

Create a new wallet for an AI agent with managed keys.

Args: agent_name: Name identifier for the agent agent_type: Type of agent. Options: trading, payment, defi, general

Returns: New wallet address and management details.

Price: $1.00

Inputs: agent_name (required), agent_type. Returns: result

create_instant_agent_walletB

Instantly create a temporary agent wallet for quick operations.

Args: purpose: Purpose of the wallet. Options: trading, testing, payment

Returns: Temporary wallet address with 24-hour validity.

Price: $0.50

Inputs: purpose. Returns: result

detect_fraudC

AI-powered fraud detection for transactions.

Args: transaction_data: Transaction details to analyze

Returns: Fraud score, risk indicators, and recommendations.

Price: $0.50

Inputs: transaction_data (required). Returns: result

get_arbitrage_opportunitiesC

Scan for cross-chain arbitrage opportunities.

Args: chains: List of chains to scan for arbitrage min_profit_pct: Minimum profit percentage to report

Returns: List of arbitrage opportunities with routes and expected profit.

Price: $1.00

Inputs: chains, min_profit_pct. Returns: result

get_batch_quoteC

Get quotes for multiple tokens in a single request.

Args: tokens: List of token addresses to quote chain: Blockchain network

Returns: Prices and metadata for all requested tokens.

Price: $0.25

Inputs: tokens (required), chain. Returns: result

get_correlation_matrixB

Get correlation matrix between multiple tokens.

Args: tokens: List of token addresses or symbols to analyze timeframe: Analysis period. Options: 1d, 7d, 30d, 90d

Returns: Correlation coefficients between all token pairs.

Price: $0.50

Inputs: tokens (required), timeframe. Returns: result

get_credit_risk_scoreC

Get credit risk assessment for individuals or businesses.

Args: entity_id: Identifier for the entity (wallet, business ID, etc.) entity_type: Type of entity. Options: individual, business, dao

Returns: Credit score, risk factors, and lending recommendations.

Price: $2.00

Inputs: entity_id (required), entity_type. Returns: result

get_dex_liquidityC

Get DEX liquidity analysis for a token across major exchanges.

Args: token_address: The token contract address (0x...) chain: Blockchain network. Options: ethereum, base, polygon, bsc

Returns: Liquidity depth, top pools, and slippage estimates.

Price: $0.20

Inputs: token_address (required), chain. Returns: result

get_forex_sentimentA

Get AI-powered forex currency pair sentiment analysis.

Args: pair: Currency pair (e.g., EURUSD, GBPJPY, USDJPY, AUDUSD) include_economic: Include economic factors analysis include_central_bank: Include central bank policy outlook include_geopolitical: Include geopolitical factors

Returns: Sentiment analysis with overall rating, confidence score, key drivers, and trading recommendation.

Price: $0.40

Inputs: pair (required), include_economic, include_central_bank, include_geopolitical. Returns: result

get_gas_pricesA

Get real-time gas prices across multiple blockchain networks.

Args: chains: List of chains to query. Options: ethereum, base, polygon, bsc, arbitrum, optimism. Defaults to all supported chains.

Returns: Gas prices in gwei with USD cost estimates for each chain.

Price: $0.10 (FIRST CALL FREE for new users!)

Inputs: chains. Returns: result

get_multi_chain_balanceC

Get multi-chain wallet balance across 7+ EVM networks.

Args: wallet_address: The wallet address to check (0x...) chains: List of chains to query. Defaults to all supported chains. include_tokens: Whether to include ERC-20 token balances.

Returns: Wallet balances for native tokens and ERC-20 tokens across all specified chains.

Price: $0.50

Inputs: wallet_address (required), chains, include_tokens. Returns: result

get_polymarket_eventsA

Get active Polymarket prediction market events.

Args: category: Optional category filter (politics, crypto, sports, etc.) limit: Number of events to return

Returns: List of active prediction markets with current odds.

Price: $0.25

Inputs: category, limit. Returns: result

get_polymarket_oddsC

Get current odds for a specific Polymarket event.

Args: event_id: The Polymarket event ID

Returns: Current odds, volume, and price history.

Price: $0.15

Inputs: event_id (required). Returns: result

get_prediction_market_oddsC

Get prediction market odds (aggregated from multiple sources).

Args: event_id: Optional specific event ID query: Optional search query for events

Returns: Current odds, volume, and market details for prediction events.

Price: $0.50

Inputs: event_id, query. Returns: result

get_property_valuationB

Get AI-powered property valuation estimate.

Args: address: Property street address property_id: Or property ID if known

Returns: Estimated value, comparable sales, and market trends.

Price: $5.00

Inputs: address, property_id. Returns: result

get_risk_metricsC

Get comprehensive risk metrics for a token.

Args: token_address: The token contract address (0x...) chain: Blockchain network

Returns: Volatility, VaR, max drawdown, and other risk metrics.

Price: $0.40

Inputs: token_address (required), chain. Returns: result

get_sentiment_analysisC

Get AI-powered sentiment analysis for crypto topics.

Args: query: Topic to analyze (token name, project, or keyword) sources: List of sources. Options: twitter, reddit, news, telegram

Returns: Sentiment score, volume trends, and key narratives.

Price: $0.30

Inputs: query (required), sources. Returns: result

get_stock_sentimentB

Get AI-powered stock market sentiment analysis.

Args: symbol: Stock ticker symbol (e.g., AAPL, TSLA, MSFT, NVDA) include_news: Include recent news and headlines analysis include_technicals: Include technical analysis and chart patterns include_institutional: Include institutional and insider activity

Returns: Sentiment analysis with overall rating, confidence score, key drivers, and trading recommendation.

Price: $0.40

Inputs: symbol (required), include_news, include_technicals, include_institutional. Returns: result

get_token_metadataA

Get metadata for any ERC-20 token including name, symbol, decimals, and total supply.

Args: token_address: The token contract address (0x...) chain: Blockchain network. Options: ethereum, base, polygon, bsc, arbitrum, optimism

Returns: Token metadata including name, symbol, decimals, total supply.

Price: $0.10 (FIRST CALL FREE for new users!)

Inputs: token_address (required), chain. Returns: result

get_token_priceC

Get real-time token price from multiple DEX sources.

Args: token_address: The token contract address (0x...) chain: Blockchain network. Options: ethereum, base, polygon, bsc

Returns: Token price in USD with source information.

Price: $0.15

Inputs: token_address (required), chain. Returns: result

get_token_sentimentC

Get AI-powered social sentiment analysis for a token.

Args: token_address: The token contract address (0x...) chain: Blockchain network

Returns: Sentiment score, social volume, and trending topics related to the token.

Price: $0.25

Inputs: token_address (required), chain. Returns: result

get_trade_signalsC

Get AI-powered trading signals and market recommendations.

Args: token: Optional token address or symbol to focus on chain: Blockchain network. Options: ethereum, base, polygon

Returns: Trading signals with entry/exit recommendations and confidence scores.

Price: $0.75

Inputs: token, chain. Returns: result

get_trading_signalA

Get trading signal for a specific symbol and timeframe.

Args: symbol: Trading pair symbol (e.g., ETH/USDC, BTC/USDT) timeframe: Chart timeframe. Options: 1m, 5m, 15m, 1h, 4h, 1d

Returns: Buy/sell signal with indicators, confidence, and target prices.

Price: $0.50

Inputs: symbol (required), timeframe. Returns: result

get_wallet_risk_scoreB

Get risk analysis and security scoring for any wallet address.

Args: wallet_address: The wallet address to analyze (0x...) chain: Primary chain for analysis. Options: ethereum, base, polygon

Returns: Risk score, transaction patterns, and security recommendations.

Price: $0.50

Inputs: wallet_address (required), chain. Returns: result

get_whale_alertsB

Get real-time whale transaction alerts across chains.

Args: chains: List of chains to monitor. Defaults to all major chains. min_value_usd: Minimum transaction value in USD to alert on

Returns: Recent large transactions with sender, receiver, and token details.

Price: $0.35

Inputs: chains, min_value_usd. Returns: result

manage_approvalsC

Manage token approvals for a wallet.

Args: wallet_address: The wallet address to check chain: Blockchain network action: Action to perform. Options: list, revoke_risky

Returns: List of token approvals with risk assessment.

Price: $0.30

Inputs: wallet_address (required), chain, action. Returns: result

optimize_portfolioC

Get AI-powered portfolio optimization recommendations.

Args: holdings: List of current holdings [{"token": "...", "amount": "...", "chain": "..."}] risk_tolerance: Risk level. Options: low, medium, high

Returns: Rebalancing recommendations and optimal allocation.

Price: $1.00

Inputs: holdings (required), risk_tolerance. Returns: result

ping_coinrailzA

Test connectivity to Coin Railz x402 payment infrastructure.

Args: message: Optional message to include in ping

Returns: Platform status, version, and available services count.

Price: $0.25

Inputs: message. Returns: result

request_compliance_consultationB

Request AML/KYC compliance consultation.

Args: entity_type: Type of entity. Options: exchange, defi, nft, payment jurisdictions: List of jurisdictions to cover (US, EU, UK, etc.) services: Services requiring compliance (custody, trading, payments)

Returns: Consultation request confirmation and preliminary assessment.

Price: $500

Inputs: entity_type (required), jurisdictions (required), services (required). Returns: result

request_payment_processingC

Set up multi-chain payment processing for merchants.

Args: merchant_id: Merchant identifier payment_type: Type of payment. Options: one-time, subscription, escrow currencies: Accepted cryptocurrencies

Returns: Payment processing setup details and integration instructions.

Price: $50/hour

Inputs: merchant_id (required), payment_type, currencies. Returns: result

request_smart_contract_auditC

Request comprehensive smart contract security audit.

Args: contract_address: Contract to audit chain: Blockchain network scope: Audit scope. Options: quick, standard, full

Returns: Audit request confirmation and estimated delivery time.

Price: $1000 (full audit)

Inputs: contract_address (required), chain, scope. Returns: result

run_compliance_checkB

Run AML/KYC compliance checks.

Args: entity_id: Identifier for the entity (wallet address, etc.) check_type: Type of check. Options: aml, kyc, sanctions, pep

Returns: Compliance status, flags, and required actions.

Price: $1.00

Inputs: entity_id (required), check_type. Returns: result

scan_smart_contractB

Perform security analysis on a smart contract.

Args: contract_address: The contract address to scan (0x...) chain: Blockchain network. Options: ethereum, base, polygon

Returns: Security analysis including vulnerabilities, rug pull risk, and audit score.

Price: $2.00

Inputs: contract_address (required), chain. Returns: result

search_polymarketC

Search Polymarket events by keyword.

Args: query: Search query limit: Number of results to return

Returns: Matching prediction markets with current odds.

Price: $0.20

Inputs: query (required), limit. Returns: result

track_construction_progressC

Track construction project progress and milestones.

Args: project_id: The construction project ID

Returns: Progress updates, timeline, and budget status.

Price: $2.00

Inputs: project_id (required). Returns: result

track_portfolioC

Get comprehensive portfolio tracking and analytics.

Args: wallet_address: The wallet address to track chains: List of chains to include in portfolio

Returns: Portfolio value, allocation, P&L, and historical performance.

Price: $0.75

Inputs: wallet_address (required), chains. Returns: result

verify_agent_identityC

Verify and register an AI agent's on-chain identity (ERC-8004).

Args: agent_address: The agent's wallet address proof: Optional identity proof or attestation

Returns: Verification status and on-chain identity NFT details.

Price: $2.00

Inputs: agent_address (required), proof. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 41 tools

    Disambiguation2/5

    The tool set suffers from significant ambiguity and overlap. For example, 'get_trade_signals' and 'get_trading_signal' appear to serve similar purposes with unclear distinctions, and 'get_polymarket_odds' vs 'get_prediction_market_odds' create confusion about their scope. Tools like 'detect_fraud' and 'get_wallet_risk_score' also have overlapping risk analysis functions, making it difficult for an agent to choose the correct tool without trial and error.

    Naming Consistency4/5

    Naming is mostly consistent with a verb_noun pattern (e.g., 'analyze_lease', 'bridge_tokens', 'get_token_price'), which aids readability. However, there are minor deviations such as 'ping_coinrailz' (which uses the server name instead of a generic verb) and 'manage_approvals' (which could be more specific like 'list_approvals' or 'revoke_approvals'), slightly reducing consistency.

    Tool Count2/5

    With 41 tools, the count is excessive for a coherent server, leading to a bloated and confusing interface. The tools span disparate domains like real estate ('analyze_lease', 'get_property_valuation'), DeFi ('bridge_tokens', 'get_arbitrage_opportunities'), compliance ('run_compliance_check'), and AI agents ('create_agent_wallet'), suggesting the server is trying to cover too many unrelated areas without clear focus.

    Completeness3/5

    Within each sub-domain, there are notable gaps. For example, in DeFi, tools like 'bridge_tokens' and 'get_token_price' exist, but there's no tool for executing trades or swaps. In compliance, 'run_compliance_check' and 'request_compliance_consultation' are present, but tools for ongoing monitoring or reporting are missing. The server covers many areas superficially but lacks depth in operational workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers