MCP directory
SS

Spark SQL

by github.com/aidancorrell · v0.1.2 · updated Feb 8, 2026

Query Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx spark-sql-mcp-server==0.1.2

Environment variables

  • SPARK_HOSTrequired

    Hostname of the Spark Thrift Server

  • SPARK_PORT

    Port of the Spark Thrift Server (default: 10000)

  • SPARK_DATABASE

    Default database to use

  • SPARK_AUTH

    Authentication method: NONE, LDAP, KERBEROS, CUSTOM, or NOSASL

  • SPARK_USERNAME

    Username for LDAP authentication

  • SPARK_PASSWORDsecret

    Password for LDAP authentication

  • SPARK_KERBEROS_SERVICE_NAME

    Kerberos service name (default: hive)

More MCP servers