culprit-fleet
OfficialProvides fleet-level investigation of MySQL databases using archived telemetry, including fleet overview, incident investigation, time-window queries, and execution plan diffs.
Provides fleet-level investigation of PostgreSQL databases using archived telemetry, including fleet overview, incident investigation, time-window queries, and execution plan diffs.
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.
Culprit Fleet
Self-hosted database fleet command center, archive time-machine, and MCP server for SQL Server, PostgreSQL, and MySQL.
Architecture · 1. Collector · 2. Deploy Fleet · 3. MCP for Agents · Live Demo · Self-Hosting Guide
Architecture
Culprit separates database collection from fleet investigation so engineers and coding agents never need network access or credentials to production databases:
flowchart LR
DB[("SQL Server\nPostgreSQL · MySQL")] -->|"catalog & stats views"| COL["culprit-collector\n(inside DB network)"]
COL -->|"sealed telemetry &\ndiagnoses"| SINK[("ClickHouse + S3\nor ADX + Blob")]
SINK -->|"read-only"| FLEET["culprit-fleet\n(Web UI + POST /mcp)"]
IDP["Microsoft Entra ID\n/ OIDC"] -->|"RBAC & audit"| FLEETZero production blast radius:
culprit-fleetreads exclusively from your analytical archive (ClickHouse + S3 or Azure Data Explorer + Azure Blob). You can investigate lock storms, deadlocks, wait spikes, schema bloat, and execution plan flips hours or weeks after the database has recovered or scaled down.Multi-region scale units: Connect dozens of regional shards in one configuration (config/web.regional.example.json) with per-archive and per-database RBAC mapped from Microsoft Entra ID / OIDC claims.
Built-in MCP server: Exposes the same read-only fleet, incident, workload, and plan-diff tools at
POST /mcpunder the user's Entra ID identity and audit log.
Related MCP server: mcp-sql-querystore
1. Deploy the Collector
Run culprit-collector inside each database network/VPC to capture lightweight catalog and DMV/pg_stat snapshots, run Culprit's diagnostic engine locally, and publish sealed captures to ClickHouse + S3 or ADX + Azure Blob:
helm upgrade --install culprit-collector oci://ghcr.io/culpritsql/charts/culprit-collector \
--namespace culprit --create-namespace \
-f collector-values.yamlFull collector setup, sink schemas, and database least-privilege grants: culprit-sql-studio → docs/collector.md.
2. Deploy Culprit Fleet
Point culprit-fleet at your published archive(s) and OIDC provider (config/web.example.json) and deploy with one Helm command:
helm upgrade --install culprit-fleet oci://ghcr.io/culpritsql/charts/culprit-fleet \
--namespace culprit --create-namespace \
--set imageTag=main \
--set config.existingConfigMap=culprit-fleet-config \
--set existingSecret=culprit-fleet-credentials \
--set persistence.existingClaim=culprit-fleet-stateOr run the multi-arch container (linux/amd64, linux/arm64) directly with Docker:
docker run --rm -p 127.0.0.1:8080:8080 \
-v "$PWD/runtime/config:/run/config:ro" \
-v culprit-fleet-state:/var/lib/culprit-fleet \
-v "$PWD/runtime/secrets:/run/secrets:ro" \
ghcr.io/culpritsql/culprit-fleet:mainFull configuration for Microsoft Entra ID / OIDC role mapping, per-database grants, ClickHouse/ADX credentials, and Ingress TLS: docs/self-hosting.md.
3. Connect Coding Agents (MCP)
Coding agents (Claude Code, Cursor, VS Code) connect directly to POST /mcp using OAuth 2.1 / Microsoft Entra ID Bearer tokens — zero static API keys, identical RBAC grants, and full access_audit logging:
# Auto-discovers /.well-known/oauth-protected-resource, or pass an Azure CLI Entra token:
TOKEN="$(az account get-access-token --resource api://<ENTRA-CLIENT-ID> --query accessToken -o tsv)"
claude mcp add --transport http culprit-fleet "https://fleet.example.com/mcp" \
--header "Authorization: Bearer ${TOKEN}"Exposed tools: list_archives, fleet_overview, investigate_incident, query_database_window, diff_execution_plans.
Try the Demo
Open the hosted interactive demo in your browser (static mode, zero backend required), or run the local demo server with Bun:
git clone --recurse-submodules https://github.com/culpritsql/culprit-fleet.git
cd culprit-fleet
bun install --frozen-lockfile && bun run demoFor local builds, end-to-end Playwright verification, and ClickHouse/S3 integration tests, see docs/development.md.
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
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Governed SQL access to your databases: redaction, query review and an audit log.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to inspect schemas, analyze performance, check security, and troubleshoot SQL Server 2019+ databases through a safe, controlled interface.-
- AlicenseAqualityBmaintenanceEnables LLM agents to run read-only SQL Server performance diagnostics through Query Store and DMVs, covering regressions, execution plans, parameter sniffing, missing-index impact, and wait statistics across databases.623 PyPI1MIT

Periscope MCPofficial
AlicenseAqualityBmaintenanceGives AI agents strictly read-only query access to PostgreSQL, Oracle, Cosmos DB, Blob Storage, Log Analytics, and Redis, returning each query as a paged or downloadable result set in Parquet or NDJSON rather than inline rows.6MIT- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to safely explore and analyze a database in read-only mode: introspecting schemas and relationships, running SELECT/EXPLAIN analytics queries, and inspecting performance, locks, indexes, and data quality with no risk of modification.2MIT