HiveServer2 MCP
Provides a connection to HiveServer2, allowing users to execute SQL queries against Hive databases and retrieve results through a REST API endpoint.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HiveServer2 MCPshow me the top 10 customers by total sales"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HiveServer2 MCP
A MCP server for HiveServer2.
Installation
Clone the repository:
git clone https://github.com/your-username/hiveserver2-mcp.git cd hiveserver2-mcpCreate a virtual environment:
python3 -m venv venv source venv/bin/activateInstall the dependencies:
pip install -r requirements.txt
Related MCP server: MCP-OpenAPI
Usage
Create a
.envfile:Create a
.envfile in the root of the project and add the following environment variables:HIVESERVER2_HOST=<your_hiveserver2_host> HIVESERVER2_PORT=<your_hiveserver2_port> HIVESERVER2_USER=<your_hiveserver2_user> HIVESERVER2_PASSWORD=<your_hiveserver2_password>Run the server:
hiveserver2-mcpInteract with the server:
You can use
curlto interact with the server.Query:
curl -X POST -H "Content-Type: application/json" -d '{"query": "SELECT * FROM my_table"}' http://localhost:5000/query
Note on sasl
This project does not include the sasl package as a direct dependency, as it can be difficult to install on some systems. If you are connecting to a Hive instance that requires SASL authentication, you may need to install it manually.
Ubuntu/Debian:
sudo apt-get install -y libsasl2-dev
pip install saslmacOS:
brew install sasl
pip install saslRelated MCP Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Hive MCP server implementing the EIP-712 over USB/DMK ledger-bridge integration spec…
MCP server for Hive Civilization
MCP server for Riveter's enrichment, scraping, and monitoring API
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.88,163 npm90,629MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.8MIT
- AlicenseBqualityCmaintenanceAn MCP server that connects to the Teamwork API, providing a simplified interface for interacting with Teamwork projects and tasks.3614 npm13MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that provides access to Google Cloud's Dataproc Metastore API, enabling AI agents to manage and interact with Hive metastore services through natural language.-