Use OpenRegistry as a Haystack tool inside any Pipeline or Agent built with deepset Haystack.
Haystack ships first-class MCP support via the MCPToolset component. Wire any OpenRegistry tool into a Haystack Pipeline, or expose the full set to a Haystack Agent for autonomous KYC / due-diligence workflows.
pip install haystack-ai mcp-haystack
from haystack_integrations.tools.mcp import MCPToolset, StreamableHttpServerInfo
from haystack.components.agents import Agent
from haystack.components.generators.chat import AnthropicChatGenerator
toolset = MCPToolset(
server_info=StreamableHttpServerInfo(url="https://openregistry.sophymarine.com/mcp"),
)
agent = Agent(
chat_generator=AnthropicChatGenerator(model="claude-3-5-sonnet-latest"),
tools=toolset,
)
result = agent.run(
messages=[{"role": "user", "content": "Get the latest accounts for Revolut Ltd (GB, 08804411)."}]
)
print(result["last_message"].text)
Official MCP integration docs for Haystack:
OpenRegistry is a Model Context Protocol server. Any MCP client can connect — these are just the most popular agent frameworks.