Search Hyperspell
Search documents and unstructured data to find specific information using AI-powered queries.
Instructions
Search Hyperspell for documents and data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "Search Hyperspell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- src/hyperspell_mcp/server.py:126-129 (handler)The handler function 'query' that executes the core logic of the 'Search Hyperspell' tool by querying the Hyperspell API and converting results to Document objects.
def query(query: str) -> list[Document]: """Search Hyperspell for documents and data.""" r = mcp.api.query.search(query=query, collections=mcp.config.collection) return Document.from_pydantic(r.documents) - src/hyperspell_mcp/server.py:123-125 (registration)The decorator registering the 'query' function as the 'Search Hyperspell' tool with MCP server, specifying the tool name and description.
@mcp.tool( name="Search Hyperspell", description="Search Hyperspell for documents and data." )