Llama Logger MCP Server

AI-Powered Log Analysis at Your Fingertips

The Llama Logger MCP (Model Context Protocol) Server brings the power of AI directly to your error logs. Seamlessly integrate Llama Logger with Claude, Cursor, VS Code, and other AI-powered development tools to diagnose issues faster than ever before.


Why MCP?

Traditional debugging workflows require you to:

  1. Notice an error in your IDE
  2. Switch to your browser
  3. Navigate to your logging dashboard
  4. Search for the error
  5. Copy relevant details
  6. Return to your IDE
  7. Ask your AI assistant for help

With Llama Logger MCP, your AI assistant queries your logs directly.

Ask questions like:

  • "What errors occurred in the last hour?"
  • "Show me the stack trace for exception abc123"
  • "What's the most common error this week?"
  • "Dismiss all TaskCanceledException errors"

Your AI handles the rest.


Features

Search & Analysis

  • Full-text search across exception types, messages, stack traces, and custom data
  • Smart filtering by severity, status, date range, and custom fields
  • Error grouping by signature to identify patterns
  • Project statistics with activity trends and top exceptions

Workflow Management

  • Star critical errors for follow-up
  • Dismiss noise from your active view
  • Comment on entries to document investigations
  • Ignore rules to auto-dismiss known issues

Quick Start

Prerequisites

  • Active Llama Logger subscription with MCP access
  • Your project API key (found in the Llama Logger portal)

Claude Desktop Setup

Add the following to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "llamalogger": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://intake.llamalogger.com/api/mcp"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Restart Claude Desktop after saving.

Claude Code (CLI) Setup

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "llamalogger": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://intake.llamalogger.com/api/mcp"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor Setup

Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):

{
  "mcpServers": {
    "llamalogger": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://intake.llamalogger.com/api/mcp"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

Tool Description
search_logs Search and filter log entries with full-text search and pagination
get_log_entry Get complete details of a specific log entry
get_log_entry_history View all occurrences of a specific error signature
get_project_summary Get project statistics, top exceptions, and activity trends
star_entry Mark an entry for follow-up
dismiss_entry Hide an entry from active view
restore_entry Clear star or dismiss status
add_comment Add investigation notes to an entry
create_ignore_rule Auto-dismiss future matching errors
list_ignore_rules View all ignore rules
delete_ignore_rule Remove an ignore rule

Example Prompts

Once configured, try these prompts with your AI assistant:

Investigating Errors

"Search for any errors in the last 24 hours"

"Show me the full details and stack trace for log entry [ID]"

"What's the history of this NullReferenceException? When did it first appear?"

"Give me a summary of my project - what are the top exceptions?"

"How many errors occurred in the last 7 days compared to the last 30?"

Managing Workflow

"Star this error for follow-up"

"Add a comment to this entry: 'Investigating - may be related to the auth refactor'"

"Create an ignore rule for TaskCanceledException - these are expected during shutdown"

"Dismiss all the OperationCanceledException errors"


Search Parameters

The search_logs tool supports powerful filtering:

Parameter Type Description
searchText string Full-text search across all fields
status string Normal, Starred, or Dismissed
loggingLevel string Diagnostic, Info, Warning, Error, or Required
exceptionType string Exact exception type name
fromDate ISO 8601 Start of date range
toDate ISO 8601 End of date range
customDataName string Filter by custom data field name
customDataValue string Filter by custom data field value
pageSize integer Results per page (1-100, default 20)
pageNumber integer Page number (default 1)

Security

  • API Key Authentication: All requests require a valid API key
  • Project Isolation: Users can only access their own project data
  • HTTPS Only: All communication is encrypted in transit

Troubleshooting

"Invalid API key" error

  • Verify your API key in the Llama Logger portal
  • Ensure the key is correctly set in your MCP configuration
  • Check that your subscription includes MCP access

Tools not appearing

  • Restart your AI client after configuration changes
  • Verify the configuration file syntax (valid JSON)
  • Check that npx is available in your PATH

No results returned

  • Verify your project has log entries in the specified date range
  • Check that filters aren't too restrictive
  • Ensure your subscription hasn't exceeded data retention limits

Get Started

  1. Sign up at llamalogger.com if you haven't already
  2. Copy your API key from Project Settings
  3. Configure your AI client using the instructions above
  4. Start asking questions about your logs!

Llama Logger MCP Server - Because your AI should know what's breaking.

An error has occurred. This application may no longer respond until reloaded. Reload 🗙