Skip to main content

spark-advisor-mcp

MCP server exposing spark-advisor tools for Claude Desktop, Cursor, and other MCP clients. Part of the spark-advisor ecosystem.

Install

pip install spark-advisor-mcp

What it does

Provides 7 MCP tools via FastMCP (stdio transport) for AI-assisted Spark job analysis:

Tool Description
analyze_spark_job Full analysis — rules engine + optional AI recommendations
scan_recent_jobs List recent applications from History Server
get_job_config Retrieve Spark configuration for a specific job
suggest_config Generate optimized spark-defaults.conf
explain_metric Explain a specific Spark metric or configuration parameter
get_stage_details Detailed metrics for a specific stage
compare_jobs Side-by-side comparison of two Spark jobs

Setup with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "spark-advisor": {
      "command": "spark-advisor-mcp",
      "env": {
        "SA_ANALYZER_AI__API_KEY": "sk-or-...",
        "SA_ANALYZER_AI__BASE_URL": "https://openrouter.ai/api/v1"
      }
    }
  }
}

See full MCP setup guide for Cursor and Claude Code integration.

Links

License

Apache 2.0

Metadata

Release files for spark-advisor-mcp 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spark-advisor-mcp 0.1.21
File Size Uploaded Provenance Actions
spark_advisor_mcp-0.1.21.tar.gz 14.3 kB Without provenance Details for spark_advisor_mcp-0.1.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spark-advisor-mcp 0.1.21
File Interpreter ABI Platform Actions
spark_advisor_mcp-0.1.21-py3-none-any.whl Python 3 none any Details for spark_advisor_mcp-0.1.21-py3-none-any.whl

Total release size: 26.6 kB

Release files / spark_advisor_mcp-0.1.21.tar.gz

Download URL spark_advisor_mcp-0.1.21.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
717334d992c1930a136591cec9774ae5fdbf3e5680bc4ca3280fc19e854ec1b5
BLAKE2b-256 checksum
How to use checksums
31a80462b09d63b4d9369636d1caff11726fcad773548f11b3dfa51cfe7ef7d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / spark_advisor_mcp-0.1.21-py3-none-any.whl

Download URL spark_advisor_mcp-0.1.21-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac7aec67c8943fcda2417eb50d5c3fa8fcb1f31f4d087c356a7d466d4cb7c36a
BLAKE2b-256 checksum
How to use checksums
00059f3f7f8faf052eeb2786c4cf11287d48a58432c20c978f52185bdb83a0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for spark-advisor-mcp 0.1.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page