🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@402index/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@402index/mcp-server

MCP server for 402 Index — search 15,000+ paid API endpoints across L402, x402, and MPP protocols with real-time health monitoring

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

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

cd mcp-server
npm install
npm run build

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.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:

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

Cursor

Add to .cursor/mcp.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?"

Keywords

mcp

FAQs

Package last updated on 23 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts