spark-ui-mcp
Provides tools for interacting with the Apache Spark UI REST API to inspect running Spark applications, including jobs, stages, stage task metrics, SQL executions and plans, executors, environment/configuration, and storage/RDD information.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
spark-ui-mcp
MCP server for the Apache Spark UI REST API. Lets AI assistants (Claude, etc.) inspect running Spark applications — jobs, stages, SQL executions, executors, environment and storage.
Supports SOCKS5 proxy for reaching Spark UIs inside Kubernetes or behind firewalls.
Install
npm install -g spark-ui-mcpRelated MCP server: Spark History MCP Server
Usage with Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"spark-ui": {
"command": "spark-ui-mcp",
"env": {
"SOCKS5_PROXY": "socks5://localhost:1080"
}
}
}
}The SOCKS5_PROXY environment variable is optional — only needed when the Spark UI is not directly reachable (e.g. inside a Kubernetes cluster). DNS resolution is delegated to the proxy automatically.
Tools
Tool | Description |
| List Spark applications |
| List jobs (optionally filter by status) |
| List stages (optionally filter by status) |
| Get stage details with task metrics |
| List SQL executions |
| Full SQL execution details: DAG, physical plan, metrics |
| Executor information |
| Spark configuration and environment |
| RDD/storage information |
Every tool takes a sparkUrl parameter — the base URL of the Spark UI (e.g. http://spark-app:4040).
SOCKS5 Proxy
To access Spark UIs inside Kubernetes, set up a SOCKS5 proxy with kubectl:
kubectl port-forward svc/your-proxy 1080:1080Then set SOCKS5_PROXY=socks5://localhost:1080.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Proxy-rotated web scraping and cross-platform intelligence for AI agents.
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive analysis of Apache Spark event logs from S3, HTTP, or local sources, providing performance metrics, resource monitoring, shuffle analysis, and automated optimization recommendations with interactive HTML reports.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceExposes Spark History Server metrics and metadata as tools for LLM-based analysis of Spark applications. It enables deep optimization of Spark jobs by providing access to job summaries, stage details, SQL execution plans, and executor performance.-
- AlicenseNot gradedqualityBmaintenanceExposes Spark History Server data as tools for AI agents, enabling natural language querying of Spark applications, jobs, stages, and performance metrics.646 PyPI210Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to read and analyze Spark History Server data, including jobs, stages, executors, and SQL executions, to diagnose failures and optimize performance.Apache 2.0