Paid Business Data MCP Server
MCP server demonstrating paid x402 tools with Pyrimid Protocol integration.
Features
- Free preview tools —
preview_enriched_search,preview_competitive_analysis - Paid tools —
buy_enriched_search($0.10),buy_competitive_analysis($0.25) - HTTP 402 Payment Required — standard x402 flow
- Pyrimid catalog metadata — discoverable by buyer agents
- Groq AI enrichment — llama-3.3-70b for business intelligence
Quick Start
npm install
node src/http-server.js
Endpoints
| Endpoint | Method | Price | Description |
|---|---|---|---|
/api/v1/health |
GET | Free | Health check |
/api/v1/products |
GET | Free | List all paid products |
/api/v1/preview/enriched-search?q=<query> |
GET | Free | Preview enriched search output |
/api/v1/paid/enriched-search?q=<query> |
GET | $0.10 | Full AI-enriched business search |
/api/v1/preview/competitive-analysis |
GET | Free | Preview competitive analysis |
/api/v1/paid/competitive-analysis |
POST | $0.25 | Full competitive analysis report |
x402 Payment Flow
- Call paid endpoint without
X-PAYMENT-TX→ get HTTP 402 - Pay USDC via PyrimidRouter on Base
- Retry with
X-PAYMENT-TX: <tx_hash>header - Receive premium data
License
MIT