Lockkeeper — Claude Code MCP server: what it does, how to install
Selects only the matching skills and MCP tools for each coding prompt to save context. Includes a local firewall against prompt injections.
claude mcp add lockkeeper -- uvx lockkeeperWhat Lockkeeper does
Installing numerous agent extensions often fills the prompt window with irrelevant documentation. Lockkeeper indexes skills, commands, and MCP servers across your tools. Instead of loading everything into the active session, it supplies up to 10 relevant capabilities per task alongside direct file locations.
Running as an MCP server exposes three tools: route, search, and audit. The server keeps its catalog cached in memory, ensuring immediate query responses. Its built-in filter inspects skill files and live tool operations, blocking concealed prompt injections and unauthorized data transfers.
Execution relies entirely on the Python 3.11+ standard library without third-party dependencies, extra cloud services, or API credentials. The catalog remains empty until you run lockkeeper rebuild to index existing agent configurations.
What it helps with
- minimize token consumption when working with large skill libraries
- select task-specific MCP tools without cluttering prompt context
- scan external agent plugins for concealed injection attacks
- intercept hostile tool invocations before execution
Example prompts for the agent
- Use Lockkeeper to route capabilities needed for an API refactoring task.
- Run the audit tool on my installed plugins to check for prompt injection.
- Search the local agent library for tools handling data pipeline tests.
How to install Lockkeeper
Platform CLI
claude mcp add lockkeeper -- uvx lockkeeperuvx runs the command named after the package; if the README names another one, use uvx --from lockkeeper <command>
Platform CLI
codex mcp add lockkeeper -- uvx lockkeeperuvx runs the command named after the package; if the README names another one, use uvx --from lockkeeper <command>
Config file
{
"mcpServers": {
"lockkeeper": {
"command": "uvx",
"args": [
"lockkeeper"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from lockkeeper <command>
Config file
{
"servers": {
"lockkeeper": {
"type": "stdio",
"command": "uvx",
"args": [
"lockkeeper"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from lockkeeper <command>
Platform CLI
gemini mcp add lockkeeper uvx lockkeeperuvx runs the command named after the package; if the README names another one, use uvx --from lockkeeper <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Lockkeeper
How to install Lockkeeper in Claude Code?
Register the server in your terminal by running claude mcp add lockkeeper -- uvx lockkeeper.
What does Lockkeeper do?
It indexes your installed capabilities and delivers only the specific skills and tools required for the immediate coding task, while filtering out prompt injections.
What tools does the Lockkeeper MCP server expose?
The server gives the agent three callable functions: route to pick matching capabilities, search to query the index, and audit to scan configurations for security risks.