I

Indexio

by IOServicesLabs · io.github.IOServicesLabs/indexio

Enables AI coding agents to search and navigate indexed codebases through lexical, semantic, and hybrid queries, with tools for symbols, call graphs, outlines, spans, impact analysis, and recall.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

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

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ioserviceslabs-indexio": {
      "command": "npx",
      "args": [
        "-y",
        "indexio"
      ],
      "env": {
        "INDEXIO_REPO": "<VALUE>",
        "INDEXIO_EXPAND": "<VALUE>",
        "INDEXIO_DATA_DIR": "<VALUE>",
        "INDEXIO_NO_USAGE": "<VALUE>",
        "INDEXIO_EMBED_DIM": "<VALUE>",
        "INDEXIO_EMBED_KEY": "<VALUE>",
        "INDEXIO_EMBED_BASE": "<VALUE>",
        "INDEXIO_MCP_FORMAT": "text",
        "INDEXIO_RERANK_KEY": "<VALUE>",
        "INDEXIO_EMBED_MODEL": "<VALUE>",
        "INDEXIO_NO_AUTO_ADD": "<VALUE>",
        "INDEXIO_RERANK_BASE": "<VALUE>",
        "INDEXIO_RETAIN_DAYS": "30",
        "INDEXIO_FUSE_WEIGHTS": "0.5,1.0,0.3",
        "INDEXIO_RERANK_MODEL": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
INDEXIO_REPO No The repository an MCP session works in. Default: the one that contains the working directory. Also settable with `indexio mcp --repo`.
INDEXIO_EXPAND No Enable thesaurus query expansion. Off by default; it measured worse.
INDEXIO_DATA_DIR No Data directory. Default is ~/.indexio. Also settable with the --data-dir flag.
INDEXIO_NO_USAGE No Do not write the usage log. For benchmarks.
INDEXIO_EMBED_DIM No Embedding dimension for the OpenAI-compatible embeddings endpoint.
INDEXIO_EMBED_KEY No API key for the embeddings gateway, only if the gateway needs it.
INDEXIO_EMBED_BASE No Base URL of an OpenAI-compatible embeddings endpoint.
INDEXIO_MCP_FORMAT No MCP tool result format: `text` (default) or `json`. Default: text
INDEXIO_RERANK_KEY No API key for the reranker endpoint.
INDEXIO_EMBED_MODEL No Model name for the OpenAI-compatible embeddings endpoint.
INDEXIO_NO_AUTO_ADD No A session does not add its unregistered checkout to the index.
INDEXIO_RERANK_BASE No Base URL of a reranker endpoint.
INDEXIO_RETAIN_DAYS No Days that run logs and rendered session transcripts are kept. Default 30, 0 keeps everything. Default: 30
INDEXIO_FUSE_WEIGHTS No Hybrid leg weights `lex,bm25,sem`. Default `0.5,1.0,0.3`. Default: 0.5,1.0,0.3
INDEXIO_RERANK_MODEL No Model name for the reranker endpoint.

Similar servers