Needle MCP Server

Official

needle_search

Perform intelligent semantic search across documents in a Needle collection. This tool uses advanced embedding technology to find relevant content based on meaning, not just keywords. The search: - Understands natural language queries - Finds conceptually related content - Returns relevant text passages with source information - Ranks results by semantic relevance

Use this tool when you need to: - Find specific information within documents - Answer questions from document content - Research topics across multiple documents - Locate relevant passages and their sources More effective than traditional keyword search for: - Natural language questions - Conceptual queries - Finding related content Returns matching text passages with their source file IDs.

Input Schema

NameRequiredDescriptionDefault
collection_idYesThe unique collection identifier to search within
queryYesNatural language query describing the information you're looking for

Input Schema (JSON Schema)

{ "properties": { "collection_id": { "description": "The unique collection identifier to search within", "type": "string" }, "query": { "description": "Natural language query describing the information you're looking for", "type": "string" } }, "required": [ "collection_id", "query" ], "type": "object" }