LocalFree

knock MCP server

HasanGilani/knock

Code map and memory for AI coding agents: key functions, line ranges, callers, why code changed.

5 GitHub stars

Install knock in Claude Code

Claude Code
claude mcp add knock -- uvx knock-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "knock": {
      "command": "uvx",
      "args": [
        "knock-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the knock MCP server do?

Code map and memory for AI coding agents: key functions, line ranges, callers, why code changed.

Is the knock MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does knock run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add knock to Claude Code?

Run: claude mcp add knock -- uvx knock-mcp

More knowledge, memory & rag MCP servers

View all