Other MCP clients
Loggerhead ships an MCP server. It gives your coding tool five read-only tools: search logs, query metrics, search traces, get one trace, and get the receiver addresses. The server talks to the Loggerhead engine on your Mac over 127.0.0.1. Nothing leaves the machine.
Add it with one click
Section titled “Add it with one click”- Open Loggerhead and click Collectors in the sidebar.
- Select Local OTLP receiver.
- In the AI coding tools card, click Add next to Claude Desktop.
Loggerhead writes the server into ~/Library/Application Support/Claude/claude_desktop_config.json and keeps every other entry in that file. It leaves a copy of the previous file beside it with the extension .bak. Restart Claude Desktop, and the Loggerhead tools appear.
The server finds the engine by itself. You do not set a port, and the entry survives a restart.
Add it by hand
Section titled “Add it by hand”The AI coding tools card covers Claude Desktop too. For any other client, use the shape below.
The general shape
Section titled “The general shape”Every MCP client needs the same two facts: the command to start, and the engine address.
| Field | Value |
|---|---|
| Command | /Applications/Loggerhead.app/Contents/Resources/loggerhead-mcp |
| Arguments | none |
| Transport | stdio |
Claude Desktop
Section titled “Claude Desktop”Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{ "mcpServers": { "loggerhead": { "command": "/Applications/Loggerhead.app/Contents/Resources/loggerhead-mcp" } }}Gemini CLI
Section titled “Gemini CLI”Add to ~/.gemini/settings.json under mcpServers with the same command and arguments. Restart the CLI.
VS Code
Section titled “VS Code”Add the server to the workspace .vscode/mcp.json with type stdio, the same command, and the same arguments.
To send the project’s own logs, metrics, and traces to Loggerhead, paste the prompt from Connect your project with one prompt.
See What the server exposes for the tools and the one resource.