Needle MCP Server

Production-ready RAG out of the box to search and retrieve data from your own documents.

Remote serverstreamable-http

What is the Needle MCP server?

Needle mcp server lets Claude, Cursor and other MCP clients work with Needle directly. Production-ready RAG out of the box to search and retrieve data from your own documents.

What Needle does

MCP (Model Context Protocol) server to manage documents and perform searches using Needle through Claude's Desktop Application.

MCP (Model Context Protocol) standardizes the way LLMs connect to external data sources. You can use Needle MCP Server to easily enable semantic search tools in your AI applications, making data buried in PDFs, DOCX, XLSX, and other files instantly accessible by LLMs.

Key capabilities

  • Document Management: — Easily add and organize documents on the server
  • Search & Retrieval: — Claude-based natural language search for quick answers
  • Easy Integration: — Works with Claude Desktop and Needle collections

Installing the needle mcp server

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 2 environment variables: NEEDLE_API_KEY, NEEDLE_AUTH_HEADER. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

AI-service servers chain other models into your assistant, turning a single chat into a small production pipeline. Needle sits in that group. Worth comparing against the other ai services servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the needle mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Needle MCP server

{
  "mcpServers": {
    "needle": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.needle.app/mcp",
        "--header",
        "Authorization:Bearer ${NEEDLE_API_KEY}"
      ],
      "env": {
        "NEEDLE_API_KEY": "<your-needle-api-key>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
NEEDLE_API_KEYCredential the server authenticates with.Yes
NEEDLE_AUTH_HEADERConfiguration value read at startup.Optional

Frequently asked questions

It connects Needle to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Needle directly.