Wherewent MCP server
io.github.habibafaisal/wherewent·v0.4.1Zero-config SQL flight recorder for slow Python/SQLAlchemy jobs: exact call site, count, and fix.
0 stars14 downloads/wk
Reviews
Write oneNobody has reviewed Wherewent yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Wherewent tools (2, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_jobwrite actionRun a Python/SQLAlchemy job under wherewent and return WHY it was slow.
explain_runwrite actionReturn the enriched analysis from a saved wherewent JSON file.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan12 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 56 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumsubprocess with shell=True
exec.shell-truewherewent-0.4.1/src/wherewent/mcp_server.py: …ST executed directly (no shell, no `shell=True`) — there is no shell interpolation and…
How Wherewent compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 50% of 802 Databases servers
- Tools
- 2
- the typical Databases server has 8
- Tools that change things
- 100%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 14
- more than 3% of 328 Databases servers with a package
What its tools let an agent do: 2 change
Install Wherewent in Claude Code, Cursor or VS Code
claude mcp add wherewent -- uvx wherewent
What the publisher says
From the Wherewent repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.habibafaisal/wherewent -->
wherewent
Where did the time go? Find out in one command.
A zero-config recorder that answers "why did this Python batch job take so long?"
Run it from your shell — or as an MCP server an AI agent invokes directly.
wherewent run python your_job.pyThe 0.4ms query that costs you 5 minutes
A query can be individually fast — 0.4ms — and still sink your job, because it's called 500,000 times from a single line of code. Your app burns 300 seconds on round-trips while Postgres itself only worked for 80. Every profiler you've tried shows you "time spent in psycopg" and stops there.
wherewent shows you the calling pattern. It groups queries by shape, counts how often each shape ran, sums the wall time, and points at the exact file:line in your code that fired it — then tells you, in plain English with the arithmetic shown, what to do about it.
====================================================================================================
wherewent — SQL flight recorder
----------------------------------------------------------------------------------------------------
wall: 26.15s cpu: 25.41s (97% CPU busy) queries: 20,004 commits: 20,001 rollbacks: 1
in-DB time: 5.46s (20.9% of wall; app-observed: includes network+driver+server)
commit time: 9.06s total rows: 20,000
recording added ~1.81s (~6.9% of wall)
====================================================================================================
QUERY GROUP CALLS TOTAL MEDIAN CALL SITE
----------------------------------------------------------------------------------------------------
INSERT INTO events (name, value) VALUES (?, ?) 20,000 5.46s 0.24ms demo/naive_job.py:65 in main
SELECT count(*) AS count_1 FROM events 1 0.00s 0.16ms demo/naive_job.py:71 in main
====================================================================================================
FINDINGS
----------------------------------------------------------------------------------------------Why it's different
Install
pip install wherewentThat's it — the recorder is pure standard library. You only need SQLAlchemy because your job already uses it.
Use it
Wrap any command. Your script runs completely unmodified — no imports, no decorators, no config:
wherewent run python your_job.py --some arg
wherewent run python -m your_package
wherewent run --save run.json python your_job.py # also dump machine-readable JSONShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Wherewent: common questions
- Is Wherewent MCP server safe?
- Mostly: it is graded B (80/100). Read the Wherewent safety report
- How do I install Wherewent?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Wherewent need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Wherewent maintained?
- The last commit was 96 days ago (2026-07-30). The latest release is v0.4.1.
- What can I use instead of Wherewent?
- Servers from other publishers that do the same job: Gnosis MCP server, DBHub MCP server and Motherduck MCP server.
- How does Wherewent compare with other Databases MCP servers?
- safety score 80/100 (higher than 50% of 802 Databases servers); tools 2 (the typical Databases server has 8); tools that change things 100% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Wherewent
Same job from other publishers: the closest match first, then the best rated.
- Gnosis MCPZero-config MCP server for searchable documentation. SQLite or PostgreSQL.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- MotherduckSQL analytics and data engineering for AI Assistants and IDEsnot reviewedEstablishedA
- KeboolaConnect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...not reviewedEstablishedA
- Run402x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions.not reviewedEstablishedB