Hive MCP Server
Overview
A Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through Hive. This server enables running HQL queries, analyzing business data, and automatically generating business insight memos.
Components
Resources
The server exposes a single dynamic resource:
memo://insights: A continuously updated business insights memo that aggregates discovered insights during analysis- Auto-updates as new insights are discovered via the append-insight tool
Prompts
The server provides a demonstration prompt:
mcp-demo: Interactive prompt that guides users through database operations- Required argument:
topic- The business domain to analyze - Guides users through analysis and insight generation
- Integrates with the business insights memo
- Required argument:
Tools
The server offers six core tools:
Query Tools
-
read_query- Execute SELECT queries to read data from the database
- Input:
query(string): The SELECT HQL query to execute
- Returns: Query results as array of objects
-
write_query- Execute INSERT, UPDATE, or DELETE queries
- Input:
query(string): The HQL modification query
- Returns:
{ affected_rows: number }
-
create_table- Create new tables in the database
- Input:
query(string): CREATE TABLE HQL statement
- Returns: Confirmation of table creation
Schema Tools
-
list_tables- Get a list of all tables in the database
- No input required
- Returns: Array of table names
-
describe-table- View schema information for a specific table
- Input:
table_name(string): Name of table to describe
- Returns: Array of column definitions with names and types
Analysis Tools
append_insight- Add new business insights to the memo resource
- Input:
insight(string): Business insight discovered from data analysis
- Returns: Confirmation of insight addition
- Triggers update of memo://insights resource
Command Line Arguments
--username: Hive username (default: "hive")--password: Hive password (default: "")--host: Hive server hostname (default: "localhost")--port: Hive server port (default: 10000)--database: Hive database name (default: "default")--configuration: Additional configuration string for Hive connection (default: "")
Usage with Claude Desktop
uvx
"mcpServers": {
"hive": {
"command": "uvx",
"args": [
"mcp-server-hive",
"--host", "localhost",
"--port", "10000",
"--username", "hive",
"--database", "default",
"--configuration", "key1=value1;key2=value2"
]
}
}
Docker
"mcpServers": {
"hive": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v", "mcp-test:/mcp",
"mcp/hive",
"--host", "hiveserver",
"--port", "10000",
"--username", "hive",
"--database", "default"
]
}
}
Building
Docker:
docker build -t mcp/hive .
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Metadata
Release files for mcp-server-hive 0.6.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_server_hive-0.6.17.tar.gz | 37.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_hive-0.6.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.8 kB
Release files / mcp_server_hive-0.6.17.tar.gz
| Download URL | mcp_server_hive-0.6.17.tar.gz |
|---|---|
| Size | 37.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f58933a015e2127f2902a7ee607e7788d08af47428939899c4fe7982c3f12eb2
|
|
BLAKE2b-256 checksum How to use checksums |
82002ad041ec550aea72224274092d7789a229839b0ac7d8debb7f0330968dba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.14
|
Release files / mcp_server_hive-0.6.17-py3-none-any.whl
| Download URL | mcp_server_hive-0.6.17-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5764e6b3e30795ced9fce29cb10eee848270fc13b72ab1d7720a4f166c6bbc9
|
|
BLAKE2b-256 checksum How to use checksums |
c9043f819706ab7a6fccd30cb1790230ee359f31b11a361580e5615491eb1bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.14
|
Security for mcp-server-hive 0.6.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.