Needle AI/needle-mcp
Built by Metorial, the integration platform for agentic AI.
Needle AI/needle-mcp
Server Summary
Document management
Search capabilities
Integration with Claude Desktop Application
Search result display in Needle
MCP (Model Context Protocol) server to manage documents and perform searches using Needle through Claude’s Desktop Application.
Needle MCP Server allows you to:
Below is an example of how the commands can be used in Claude Desktop to interact with the server:
https://github.com/user-attachments/assets/0235e893-af96-4920-8364-1e86f73b3e6c
For a full walkthrough on using the Needle MCP Server with Claude and Claude Desktop, watch this YouTube explanation video.
To install Needle MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install needle-mcp --client claude
git clone https://github.com/yourusername/needle-mcp.git
brew install uv
Create claude_desktop_config.json:
~/Library/Application Support/Claude/
and create the file inside it%APPDATA%/Claude/
and create the file inside itAdd this configuration to claude_desktop_config.json:
{
"mcpServers": {
"needle_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/needle-mcp",
"run",
"needle-mcp"
],
"env": {
"NEEDLE_API_KEY": "your_needle_api_key"
}
}
}
}
Get your Needle API key from needle.xyz
Update the config file:
/path/to/needle-mcp
with your actual repository pathQuit Claude completely and reopen it
If not working:
pip uninstall uv
and reinstall with brew install uv
)which uv
and replace "command": "uv"
with the full pathIf you're seeing old configurations or the integration isn't working:
find / -name "claude_desktop_config.json" 2>/dev/null
rm -rf ~/Library/Application\ Support/Claude/*
%APPDATA%/Claude/
mkdir -p ~/Library/Application\ Support/Claude
cat > ~/Library/Application\ Support/Claude/claude_desktop_config.json
< 'EOL'
{
"mcpServers": {
"needle_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/needle-mcp",
"run",
"needle-mcp"
],
"env": {
"NEEDLE_API_KEY": "your_needle_api_key"
}
}
}
}
EOL
Completely quit Claude Desktop (Command+Q on Mac) and relaunch it
If you still see old configurations: