Sparkforensics MCP server
io.github.shuffle-works/sparkforensics-mcp·v0.1.0MCP server for diagnosing Apache Spark event-log performance issues and comparing runs.
0 stars116 downloads/wk
Reviews
Write oneNobody has reviewed Sparkforensics yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Sparkforensics tools (5, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_runsCompare two runs: categorized findings delta and metric deltas.
diagnose_runwrite actionDiagnose a Spark run: thresholded findings with remediation text, an impact-ranked fix recommendation rollup, and clean-check status.
evaluate_budgetsEvaluate a run (optionally against a second run for regression budgets) against pass/fail thresholds.
get_finding_evidenceRaw evidence bundle backing one finding, for drill-down after diagnose_run.
get_run_summarywrite actionApp/stage/job/sql counts and duration for a run, no findings.
Public scan report
scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it
- Code scan58 source files scanned25/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 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Sparkforensics compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,243 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 40%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 116
- more than 66% of 12,306 servers with a package
What its tools let an agent do: 2 read · 2 change · 1 run or deploy
Install Sparkforensics in Claude Code, Cursor or VS Code
Runs npx -y sparkforensics-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add sparkforensics-mcp -- npx -y sparkforensics-mcp
What the publisher says
From the Sparkforensics repository's README, as published. We do not edit it. Read it on GitHub
SparkForensics
Your Spark job is slow. SparkForensics tells you why, and what to do about it.
Drop a Spark event log in and get an evidence-backed breakdown of which stages are slow, why, and how to fix them. Nothing installs on your cluster and nothing leaves your machine.
Try it now → with your own event log. No install, no account, no upload.
Your browser doesn't support inline video. Download the demo instead.
Spark's own History Server gives you raw metrics. It won't tell you that stage 14 spilled 40GB because of a skewed join key, or that cold start is eating a third of the job. SparkForensics reads the same event logs and turns them into findings.
Why SparkForensics
dashboard; nothing is uploaded anywhere. An optional local-server mode adds a small Node companion for when a Spark History Server blocks direct browser fetches with CORS.
- No install: it's a static web app. Drop a log file and read the
so a 240MB+ (or multi-GB) NDJSON log doesn't freeze the tab.
- Event logs are streamed and parsed off the main thread in a Web Worker,
pressure, stragglers, cold start, cache/memory utilization, autoscaling churn, job/stage failures and partition sizing, plus a SQL Plan Advisor (duplicate subtrees, small files, broadcast sizing) and a config audit. Full roster in docs-site/contributor-guide/architecture/detector-contract.md.
- About 25 built-in detectors cover skew, shuffle, spill, GC
not severity alone, so the top row is the fix worth doing first.
- Fix These First orders every finding by its estimated wall-clock impact,
runs of the same job and shows which stages regressed, rather than every difference.
- Run comparison (A/B) mode structurally matches stages across two
you know when to trust a flag and when it's a hint worth checking manually.
- Every finding tracks what it could and couldn't confirm from the log, so
run against budget thresholds (max runtime, skew, spill, failure rate...) and exits non-zero on violation, so a regression can fail a build. The run can come from a local event-log file/directory or, with --shs-base-url, fetched directly from a Spark History Server.
- A headless CLI (sparkforensics-analyze) evaluates a
diagnoserun (thresholded findings + remediation text), getrunsummary (app/stage/job/sql counts and duration), compareruns (categorized findings delta between two runs), evaluatebudgets (evaluate a run, optionally against a second run, against pass/fail budget thresholds), getfindingevidence (raw evidence for one finding), and getfinding_documentation (detection/tuning reference docs for one finding type) so an LLM agent can investigate a run directly.
- An MCP server (sparkforensics-mcp) exposes
by hand, see sparkforensics-operator, an Airflow operator that runs SparkForensics on a job's event log and acts on the result.
- For running the analyze CLI automatically after every Spark job instead of
Unlike tools that need a cluster-side plugin or a running server plus an LLM agent (Spark History Server MCP tools), SparkForensics needs nothing installed anywhere else: the event log and a browser tab are enough.
Get started
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-10-16restoreC → Ascore 91
Sparkforensics: common questions
- Is Sparkforensics MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Sparkforensics safety report
- How do I install Sparkforensics?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Sparkforensics need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Sparkforensics maintained?
- The last commit was 21 days ago (2026-10-16). The latest release is v0.1.0.
- How does Sparkforensics compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,243 servers); tools 5 (the typical server has 7); tools that change things 40% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.