rdx-data-mcp
An MCP server that gives autonomous AI agents (Claude Code, Claude Desktop, Cursor, Windsurf, OpenAI Agents) one tool gateway to the RDX Data Network at rdxdata.xyz: live crypto and macro data, Web3 security, web utilities, commodities and travel.
Agents discover the tools for free, then pay per call (from $0.001 to $0.10 USDC) with no human in the loop. Payment is settled under the hood through either rail:
- Skyfire: set
SKYFIRE_API_KEY. Supportskya(free preview),payandkya-paytokens. - Coinbase x402 v2 / AgentCash: set
BUYER_PRIVATE_KEY. Pays in USDC on Base mainnet.
25 paid tools across 23
*.rdxdata.xyzservices, plus 1 free discovery tool (list_rdx_catalog). Two services expose two tools each:sandbox(math + quant) andmacro-fx(FX rates + conversion).
What's new
2.1.1: adds the MCP Registry ownership marker and server.json (no code changes).
2.1.0:
macro-fx.rdxdata.xyz:get_global_fx_and_macro_ratesandconvert_fiat_currency_pair(the RDX Global FX & Macro Oracle).doc-parse.rdxdata.xyz:parse_remote_pdf_document.domain-trust.rdxdata.xyz:audit_domain_trust_and_ssl.- Request timeout raised from 20 s to 25 s.
Services and tools
Market & Trading Alpha
| Tool | Service | Cost (USDC) | What it returns |
|---|---|---|---|
get_crypto_market_pulse |
pulse |
$0.001 (free with Skyfire KYA) | BTC/ETH/SOL prices, Fear & Greed Index, dominance |
get_global_fx_and_macro_rates |
macro-fx |
$0.005 | ECB and central-bank FX rates plus World Bank CPI inflation and GDP growth |
convert_fiat_currency_pair |
macro-fx |
$0.005 | Exact cross-rate conversion between two fiat currencies |
get_expired_domains_alpha |
domains |
$0.02 | AI-scored high-value pending-delete domains |
get_social_sentiment_velocity |
sentiment |
$0.03 | Hacker News, GitHub and crypto narrative velocity |
get_web3_grants_and_airdrop_alpha |
alpha |
$0.03 | Tokenless high-TVL protocols and open dev bounties |
get_prediction_market_arbitrage |
predict |
$0.05 | Polymarket vs Kalshi matched-event spreads |
get_rwa_premium_analytics |
rwa |
$0.05 | Ondo / PAXG NAV premium or discount and liquidity |
get_dex_stablecoin_arbitrage |
dex |
$0.05 | Cross-chain USDC/USDT de-pegs and DEX routes |
get_funding_rate_arbitrage |
funding |
$0.10 | BTC/ETH/SOL perp funding spreads (Binance, Hyperliquid, dYdX) |
Web3 Security & Infrastructure
| Tool | Service | Cost (USDC) | What it returns |
|---|---|---|---|
score_web3_wallet_intelligence |
wallet-intel |
$0.01 | Base/ETH balance, tx history, Sybil and persona trust score |
get_cross_chain_gas_and_mev_oracle |
gas |
$0.01 | Base, Arbitrum, Optimism, Solana, ETH gas and MEV risk |
audit_smart_contract_security |
security |
$0.02 | Base/Solana honeypot and rug-pull scanner |
get_depin_gpu_compute_prices |
compute |
$0.02 | H100, A100, RTX 4090 prices across io.net, Akash, Render |
AI & Web Utilities
| Tool | Service | Cost (USDC) | What it returns |
|---|---|---|---|
evaluate_math_or_quant_expression |
sandbox |
$0.002 | Deterministic SymPy/NumPy math results |
calculate_quant_finance_model |
sandbox |
$0.002 | Kelly Criterion, AMM slippage, compound APY, Black-Scholes |
extract_clean_web_markdown |
reader |
$0.005 | Any webpage as clean, LLM-ready Markdown |
audit_package_dependency |
deps |
$0.005 | CVEs via OSV.dev plus latest registry version |
audit_domain_trust_and_ssl |
domain-trust |
$0.005 | RDAP domain age, TLS/SSL validity, SPF/DMARC, URLhaus phishing status |
parse_remote_pdf_document |
doc-parse |
$0.01 | Page-by-page text and metadata from any public PDF URL |
verify_citation_or_url |
verify |
$0.01 | URL liveness and Crossref/Wikipedia grounding |
check_product_price_and_stock |
price-watch |
$0.01 | Real-time Schema.org/OpenGraph price and inventory |
get_llm_cost_routing_recommendations |
llm-router |
$0.01 | Cheapest high-performing LLM per task |
Commodities & Travel
| Tool | Service | Cost (USDC) | What it returns |
|---|---|---|---|
get_global_coffee_commodities |
coffee |
$0.01 | Arabica, Robusta, Vietnam farmgate (VND/kg) |
get_travel_flash_deals |
travel |
$0.05 | Flight error fares and hotel discounts |
Every service lives at https://<service>.rdxdata.xyz. Call list_rdx_catalog first (free): it returns every endpoint, price and data-freshness note, and reports whether a payment method is configured.
Install
# no install needed with uv
uvx rdx-data-mcp
# or with pip
pip install rdx-data-mcp
rdx-data-mcp
Python 3.10+. Set SKYFIRE_API_KEY, BUYER_PRIVATE_KEY, or both (Skyfire is tried first). Blank values are treated as unset.
Claude Desktop
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"rdx-data": {
"command": "uvx",
"args": ["rdx-data-mcp"],
"env": {
"SKYFIRE_API_KEY": "your_skyfire_buyer_agent_api_key",
"BUYER_PRIVATE_KEY": "",
"BASE_RPC_URL": "https://rpc.ankr.com/base"
}
}
}
}
Claude Code
claude mcp add rdx-data -e SKYFIRE_API_KEY=your_skyfire_buyer_agent_api_key -- uvx rdx-data-mcp
Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"rdx-data": {
"command": "uvx",
"args": ["rdx-data-mcp"],
"env": {
"BUYER_PRIVATE_KEY": "0xyour_dedicated_wallet_private_key"
}
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"rdx-data": {
"command": "uvx",
"args": ["rdx-data-mcp"],
"env": {
"SKYFIRE_API_KEY": "your_skyfire_buyer_agent_api_key"
}
}
}
}
pip install (any client)
{
"mcpServers": {
"rdx-data": {
"command": "rdx-data-mcp",
"env": {
"SKYFIRE_API_KEY": "your_skyfire_buyer_agent_api_key"
}
}
}
}
OpenAI Agents SDK
from agents import Agent
from agents.mcp import MCPServerStdio
async with MCPServerStdio(
params={"command": "uvx", "args": ["rdx-data-mcp"], "env": {"SKYFIRE_API_KEY": "..."}}
) as rdx:
agent = Agent(name="Analyst", instructions="Use RDX tools for live data.", mcp_servers=[rdx])
Pricing
Every call is priced in USDC. There is no subscription.
| Price per call | Tools |
|---|---|
| Free | list_rdx_catalog |
| $0.001 (free with Skyfire KYA) | get_crypto_market_pulse |
| $0.002 | evaluate_math_or_quant_expression, calculate_quant_finance_model |
| $0.005 | extract_clean_web_markdown, audit_package_dependency, audit_domain_trust_and_ssl, get_global_fx_and_macro_rates, convert_fiat_currency_pair |
| $0.01 | parse_remote_pdf_document, verify_citation_or_url, check_product_price_and_stock, score_web3_wallet_intelligence, get_cross_chain_gas_and_mev_oracle, get_llm_cost_routing_recommendations, get_global_coffee_commodities |
| $0.02 | audit_smart_contract_security, get_depin_gpu_compute_prices, get_expired_domains_alpha |
| $0.03 | get_social_sentiment_velocity, get_web3_grants_and_airdrop_alpha |
| $0.05 | get_prediction_market_arbitrage, get_rwa_premium_analytics, get_dex_stablecoin_arbitrage, get_travel_flash_deals |
| $0.10 | get_funding_rate_arbitrage |
Free kya preview tier
A Skyfire kya (identity-only) token costs nothing. get_crypto_market_pulse always uses one. Several other services also return a free preview or sample to kya tokens (for example FX majors on macro-fx, a PDF preview on doc-parse, a two-chain sample on gas). By default the server requests full paid results with a kya-pay token; set RDX_SKYFIRE_TOKEN_TYPE=kya to request previews on every call instead.
Funding a payment method
Option A: Skyfire (recommended)
- Create an account at skyfire.xyz and a Buyer agent (docs: docs.skyfire.xyz).
- Fund the Buyer agent's wallet with USDC.
- Copy the Buyer agent API key into
SKYFIRE_API_KEY.
The server asks Skyfire for a token sized to the call price and sends it to the RDX service in the kyapay-token header.
Skyfire tokens for services listed in the Skyfire Directory need the seller's service ID unless your Skyfire account belongs to an organization. Provide IDs with RDX_SKYFIRE_SERVICE_IDS, a JSON map keyed by sub-domain, for example {"pulse": "<service-id>", "macro-fx": "<service-id>", "doc-parse": "<service-id>"}. If Skyfire fails for any reason, the server falls back to x402 when BUYER_PRIVATE_KEY is set.
Option B: Base USDC wallet (x402 / AgentCash)
- Create a dedicated wallet for the agent. Never reuse a main wallet.
- Send it USDC on Base mainnet (contract
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) plus a few cents of ETH on Base for gas. Most exchanges that support Base withdrawals work. - Put the wallet's private key in
BUYER_PRIVATE_KEY.
How payment works
- Skyfire first: if
SKYFIRE_API_KEYis set, a token is created and the request is sent withkyapay-token. - If Skyfire is not configured, or the service answers 401/402, the request is sent unauthenticated.
- On HTTP 402 the invoice (
asset,payTo,amount) is decoded from the Base64Payment-Requiredheader, or from the JSON body. - No
BUYER_PRIVATE_KEY: the tool returns a structuredpayment_requiredresult with the decoded invoice and exact setup steps. - With
BUYER_PRIVATE_KEY: an ERC-20 USDCtransferis sent on Base (chain id 8453), the server waits 6 seconds, then retries the identical request withX-402-Payment-Receipt: <tx hash>.
Every request times out after 25 seconds. Successful results include an _rdx_payment field showing the protocol used and, for x402, the transaction hash. If a payment is sent but the service has not accepted the receipt yet, the tool says so and an identical retry re-submits the saved receipt instead of paying again.
Safety
An autonomous wallet needs guard rails, so these are built in:
- Only
https://*.rdxdata.xyzis ever called or paid. - Only USDC on Base mainnet is ever sent. Testnet or other-asset invoices are refused.
- Each payment is capped at 0.25 USDC by default (
RDX_MAX_PAYMENT_USDC). Larger invoices are refused and nothing is paid. - On-chain sends are serialized so concurrent calls cannot collide on the wallet nonce.
- Private keys and Skyfire keys are never logged or returned in results. Logs go to stderr.
- Tool inputs are validated before any request is made.
Use a wallet that holds only what you are willing to spend.
Configuration
| Variable | Default | Purpose |
|---|---|---|
SKYFIRE_API_KEY |
unset | Skyfire Buyer agent API key (payment rail 1) |
BUYER_PRIVATE_KEY |
unset | Hex private key of a Base wallet holding USDC (payment rail 2) |
BASE_RPC_URL |
https://rpc.ankr.com/base |
Base mainnet RPC. https://mainnet.base.org is used as a fallback |
RDX_MAX_PAYMENT_USDC |
0.25 |
Per-call payment cap |
RDX_SKYFIRE_TOKEN_TYPE |
auto | Force kya, pay or kya-pay for every call |
RDX_SKYFIRE_SERVICE_IDS |
unset | JSON map of sub-domain to Skyfire seller service ID |
SKYFIRE_API_BASE |
https://api.skyfire.xyz |
Skyfire API base URL |
RDX_ALLOW_CUSTOM_HOSTS |
unset | Set to 1 to allow non-rdxdata.xyz hosts (self-hosting, testing) |
RDX_LOG_LEVEL |
WARNING |
Log level (stderr) |
Development
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest -q
# try it interactively
npx @modelcontextprotocol/inspector rdx-data-mcp
Layout:
src/rdx_data_mcp/
catalog.py endpoints, prices, categories (single source of truth)
payment.py Skyfire + x402 payment client
server.py MCP server and the 26 tools
tests/ payment-flow and tool-mapping tests (no network needed)
Publishing
python -m build && twine check dist/* && twine upload dist/*
The official MCP Registry name is io.github.dautonb/rdx-data-mcp (metadata in server.json). After the matching version is live on PyPI:
mcp-publisher validate
mcp-publisher login github
mcp-publisher publish
The Dockerfile also lets container-based directories such as Glama.ai build and start the server over stdio.
License
MIT
Metadata
Release files for rdx-data-mcp 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rdx_data_mcp-2.1.1.tar.gz | 36.4 kB | Without provenance | Details for rdx_data_mcp-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rdx_data_mcp-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for rdx_data_mcp-2.1.1-py3-none-any.whl |
Total release size: 66.4 kB
Release files / rdx_data_mcp-2.1.1.tar.gz
| Download URL | rdx_data_mcp-2.1.1.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22f0a87a5f735c4ed749f34f1f4e2b0ba61e16953ebc1c7d891ed72480c6194e
|
|
BLAKE2b-256 checksum How to use checksums |
c0d24331718c5062f8c6917012688342d1b5825fe268f226088bab88d96c4970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Release files / rdx_data_mcp-2.1.1-py3-none-any.whl
| Download URL | rdx_data_mcp-2.1.1-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c3c4ea400ce1d1d019f6a7c315eed2a51e9803eb9def32b91252c2647e7738e
|
|
BLAKE2b-256 checksum How to use checksums |
b8589e7dc0a1deb18bb766145fa9d7feecd76eb68ecfcfbbcb8844bb8e63c51e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Security for rdx-data-mcp 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.