Fetch Agents MCP Server

MCP server providing AI-powered code analysis, context compression, and knowledge search tools for Claude Code, Cline, and other MCP-compatible AI assistants.

Local serverstdio

What is the Fetch Agents MCP Server?

Fetch Agents is an MCP project maintained in the softwarevalete/fetch-agents-mcp repository. The maintainer describes its purpose as “MCP server providing AI-powered code analysis, context compression, and knowledge search tools for Claude Code, Cline, and other MCP-compatible AI assistants”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares FETCH_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
slim_codeReduce a code file to only sections relevant to your task
map_layersList all LAYER sections in a code file
extract_layerExtract one specific named LAYER section
compress_textCompress long text while preserving key information
analyze_contextFind noise and wasted tokens in conversations
teleport_chatIndex a chat export into searchable knowledge base
search_knowledgeSearch indexed knowledge bases

How to install the Fetch Agents MCP Server

{
  "mcpServers": {
    "fetch-agents": {
      "command": "python",
      "args": [
        "mcp_server.py"
      ],
      "cwd": "/path/to/fetch-agents-mcp",
      "env": {
        "FETCH_API_KEY": "YOUR_FETCH_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
FETCH_API_KEYDeclared in the maintainer’s client configuration.Check documentation