- 402 Index
402 Index
Search 15,000+ paid API endpoints across L402, x402, and MPP protocols. Real-time health monitoring, pricing, and latency data. No API key required.
Overview
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
npm install -g @402index/mcp-server
mcp-server
Installation
Claude Code
npm install -g @402index/mcp-server
claude mcp add 402index -- mcp-server
Claude Desktop
Install the server, then add to ~/Library/Application Support/Claude/claude_desktop_config.json:
npm install -g @402index/mcp-server
{
"mcpServers": {
"402index": {
"command": "mcp-server"
}
}
}
Cursor
Install the server, then add to .cursor/mcp.json:
npm install -g @402index/mcp-server
{
"mcpServers": {
"402index": {
"command": "mcp-server"
}
}
}
Cline
Install the server, then add to your Cline MCP settings:
npm install -g @402index/mcp-server
{
"mcpServers": {
"402index": {
"command": "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 |
Token-Optimized Defaults (v0.2.0)
Responses are compact by default to minimize token usage in agent workflows:
search_servicesreturns 10 results with 5 fields (name,url,protocol,price_sats,health_status) by defaultfields— Comma-separated field names to return, or*for all 20 fieldsformat—json(default) orcsvfor tabular output (~29% fewer tokens)limit— Results per page (default 10, max 200)
list_categoriesreturns a flat[{name, count}]array by defaultsummary—true(default) for compact output,falsefor full protocol breakdown
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
Server Config
{
"mcpServers": {
"402index": {
"command": "mcp-server"
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Amap Maps高德地图官方 MCP Server