Skip to main content

MCP server exposing spark-advisor tools for Claude Desktop and other MCP clients

Project description

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": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

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

Links

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spark_advisor_mcp-0.1.11.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spark_advisor_mcp-0.1.11-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file spark_advisor_mcp-0.1.11.tar.gz.

File metadata

  • Download URL: spark_advisor_mcp-0.1.11.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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}

File hashes

Hashes for spark_advisor_mcp-0.1.11.tar.gz
Algorithm Hash digest
SHA256 f8944fe02583e14782b85217730e38735ad68054448f38b2a26090ba1cee6769
MD5 712b23dded8b7aa23c53b9fbb63a3d99
BLAKE2b-256 9012dc139366bc279ae9556788fc457acd7d13574f7814b14d873300519b4a5d

See more details on using hashes here.

File details

Details for the file spark_advisor_mcp-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: spark_advisor_mcp-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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}

File hashes

Hashes for spark_advisor_mcp-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 87d26905dffca2ff0732aa2ff2884c9262ee62c5d400e55e9c98fbba3f18b642
MD5 043dd5f946c3e6f6f35dc571f821dd90
BLAKE2b-256 c92592deca134c2ac8ed3d61667cb7af085a4272626015461a5ce2f826063b65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page