health_check
Get server health status and metrics
Let a coding agent read your whole project while it can only write to the folder you opened — read-only access, with the root fixed at install time.
LABSCO SUMMARY
The safety property here is structural rather than configured: there are no write tools to disable, the root is derived from the install location instead of a setting, and paths that climb above it are refused. That combination is what makes the workflow work — open the editor on the folder you want changed, and let this expose the rest of the repository read-only, so the agent has the context without the reach.
A read-only view of one project directory. You open your editor on a small folder so writes stay contained, and this gives the agent visibility into the rest of the codebase without the ability to change it.
No account and no key. Install it into the project you want readable — npm install peekaboo-mcp — then run npx peekaboo-mcp with that project as the working directory. The root comes from where the package is installed and cannot be overridden: the PEEKABOO_ROOT variable was removed in 2.0.0 precisely so a model or a malicious caller cannot repoint it. PEEKABOO_RECURSIVE=false turns off recursive listing and PEEKABOO_MAX_DEPTH changes the depth, which defaults to 10. Resource limits default to a 30 second timeout, 10MB per file and 100MB in total, and are adjustable when the server is created programmatically.
One command — npm install peekaboo-mcp
USE CASES
Point it at the project read-only while your editor stays open on the folder you do want changed.
Search file contents with an include filter to narrow the file types.
Search paths by glob pattern.
Read the health status and metrics.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
health_checkGet server health status and metrics
search_contentSearch for content within files
search_pathSearch for files and directories by name pattern
BEFORE YOU INSTALL
3 tools when we connected. health_check is undocumented. File listing and reading are MCP resources (file:// URIs), not tools.
npx on PATH
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install peekaboo-mcp{
"mcpServers": {
"peekaboo": {
"command": "npx",
"args": [
"peekaboo-mcp"
],
"cwd": "<YOUR_PATH_TO_PROJECT>"
}
}
}claude mcp add peekaboo npx peekaboo-mcp{
"mcpServers": {
"peekaboo": {
"command": "npx",
"args": [
"-y",
"peekaboo-mcp"
],
"cwd": "<YOUR_PATH_TO_PROJECT>"
}
}
}