Needle MCP Server is an MCP (Model Context Protocol) server designed to manage documents and perform searches through the Claude desktop application, enabling simple RAG (Retrieval-Augmented Generation) and LLM long-term memory. MCP standardizes the way LLMs connect to external data sources. With this server, users can easily enable semantic search tools in AI applications, allowing data in files such as PDF, DOCX, and XLSX to be instantly accessible to LLMs.
Main capabilities include: document management, making it easy to add and organize documents on the server; search and retrieval, quickly getting answers based on Claude's natural language search; easy integration, working with Claude Desktop and Needle collections.
Usage: The remote MCP server is recommended, requiring no local setup. During configuration, the corresponding settings need to be added to the Claude Desktop configuration file (the MacOS path is ~/Library/Application Support/Claude/claude_desktop_config.json, and the Windows path is %APPDATA%/Claude/claude_desktop_config.json), or create/update .cursor/mcp.json. The API key needs to be obtained from Needle settings. Two endpoints are provided: Streamable HTTP (recommended,https://mcp.needle.app/mcp)和 SSE(https://mcp.needle.app/sse)。注意 MCP has deprecated the SSE endpoint in the latest specification, and new clients should prioritize the Streamable HTTP endpoint.
Local installation: Clone the repository, install UV globally with Homebrew, create the configuration file, replace /path/to/needle-mcp with the actual repository path, add the Needle API key, and restart Claude Desktop. It can also be installed via Smithery.
Docker installation: Clone and build, then add it to the Claude Desktop configuration.
In Claude Desktop, simple text commands can be used to search, retrieve, or modify documents, for example: "Create a new collection called 'Technical Docs'", "Add this document to the collection, which is https://needle.app"、"Search the collection for information about AI", "List all my collections". Search results are returned in a user-friendly interface.
Applicable scenarios: users who need to provide LLMs with long-term memory, perform semantic search on private documents, or quickly retrieve the contents of files such as PDF, DOCX, and XLSX in Claude Desktop.
Limitations: The materials do not provide specific information about fees, pricing, platform support scope, performance guarantees, etc. For troubleshooting, if it does not work, ensure that uv is installed globally (otherwise uninstall it with pip uninstall uv and reinstall it via brew install uv), or use which uv to find the path and replace "command": "uv" with the full path; verify that the Needle API key is correct; check whether the needle-mcp path in the configuration matches the actual repository location. If you see old configurations or the integration does not work, you can reset the Claude Desktop configuration: find all configuration files, delete all Claude Desktop data (MacOS: rm -rf ~/Library/Application\ Support/Claude/*; Windows: delete the contents of %APPDATA%/Claude/), create a new configuration containing only Needle, completely quit Claude Desktop (Command+Q on Mac), and then restart it. If you still see old configurations, check for additional configuration files in other locations, try clearing the browser cache (if using the web version), and verify whether the configuration file is being read from the correct location.