# Agent Index

> Agent Index is an open-source MCP server. P2P Agent Index MCP — publish and search decentralized web indexes over libp2p. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://web-iota-topaz-23.vercel.app/nodes
- **Repository:** https://github.com/agent-idx/mcp
- **MCP Registry name:** io.github.agent-idx/mcp
- **Listing updated:** 2026-11-13

## About

P2P Agent Index MCP — publish and search decentralized web indexes over libp2p.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp -- npx -y @agent-idx/client
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-idx/client"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-idx/client"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agent-idx/client"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-idx/client"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-idx/client"
      ]
    }
  }
}
```

## FAQ

### Is Agent Index free?

Yes. Agent Index is open source, so you can use and self-host it for free.

### How do I add Agent Index to Claude Code?

Run this command in your terminal: claude mcp add mcp -- npx -y @agent-idx/client

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-index
