This repository provides the Needle MCP Server, enabling document management and Claude-powered searches through Claudie Desktop. It integrates with the Needle ecosystem for advanced document handling and retrieval.
MCP (Model Context Protocol) server to manage documents and perform searches using Needle through Claude’s Desktop Application.
Needle MCP Server enables document organization, storage, and powerful searches using Claude’s large language model, integrating seamlessly with the Needle ecosystem.
Below is an example of how the commands can be used in Claudie Desktop to interact with the server:
https://github.com/user-attachments/assets/0235e893-af96-4920-8364-1e86f73b3e6c
git clone https://github.com/yourusername/needle-mcp.git
brew install uv
claude_desktop_config.json
:~/Library/Application Support/Claude/
%APPDATA%/Claude/
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"
}
}
}
}
/path/to/needle-mcp
with your repository path.If not working:
brew install uv
).which uv
to find UV path and update the config.needle-mcp
path in the config.If 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
For a full walkthrough on using the Needle MCP Server with Claude and Claudie Desktop, watch this YouTube explanation video.
needle-ai/needle-mcp
December 15, 2024
March 26, 2025
Python