About Mcp Server Seq
Mcp Server Seq connects MCP clients to Seq’s logging and monitoring API. It supports filtered event and signal queries, alert-state checks, and includes the seq-ops skill for structured log investigations.
Key features
- 01Filter signals by owner and sharing
- 02Query events by signal, expression, and time
- 03Check current alert state
- 04List shared signals as resources
- 05seq-ops investigation skill
Use cases
- 01Review recent events during incident triage
- 02Check logs for a chosen time range or signal
- 03Inspect alert state during health checks
MCP support
Exposes Seq signal and event queries, alert state, and shared-signal resources to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESeq MCP Server
MCP Server for Seq's API endpoints for interacting with your logging and monitoring system. This server provides comprehensive access to Seq's API features through the Model Context Protocol.
Features
Tools
Signals Management
get_signals- Fetch signals with filtering options- Filter by owner ID
- Filter shared/private signals
- Support for partial matches
Event Management
get_events- Retrieve events with extensive filtering options- Filter by signal IDs
- Custom filter expressions
- Configurable event count (max 50)
- Flexible time range options
- Date range filtering
Alert Management
get_alert_state- Retrieve the current state of alerts
Resources
Signals Listing
signals- List all shared signals with detailed information- Signal ID
- Title
- Description
- Sharing status
- Owner information
Configuration
The server requires the following environment variables:
SEQ_BASE_URL(optional): Your Seq server URL (defaults to 'http://localhost:8080')SEQ_API_KEY(required): Your Seq API key
seq-ops Skill
This repo includes a Claude skill for Seq log analysis and incident investigation. Once the MCP server is connected, the skill guides Claude through structured investigations — health checks, incident triage, post-deployment monitoring — and produces consistent, actionable reports.
Install the skill:
# From the releases page, download seq-ops.skill, then:
claude skill install seq-ops.skill
Or install directly from this repo:
npx skills add ahmad2x4/mcp-server-seq
The skill automatically activates when you ask things like "morning health check", "something is broken in prod", "check the logs for timeouts", or "investigate the PPSR integration".
Usage with Claude Code
Run the following command to add the server:
claude mcp add --transport stdio \
--env SEQ_BASE_URL=http://localhost:5341 \
--env SEQ_API_KEY=your-api-key \
seq -- npx -y mcp-seq
To share the configuration with your team, use the --scope project flag (saves to .mcp.json):
claude mcp add --transport stdio --scope project \
--env SEQ_BASE_URL=http://localhost:5341 \
--env SEQ_API_KEY=your-api-key \
seq -- npx -y mcp-seq
Windows users: Replace
npx -y mcp-seqwithcmd /c npx -y mcp-seqto avoid "Connection closed" errors.
Verify the server is connected by running /mcp inside Claude Code.
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"seq": {
"command": "npx",
"args": ["-y", "mcp-seq"],
"env": {
"SEQ_BASE_URL": "your-seq-url",
"SEQ_API_KEY": "your-api-key"
}
}
}
}
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run dev
Run tests:
npm run test-script
Time Range Options
The get-events tool supports the following time range options:
1m- Last minute15m- Last 15 minutes30m- Last 30 minutes1h- Last hour2h- Last 2 hours6h- Last 6 hours12h- Last 12 hours1d- Last day7d- Last 7 days14d- Last 14 days30d- Last 30 days
Installation
Install globally via npm:
npm install -g mcp-seq
Or use directly with npx — no installation required (as shown in the configuration examples above).
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. The server implements proper error handling and logging for all operations. You can run the test script to verify functionality:
npm run test-script
Type Safety
The server implements comprehensive type safety using:
- TypeScript for static type checking
- Zod schema validation for runtime type checking
- Proper error handling and response formatting
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.