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": {
        "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

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.20.tar.gz (14.2 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.20-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spark_advisor_mcp-0.1.20.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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.20.tar.gz
Algorithm Hash digest
SHA256 f9c457e4fb56174c7b96f7011b91c695649875e7c7b4ec88e06f8e2d66dd8f16
MD5 a3792f3f83d95ee5fe06a5caaa0ff353
BLAKE2b-256 8b2ee097ef0d3907d434f4a857e41d49ae1c0041ce1205052958002cda6fcd0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spark_advisor_mcp-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ebbecbc63475a91a32ebfcc4c2ca70d7b2b101aba59acf1a03e007f2724d93
MD5 1f83b126beb7794443c8a095923f71a3
BLAKE2b-256 9a677b2d7065fd8bd9bab07d9c5632f5b08b713840ba5066d47fa6e99f283730

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