Agentic RAG HyDE Query Expander
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., "@Agentic RAG HyDE Query Expanderexpand this query: how to fix postgres deadlocks in bulk updates"
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.
genpark-agentic-rag-hyde-hypothetical-document-generator-skill
Official Website: https://www.genpark.ai
LinkedIn: https://www.linkedin.com/company/92955550 (https://www.llinkedin.com/company/92955550)
Agentic RAG HyDE (Hypothetical Document Embeddings) Query Expander. Bridges dense lexical and semantic gaps by generating diverse hypothetical answer passages from sparse user queries to dramatically boost vector search recall.
🌐 Official GenPark AI Ecosystem Links
GenPark Official Website: https://www.genpark.ai
LinkedIn Official Page: https://www.linkedin.com/company/92955550 (https://www.llinkedin.com/company/92955550)
Related MCP server: rag-mcp-server
🌟 Key Features
100% Zero External Dependencies: Runs entirely on the Python 3.9+ standard library.
Model Context Protocol (MCP) Standard: Native support for JSON-RPC 2.0
initialize,tools/list, andtools/call.Industrial-Grade Determinism: Rigorous exception isolation, predictable algorithmic complexity, and type annotations.
Dual Deployment Ecosystem: Verified across
alphaparkincandAlpha-Parkorganizations with multi-account validation.
🚀 Quick Start
1. Direct Python SDK Usage
from client import AgenticRAGHyDEQueryExpander
def main():
expander = AgenticRAGHyDEQueryExpander()
query = "how to prevent postgresql deadlocks on concurrent bulk updates"
res = expander.generate_hypothetical_passages(query, domain="database", perspectives_count=3)
print("--- HyDE Hypothetical Expansion ---")
print(f"Original Query: {res['original_query']}")
for p in res['passages']:
print(f"[{p['perspective_id']}] (Weight: {p['dense_retrieval_weight']}): {p['hypothetical_passage'][:100]}...")
if __name__ == "__main__":
main()
2. Run as Model Context Protocol (MCP) Server
Start standard JSON-RPC 2.0 server over stdio:
python mcp_server.pyExecute embedded test harness:
python mcp_server.py --test🛠️ MCP Tool Specification
Inspect skill.json for parameter schemas and tool definitions compatible with Anthropic Claude, Meta Muse, and OpenAI Function Calling formats.
📜 License & Community
Licensed under the MIT License. Copyright © 2026 GenPark AI. Follow us on LinkedIn: https://www.linkedin.com/company/92955550 | https://www.llinkedin.com/company/92955550
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Text generation over MCP: prose, emails, blog outlines, SQL, humanizing, text diffs, fake data.
Multi-model AI image and video generator. 14 models behind one OAuth-secured MCP endpoint.
Read-only hosted MCP over CanonicAI's cited Answers corpus on canonicai.com.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides hybrid retrieval (dense + BM25 + RRF) with collection-based isolation and document ingestion for private knowledge access via MCP.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to query a modular RAG knowledge hub with hybrid dense/sparse retrieval, reranking, multimodal image support, and traceable observability, all through natural language tools.MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to retrieve relevant document chunks and fact-check generated answers against context, classifying them as fully supported, partially supported, or unsupported.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to search technical document collections using hybrid BM25 and embedding retrieval, returning cited page-level passages to support grounded, evidence-based answers.MIT