x402 Data Hub
Provides access to V2EX's hot topics and trending developer discussions.
🚀 x402 Data Hub — Model Context Protocol (MCP) Server
An official Model Context Protocol (MCP) server that gives your AI agents (Claude Desktop, Cursor, Cline, etc.) native, real-time access to high-value developer datasets.
Instead of expensive monthly API subscriptions, agents pay exactly $0.01 USDC per query on the Base L2 network (completely bypassed during the Free Open Beta).
📊 Available Datasets & Tools
The server exposes three primary tools to your AI agent:
list_datasets: Displays the database index.get_free_dataset: Accesses daily-updated developer datasets:saas/ai-api-pricing: Live price-per-1M-tokens and context windows from OpenRouter (GPT-4o, Claude 3.5 Sonnet, Gemini Pro, DeepSeek V3, etc.).events/v2ex-hot-topics: Trending developer discussions and hot topics.
buy_premium_dataset: Accesses premium feeds:finance/gas-tracker: Live EVM gas prices (in Gwei) on Base and Arbitrum.
Related MCP server: MCP Pool
🛠️ Setup Guide (3-Step Installation)
Step 1: Install Dependencies
Ensure you have Python installed, then install the MCP library:
pip install mcpStep 2: Download the Server
Clone the repository to your local machine:
git clone https://github.com/alexchai-dev/cloudflare-data-hub.gitStep 3: Add to your AI Client
A. Claude Desktop
Add the following configuration to your claude_desktop_config.json (usually located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"x402-data-hub": {
"command": "python",
"args": [
"/path/to/cloudflare-data-hub/mcp_server.py"
]
}
}
}(Replace /path/to/cloudflare-data-hub/mcp_server.py with the absolute path to your cloned repository).
B. Cursor IDE
Open Cursor and go to Settings -> Models -> MCP.
Click + Add New MCP Server.
Fill in the fields:
Name:
x402-data-hubType:
stdioCommand:
python /path/to/cloudflare-data-hub/mcp_server.py
Click Save.
🔵 Web3 Micro-payments & Open Beta
Free Open Beta: Currently, the server is running with
BETA_MODE = True. You can query all datasets (including premium ones) using any dummy string as the transaction hash (tx_hash).On-Chain Mode: When beta ends, agents unlock premium feeds by signing a transaction of 0.01 USDC to our treasury wallet (
0xB23B0d7d25113E991D2931Ca147677A5b5Da40E4) on Base L2 and passing thetx_hashto the tool.
📄 License
This project is open-source and licensed under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
AI tool directory MCP server, live since July 2026. Tools, agents, models, companies, services.
The vetted directory of paid APIs and MCP servers for AI agents.
MCP server giving AI agents one-connection access to crypto & DeFi data: DeFi protocol TVL, stableco
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.2-
- AlicenseAqualityBmaintenanceA curated collection of Model Context Protocol (MCP) servers for popular SaaS platforms — Stripe, Sentry, Notion, Linear, Datadog, Vercel, PagerDuty, HubSpot, Intercom, Shopify, Google Workspace281MIT
- AlicenseAqualityCmaintenanceReal-time AI industry intelligence MCP server. 6 free tools (news, status, pricing, today summary, agent activity, MCP registry snapshot) plus 13 paid tools (routing, news search, history series, cost projection, deep-dive, comparison, webhook watches). Pay-per-call in USDC on Base, no accounts.256 npm2MIT
- AlicenseAqualityDmaintenanceProvides AI agents with real-time AI ecosystem data (news, status, pricing, latency) and premium tools paid via USDC on Base, compatible with any MCP client.24124 npm1MIT