402 Index MCP Server
About
MCP server for 402 Index: discover 15,000+ paid API endpoints across the L402, x402, and MPP protocols
Details
- Author
- ryanthegentry
- Downloads
- 270
- Categories
- Other, API
Jump to
- Search over 15,000 paid API endpoints by keyword, protocol, category, and health status.
- Retrieve full service details including health history, latency, pricing, and payment verification.
- Browse all API categories with per‑protocol endpoint counts.
- Directory‑wide health stats, protocol breakdown, and sync timestamps.
- Every endpoint is health‑checked hourly with latency and reliability scoring.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
402 Index MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install and run the server via npx @402index/mcp-server. Add it to Claude Desktop, Claude Code, or Cursor by placing the command in the respective configuration file (e.g., claude_desktop_config.json or .cursor/mcp.json). No API key is required. Optionally set the INDEX_URL environment variable to point to a different base URL.
search_services
Search and filter paid API services in the 402 Index directory. Returns services with health status, pricing, and protocol info. Includes `related_protocols` array showing other payment rails for the same URL.
get_service_detail
Get full details for a single service including health check history, pricing, and schema information. Includes `related_services` array with sibling payment rail details.
list_categories
List all service categories with counts. Example: "What categories of paid APIs are available?"
get_directory_stats
Get overall directory health and stats: total services, breakdown by protocol/health/source, and sync timestamps. Example: "How many services are in the directory?"
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"402 index mcp server": {
"402index": {
"command": "npx",
"args": [
"@402index/mcp-server"
]
}
}
}
}
McpServers
{
"402index": {
"command": "npx",
"args": [
"@402index/mcp-server"
]
}
}
402 Index MCP Server
> Search 15,000+ paid API endpoints across L402, x402, and MPP protocols with real-time health monitoring.
The 402 Index is the world's largest directory of paid API endpoints for AI agents. This MCP server gives your agent access to search, filter, and evaluate paid APIs before spending money.
Quick Start
npx @402index/mcp-server
Installation
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"402index": {
"command": "npx",
"args": ["@402index/mcp-server"]
}
}
}
Claude Code
claude mcp add 402index -- npx @402index/mcp-server
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"402index": {
"command": "npx",
"args": ["@402index/mcp-server"]
}
}
}
Tools
| Tool | Description |
|------|-------------|
| search_services | Search 15,000+ paid APIs by keyword, protocol (L402/x402/MPP), category, health status, price, and more |
| get_service_detail | Full details for a service including health history, latency, pricing, and payment verification |
| list_categories | Browse all API categories with per-protocol endpoint counts |
| get_directory_stats | Directory-wide health stats, protocol breakdown, and sync timestamps |
What Can Your Agent Discover?
- L402 (Lightning) — Self-custodial Bitcoin micropayments. 477 endpoints from providers like mutinynet faucet, sats4ai, LightningEnable.
- x402 (Coinbase/Solana) — USDC stablecoin payments on Base/Solana. 14,478 endpoints from Bazaar, Satring, Sponge.
- MPP (Stripe/Tempo) — Fiat-native machine payments. 488 endpoints from OpenAI, Anthropic, Google Gemini, Firecrawl, Replicate.
Every endpoint is health-checked hourly with latency measurements and reliability scoring.
Example Prompts
- "Find healthy L402 APIs for weather data under $0.01"
- "What paid inference APIs are available and which have the best uptime?"
- "Show me all podcast-related paid APIs"
- "Which API categories have the most endpoints?"
- "Get details on the sats4ai image generation endpoint"
Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| INDEX_URL | https://402index.io | Base URL of the 402 Index API |
Links
- Website: https://402index.io
- API Docs: https://402index.io/api-docs
- OpenAPI Spec: https://402index.io/api/v1/openapi.json
- llms.txt: https://402index.io/llms.txt
- npm: https://www.npmjs.com/package/@402index/mcp-server
License
MIT
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




