MCP Integration

Let Claude analyze your logs

Connect Recall to Claude Code via MCP. Search logs, find patterns, and debug issues with natural language.

What is MCP?

Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude securely connect to external tools and data sources.

With the Recall MCP server, Claude Code can directly query your logs, search for patterns, and help you debug issues - all through natural conversation.

  • Search logs with natural language
  • Correlate errors across requests
  • Identify patterns and anomalies

Claude Code

Your AI coding assistant

MCP

Recall

Your structured logs

Setup in 2 minutes

Connect Recall to Claude Code

1

Install the MCP server

npm install -g @brainzlab/recall-mcp
2

Add to your Claude Code config

// ~/.claude/config.json
{
  "mcpServers": {
    "recall": {
      "command": "recall-mcp",
      "args": ["--api-key", "YOUR_API_KEY"]
    }
  }
}
3

Start using with Claude

Open Claude Code and ask about your logs naturally:

"Show me all errors from the last hour in the orders service"

What you can do

Natural language log analysis

Find all logs where user_id is 12345 and level is error

Search by structured fields

What happened in the 5 minutes before the timeout error at 3:42pm?

Temporal context analysis

Show me the slowest requests today and what they have in common

Pattern recognition

Correlate this error with the user's previous requests

Request correlation

Are there any unusual spikes in error rates right now?

Anomaly detection

Summarize what went wrong during the deployment at 2pm

Incident analysis

MCP Tools

Tools available to Claude

recall_search

Search logs with structured queries

params: query, time_range, limit

recall_get_context

Get logs around a specific timestamp

params: timestamp, window, filters

recall_aggregate

Aggregate logs by field values

params: group_by, metric, time_range

recall_trace

Get full request trace by ID

params: trace_id

Ready to debug smarter?

Get started with Recall and Claude Code today.