x402 Data Hub
An official Model Context Protocol (MCP) server that provides AI agents with native, real-time access to high-value developer datasets. Currently supports SaaS/AI pricing comparisons, trending developer discussions (V2EX), and real-time Base/Arbitrum gas rates. Free Open Beta is active.
README
🚀 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.
🛠️ Setup Guide (3-Step Installation)
Step 1: Install Dependencies
Ensure you have Python installed, then install the MCP library:
pip install mcp
Step 2: Download the Server
Clone the repository to your local machine:
git clone https://github.com/alexchai-dev/cloudflare-data-hub.git
Step 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-hub - Type:
stdio - Command:
python /path/to/cloudflare-data-hub/mcp_server.py
- Name:
- 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.