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 "Install 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 saslThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.99,70489,748MIT
- 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.361313MIT
- 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.
Related MCP Connectors
Hive MCP server implementing the EIP-712 over USB/DMK ledger-bridge integration spec…
MCP server for Hive Civilization
MCP server for AI access to Swagger by SmartBear.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiexiajiao/HIVE-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server