Needle MCP server

Needle MCP server

By MCP-Mirror GitHub

Mirror of

needle mcp-server
Overview

what is Needle MCP server?

Needle MCP server is a server designed to manage documents and perform semantic searches using the Claude chat interface through the Needle platform.

how to use Needle MCP server?

To use the Needle MCP server, clone the repository, install the necessary dependencies, configure the server settings, and interact with it through the Claude chat interface.

key features of Needle MCP server?

  • Document management capabilities
  • Semantic search functionality
  • Integration with Claude chat for user-friendly interaction

use cases of Needle MCP server?

  1. Managing technical documentation collections.
  2. Performing semantic searches for quick information retrieval.
  3. Organizing and categorizing documents for better accessibility.

FAQ from Needle MCP server?

  • What is the purpose of the Needle MCP server?

The Needle MCP server is used for managing documents and enabling semantic searches through the Claude chat interface.

  • How do I set up the Needle MCP server?

Follow the setup instructions provided in the documentation, including cloning the repository and configuring the necessary files.

  • Can I use the Needle MCP server for any type of document?

Yes, it can manage various types of documents as long as they are properly formatted and accessible.

Content

Needle MCP server

An MCP server to manage documents and perform semantic search through Claude chat using Needle.

Examples

How we use the commands in Claudie Desktop

Screenshot 2024-12-17 at 12 25 03 PM

You set up this collection in Needle via Claude

https://github.com/user-attachments/assets/0235e893-af96-4920-8364-1e86f73b3e6c

Quick Setup

  1. Clone the repository:
git clone https://github.com/yourusername/needle-mcp.git
  1. Install UV globally using Homebrew in Terminal:
brew install uv
  1. Create claude_desktop_config.json:

    • For MacOS: Open directory ~/Library/Application Support/Claude/ and create the file inside it
    • For Windows: Open directory %APPDATA%/Claude/ and create the file inside it
  2. Add 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"
      }
    }
  }
}
  1. Get your Needle API key from needle.xyz

  2. Update the config file:

    • Replace /path/to/needle-mcp with your actual repository path
    • Add your Needle API key
  3. Quit Claude completely and reopen it

Usage Examples

  • "Create a new collection called 'Technical Docs'"
  • "Add this document to the collection, which is https://needle-ai.com"
  • "Search the collection for information about AI"
  • "List all my collections"

Troubleshooting

If not working:

  • Make sure UV is installed globally (if not, uninstall with pip uninstall uv and reinstall with brew install uv)
  • Or find UV path with which uv and replace "command": "uv" with the full path
  • Verify your Needle API key is correct
  • Check if the needle-mcp path in config matches your actual repository location

Reset Claude Desktop Configuration

If you're seeing old configurations or the integration isn't working:

  1. Find all Claude Desktop config files:
find / -name "claude_desktop_config.json" 2>/dev/null
  1. Remove all Claude Desktop data:
  • On MacOS: rm -rf ~/Library/Application\ Support/Claude/*
  • On Windows: Delete contents of %APPDATA%/Claude/
  1. Create a fresh config with only Needle:
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
  1. Completely quit Claude Desktop (Command+Q on Mac) and relaunch it

  2. If you still see old configurations:

  • Check for additional config files in other locations
  • Try clearing browser cache if using web version
  • Verify the config file is being read from the correct location
No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details