rwagenthub-mcp
v1.0.10
Published
MCP server for AgentHub — 32 AI APIs (flights, weather, crypto, stocks, DeFi, web scraping, geocoding, IP reputation, blockchain data...) paid via x402 USDC on Base
Downloads
1,160
Maintainers
Readme
rwagenthub-mcp
MCP server for AgentHub — gives any MCP-compatible AI client access to 19 APIs (flights, hotels, weather, crypto, DeFi, web search, code execution, and more) paid automatically via x402 USDC micropayments on Base.
Requirements
- Node.js >= 22
- A Base wallet with a small USDC balance (most APIs cost $0.01–$0.06 per call)
Setup
1. Get a wallet private key
Create a dedicated wallet on Base Mainnet and fund it with a few USDC. You can use Coinbase Wallet or any EVM wallet.
Use a dedicated wallet with a small balance — not your main wallet.
2. Add to your MCP client config
Claude Desktop — edit claude_desktop_config.json:
{
"mcpServers": {
"agenthub": {
"command": "npx",
"args": ["-y", "rwagenthub-mcp"],
"env": {
"MCP_WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Cursor / Cline / Windsurf — same config format, check your client's MCP settings.
3. Restart your client
The server fetches the latest API list from the gateway on startup — no manual updates needed.
Available tools
| Tool | Description |
|------|-------------|
| flight_search | Search flights between airports (Duffel) |
| flight_status | Get flight status by carrier + number |
| seat_map | Seat map for a Duffel offer |
| airport_search | List airports by country |
| hotel_search | Search hotels in a city (Amadeus) |
| activities_search | Tours and activities near a location |
| web_search | Google search results (Serper) |
| web_search_ai | AI-powered search with summaries (LangSearch) |
| places_search | Places and businesses via Google Maps data |
| image_search | Image search |
| shopping_search | Product search across online stores |
| weather_forecast | Current + 15-day forecast (Visual Crossing) |
| url_extract | Extract text content from any URL |
| exchange_rate | Currency exchange rates (ECB/Frankfurter) |
| crypto_price | Crypto prices and 24h change |
| defi_market_snapshot | DeFi TVL, top protocols, DEX volume (DeFiLlama) |
| defi_yields | Best yield farming pools (DeFiLlama) |
| code_exec | Execute code in an isolated sandbox (e2b) |
| email_send | Send transactional email (Resend) |
Each tool shows its current price in the description when loaded. Prices are in USDC, charged per call via x402 on Base Mainnet.
How it works
Your MCP client (Claude Desktop, Cursor, etc.)
│ stdio
▼
rwagenthub-mcp (this package)
│ POST /v1/call + x402 auto-payment
▼
AgentHub Gateway (Railway)
│
▼
Flights · Hotels · Weather · Crypto · DeFi · Search · ...On startup, the server fetches the live API schema from the gateway — so new APIs and price changes are reflected automatically without updating the package.
License
MIT
