hayhooks
by deepset-ai·★ 141·Score 48
Hayhooks deploys Haystack pipelines as REST APIs and MCP tools for AI environments.
Overview
Hayhooks is a versatile tool that allows developers to deploy Haystack pipelines and agents as both REST APIs and MCP tools. It provides seamless integration with AI development environments like Cursor and Claude Desktop, enabling pipelines to be accessible as tools. The project supports multiple deployment options including OpenAI-compatible endpoints, Chainlit UI integration, and Open WebUI compatibility. With features like automatic OpenAI endpoint generation, file upload support, and OpenTelemetry tracing, Hayhooks offers a comprehensive solution for serving machine learning pipelines.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Hayhooks when you need to deploy Haystack pipelines as MCP tools in AI development environments or as chat interfaces with minimal setup.
When NOT to choose this
Avoid Hayhooks if you need fine-grained authentication controls or are not already using Haystack for your pipelines, as it's specifically designed for Haystack integration.
Tools this server exposes
5 tools extracted from the READMEmy_agent_runRun a deployed Haystack agent with a question
chat_completionStreaming chat completion endpoint for Haystack agents
pipeline_deployDeploy a Haystack pipeline to Hayhooks
pipeline_undeployUndeploy a Haystack pipeline from Hayhooks
pipeline_listList all deployed Haystack pipelines
Note: Tool names inferred from the documentation about Hayhooks exposing Haystack pipelines as MCP tools, with tool names based on the pipeline naming pattern and API endpoints mentioned in the README.
Comparable tools
Installation
# Install Hayhooks
pip install hayhooks
# Start Hayhooks
hayhooks run
# Deploy a pipeline
hayhooks pipeline deploy-files -n my_agent ./my_agent_dirFor Claude Desktop integration, add to Claude Desktop config:
{
"mcpServers": {
"hayhooks": {
"command": "python",
"args": ["-m", "hayhooks", "run"],
"env": {}
}
}
}FAQ
- What is the difference between Hayhooks and other Haystack deployment tools?
- Hayhooks specifically focuses on exposing Haystack pipelines as both REST APIs and MCP tools, making it ideal for AI development environments. It provides built-in MCP server functionality with minimal configuration.
- Can I integrate Hayhooks with existing AI development environments?
- Yes, Hayhooks is designed to work seamlessly with environments like Cursor and Claude Desktop through the MCP protocol. It can also be integrated with Open WebUI and Chainlit.
Compare hayhooks with
Last updated · Auto-generated from public README + GitHub signals.