JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 51
  • Score
    100M100P100Q93772F

MCP server for 402 Index — AI agent service discovery

Package Exports

  • @402index/mcp-server
  • @402index/mcp-server/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@402index/mcp-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

402 Index MCP Server

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

Tools

Tool Description
search_services Search/filter paid API services (protocol, category, health, price, etc.)
get_service_detail Get full details for a single service including health check history
list_categories List all categories with service counts
get_directory_stats Directory 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

Variable Default Description
INDEX_URL https://402index.io Base 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?"