Rudow Local MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Rudow Local MCP Server
Let your AI coding agent read your own log files. Ask things like:
"Why is checkout failing right now?"
"What is our p95 latency on
/api/checkout?""Show me the errors around 09:15 today."
"Are there any incidents in these logs?"
This server runs entirely on your machine. It reads the log files you point it at, parses them in memory, and answers over MCP. No account, no cloud, no network calls, nothing leaves the machine.
It is the free, standalone, local-first sibling of Rudow, the hosted log observability product. It mirrors the read tools of Rudow's hosted MCP server, with one change: the hosted server takes a project_id, this one takes a source, which names one of your configured log files.
Try it in one command
npx -y rudow-local-mcpWith no arguments it loads examples/sample.log from the package, a small app log with a baked-in incident: a deploy at 09:15 followed by a database error spike on /api/checkout. Point any MCP client at it and ask what broke.
Related MCP server: LogAnalyze-MCP
Install
Requires Node.js 18 or later.
npm install
npm run buildRun it:
# One file
node dist/index.js /var/log/myapp/app.log
# Several files
node dist/index.js /var/log/myapp/app.log /var/log/myapp/worker.log
# Or with npm start
npm start -- /var/log/myapp/app.logConfigure your log files
Four ways, highest priority first:
Command line arguments. Paths, or
--log <path>(repeatable).Environment variable.
RUDOW_LOCAL_LOG_PATHS, comma separated:RUDOW_LOCAL_LOG_PATHS=/var/log/myapp/app.log,/var/log/nginx/access.log node dist/index.jsJSON config file.
--config <path>,RUDOW_LOCAL_CONFIG, or./rudow-local.json:{ "sources": [ { "name": "app", "path": "/var/log/myapp/app.log" }, { "name": "web", "path": "/var/log/nginx/access.log" } ] }A plain list works too:
{ "logPaths": ["/var/log/myapp/app.log"] }.Fallback. With nothing configured, the server loads the bundled
examples/sample.logso it works out of the box.
A source name defaults to the file name without its extension. Files are re-read when they change, so a growing log is picked up on the next tool call without restarting the server.
Connect your editor
Claude Code
claude mcp add rudow-local --env RUDOW_LOCAL_LOG_PATHS=/var/log/myapp/app.log -- npx -y rudow-local-mcpOr add it to .mcp.json in your project:
{
"mcpServers": {
"rudow-local": {
"command": "npx",
"args": ["-y", "rudow-local-mcp"],
"env": { "RUDOW_LOCAL_LOG_PATHS": "/var/log/myapp/app.log" }
}
}
}Cursor (.cursor/mcp.json):
{
"mcpServers": {
"rudow-local": {
"command": "npx",
"args": ["-y", "rudow-local-mcp"],
"env": { "RUDOW_LOCAL_LOG_PATHS": "/var/log/myapp/app.log" }
}
}
}VS Code (.vscode/mcp.json):
{
"servers": {
"rudow-local": {
"command": "npx",
"args": ["-y", "rudow-local-mcp"],
"env": { "RUDOW_LOCAL_LOG_PATHS": "/var/log/myapp/app.log" }
}
}
}Windsurf (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"rudow-local": {
"command": "npx",
"args": ["-y", "rudow-local-mcp"],
"env": { "RUDOW_LOCAL_LOG_PATHS": "/var/log/myapp/app.log" }
}
}
}Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"rudow-local": {
"command": "npx",
"args": ["-y", "rudow-local-mcp"],
"env": { "RUDOW_LOCAL_LOG_PATHS": "/var/log/myapp/app.log" }
}
}
}Supported log formats
The parser auto-detects the format per file, and per line where a file mixes formats:
JSON lines, with
level,message,timestamp,status,route,methodand latency fields where present. Alternate field names are accepted (msgfor message,timeortsfor timestamp,severityfor level,duration_msfor latency).Apache / Nginx combined access logs. The level is derived from the status code (5xx is error, 4xx is warn).
Plain text with timestamps. ISO (
2026-11-27T09:15:00Z),YYYY-MM-DD HH:MM:SS, or syslog style (Nov 27 09:15:00), with an optional level token and request details in the rest of the line.
Lines that do not parse are kept as unparsed entries. They still count, and they are still searchable as raw text. list_sources reports how many lines per file were unparsed.
Tools
All tools take an optional source (a name from list_sources). Omit it to use all sources. Time windows (minutes, default 60) are measured back from the newest entry in the loaded files, not from wall-clock time, because local log files are often older than the moment you read them.
Tool | What it does |
| Lists the configured log files: name, path, format, entry count, time range, unparsed count. Call this first. |
| Log entries filtered by level, source, text substring and time window. Newest first. Default 50 rows, max 200. |
| A time-balanced sample over a larger window, instead of only the latest lines. |
| Counts grouped by |
| Health overview: volume, error rate, average and p95 latency where parseable, top routes, top errors. |
| Requests, error count and rate, average and p95 latency, top error routes. |
| Volume, error rate and latency over time in 12 buckets. |
| Latency percentiles (p50 to p99) and a histogram. |
| Top routes by volume and error count. |
| Breakdown of log levels with counts and shares. |
| Deep dive into one route: requests, error rate, latency, errors by status. |
| The log entries just before and after a timestamp. |
| Incidents detected in the local logs, newest first. |
| Why an incident fired (signals with observed vs usual), top error groups, timeline. |
Incident detection
Detection is deterministic, with no model and no network. Log entries are grouped into time buckets. A bucket fires when it holds at least 3 errors, at least a 25% error rate, and at least twice the baseline error rate (the median of the other buckets). Neighbouring firing buckets merge into one incident. Supporting signals are reported alongside the spike:
new_error: error messages in the window that never appeared earlier in the file.
latency_rise: p95 latency at least twice the baseline.
traffic_drop: volume per bucket at most 40% of the usual volume.
Locally detected incidents are always open. There is no resolve action here; that belongs to hosted Rudow.
Out of scope
semantic_searchis not implemented. It needs embeddings and a vector store, which do not fit a local, no-network tool. Usequery_logswith a text substring instead.Hosted setup and incident-action tools are not implemented.
create_project,create_ingest_key,check_ingestion,resolve_incident,request_postmortemandupdate_postmortembelong to hosted Rudow, where projects, teams and post-mortems live.
Privacy
Everything runs locally. The server reads only the log files you configure, parses them in memory on your machine, and answers MCP tool calls over stdio. It makes no network calls at all: it imports no HTTP client, needs no account, no API key and no sign-in, and it sends your logs nowhere. Your logs never leave the machine. The only files it reads are the ones you point it at.
Tests
npm testThis builds the project and runs the test suite: unit tests for parsing, aggregation and incident detection, plus integration tests that spawn the server over stdio and call tools through a real MCP client.
Going further with Rudow
This tool covers your own log files on your own machine. Hosted Rudow adds what a local file reader cannot: live log ingest from your running apps, teams and shared projects, history beyond what is on disk, alerting, automatic incident detection and post-mortems from live logs, and semantic search across everything you have logged. Same idea, same read-only approach, for production systems.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Ingest and search LogsLoom logs from coding agents.
Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to analyze, cluster, compare, and export reports from local log files through seven read-only tools, returning compact evidence packs with line-number citations instead of raw log dumps. All processing happens on the local machine, so log data never leaves the environment.1,388 PyPI1MIT
- AlicenseAqualityBmaintenanceEnables AI agents such as Cursor and Claude Code to inspect local log files through MCP tools for tailing, searching, filtering, statistics, and root-cause diagnosis using local Ollama or a built-in rule engine.9MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to index local codebases and search them by natural-language intent, find related files through imports and semantic similarity, and check indexing status. All processing runs locally via MCP tools.6Apache 2.0
- AlicenseAqualityCmaintenanceEnables MCP clients to search code, summarize files, and analyze logs locally, using file paths as tool arguments to reduce token usage while keeping processing on the user's machine.3MIT