402index

io.github.ryanthegentry由 GitHub 账号 ryanthegentry 发布v0.3.0更新于 Oct 24, 2026

Search 15,000+ paid API endpoints across the L402, x402, and MPP protocols on 402index.io

概览

AI 生成的概览

一个本地 MCP 服务器,让助手搜索并查看 L402、x402 和 MPP 协议下的付费 API 端点目录。

可以做什么
按协议、类别、健康状态和价格搜索与筛选付费 API 服务,并查看单个服务的完整详情及其健康检查历史。列出目录中所有类别及各类服务数量。读取目录整体健康状态、总量和同步时间戳。
适用场景
适合需要让助手为某项任务寻找付费 API、按协议、价格或健康状态比较端点,或在把某个服务接入工作流前了解目录现状的场景。
运行要求
以本地 Node.js 进程运行,需从 npm 包安装并先构建。它会调用 402 Index API,基础地址由环境变量 INDEX_URL 设置,默认指向公共目录。需要网络访问。
安装前请注意
该服务器只读取目录数据,但所列端点均为付费服务,据此采取行动可能产生费用。查询会发送到所配置的索引主机,该主机可通过 INDEX_URL 更改。

安装

在 SourceWeft 中

  1. 打开 控制台中的 402index,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

402 Index MCP Server

MCP server for AI agent service discovery via the 402 Index directory.

Tools

ToolDescription
search_servicesSearch/filter paid API services (protocol, category, health, price, etc.)
get_service_detailGet full details for a single service including health check history
list_categoriesList all categories with service counts
get_directory_statsDirectory health, totals, sync timestamps

Setup

bash
cd mcp-servernpm installnpm run build

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "402index": {      "command": "node",      "args": ["/path/to/402index/mcp-server/dist/index.js"],      "env": {        "INDEX_URL": "https://402index.io"      }    }  }}

Claude Code

Add to .claude/settings.json or run:

bash
claude mcp add 402index node /path/to/402index/mcp-server/dist/index.js

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "402index": {      "command": "node",      "args": ["/path/to/402index/mcp-server/dist/index.js"]    }  }}

Environment Variables

VariableDefaultDescription
INDEX_URLhttps://402index.ioBase URL of the 402 Index API

Example Prompts

  • "Find healthy L402 weather APIs under $0.01"
  • "What categories of paid APIs are available?"
  • "Show me details for service 42"
  • "How many services are in the directory?"

来源:mcp-server/README.md,提交 f6547ba

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分