Connect Claude (claude.ai or Claude Code) to your BunnyLogs logspace over the Model Context Protocol. Claude can post log entries, search history, and read recent logs without leaving the conversation.
BunnyLogs exposes a Streamable HTTP MCP server at https://bunnylogs.com/mcp. Once connected, Claude gets three tools:
post_log — write a message to your live streamsearch_logs — full-text search across your 30-day log historyget_recent_logs — fetch the most recent entriesClaude.ai uses OAuth — no API key or headers needed. BunnyLogs authenticates you directly.
Go to Settings → MCP & API Keys and pick a default MCP logspace. This is the logspace Claude will read and write when connected via Claude.ai.
Personal account: In Claude.ai, open Settings → Integrations, click Add integration, choose Custom, and enter:
https://bunnylogs.com/mcp
Leave the OAuth Client ID and Client Secret fields blank. Click Add — a BunnyLogs login dialog will appear. Approve access and you're connected.
Organization account: An org admin adds the connector once: Organization settings → Connectors → + Add → Custom, enter the URL above, and save. This makes BunnyLogs available to the whole team, but each member must then activate it individually:
claude.ai/customize/connectors directly).Each user also needs a default MCP logspace set in their own BunnyLogs account (Settings → MCP & API Keys) before the tools will work.
Claude Code supports custom HTTP headers, so it uses an API key instead of OAuth.
bunnylogs.com/live/550e8400-…).Add this to ~/.claude/settings.json (global) or .claude/settings.json inside a project:
{
"mcpServers": {
"bunnylogs": {
"type": "streamable-http",
"url": "https://bunnylogs.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>",
"X-BunnyLogs-UUID": "<your-logspace-uuid>"
}
}
}
}
Or via the CLI:
claude mcp add --transport http bunnylogs https://bunnylogs.com/mcp \
--header "Authorization: Bearer <your-api-key>" \
--header "X-BunnyLogs-UUID: <your-logspace-uuid>"
Restart Claude Code (or run /mcp to reload). The three BunnyLogs tools will appear alongside your other MCP tools.
Write a log entry to the live stream. The entry appears in your browser in real time and is indexed for search.
| Parameter | Default | Description |
|---|---|---|
message | required | The log message text. |
level | INFO | Severity: DEBUG, INFO, WARNING, or ERROR. |
program | claude | Source label shown in the stream (e.g. deploy-bot, claude-code). |
Full-text search over up to 30 days of log history using Elasticsearch.
| Parameter | Default | Description |
|---|---|---|
query | required | Keyword or phrase to search for. |
limit | 20 | Maximum results to return (1–100). |
cursor | none | Pagination cursor returned by a previous call; omit for the first page. |
Fetch the most recent entries in reverse-chronological order.
| Parameter | Default | Description |
|---|---|---|
limit | 50 | Number of entries to return (1–100). |
Once connected, you can ask Claude things like:
program parameter to distinguish between multiple Claude sessions or other log sources posting to the same stream.