JUHE API Marketplace
xiexiajiao avatar
MCP Server

HiveServer2 MCP

A MCP server that allows users to interact with HiveServer2 through an API interface, enabling execution of Hive queries over HTTP.

1
GitHub Stars
11/17/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. HIVE-MCP

README Documentation

HiveServer2 MCP

A MCP server for HiveServer2.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/hiveserver2-mcp.git
    cd hiveserver2-mcp
    
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
    
  3. Install the dependencies:

    pip install -r requirements.txt
    

Usage

  1. Create a .env file:

    Create a .env file 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>
    
  2. Run the server:

    hiveserver2-mcp
    
  3. Interact with the server:

    You can use curl to 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 sasl

macOS:

brew install sasl
pip install sasl

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved