Skip to main content
Glama

Neuro MCP V2

Description

Neuro MCP V2 is an advanced, production-grade local Model Context Protocol (MCP) server designed specifically for Claude Desktop. It supercharges Claude with a suite of agentic capabilities, bridging the gap between local execution and AI assistance using standard I/O (stdio) transport.

Related MCP server: MCP Document Indexer

Key Features

  • Persistent Semantic Memory: Utilizes local embedded ChromaDB to store, embed, and instantly recall user context and project insights across different chat sessions.

  • Sandboxed File System I/O: Safely reads and writes files asynchronously via aiofiles within a strict, path-traversal-protected workspace/ directory.

  • Live Web Research: Interacts with the Tavily Search API via httpx to pull real-time data, documentation, and news directly into Claude's context window.

  • Local Emotional Intelligence: Runs a localized Hugging Face DistilRoBERTa pipeline via transformers and torch to analyze the semantic emotional tone of text blocks with zero external API latency.

  • Algorithmic Text Summarization: Compresses long documents and web search dumps using an extractive summarization engine based on normalized word-frequency scoring, instantly extracting key informational sentences to prevent LLM context window exhaustion.

  • Zero-Dependency Entity & Intent Extraction: Parses unstructured text records locally using a highly optimized, regex-based NLP engine to instantly extract critical parameters (IPs, emails, URLs, monetary bounds) and classify system operational intent.

Architecture & Tech Stack

  • Framework: fastmcp (Official Python SDK for MCP)

  • Package Management: uv (Fast Python dependency resolution)

  • Database: chromadb (Serverless, local SQLite vector storage)

  • Machine Learning: transformers, torch

  • Async Operations: aiofiles, httpx

Project Structure

neuro_mcp_v2/
├── .venv/
├── memory_db/             
├── workspace/     
├── .python-version
├── README.md
├── main.py
├── pyproject.toml
├── src/
    ├── mymcp/
        ├── server.py
        ├── tools/
            ├── emotion.py
            ├── fs_io.py
            ├── memory.py
            ├── websrch.py
            ├── extractor.py
            ├── summarize.py
        ├── utils/
            ├── security.py
├── uv.lock

Prerequisites

  • Python: 3.10 or higher

  • Claude Desktop Application

  • Tavily API Key: For web search capabilities

Installation

Clone the repository and navigate to the project root. Sync the dependencies using uv:

uv sync

Crucial Pre-flight Step: Run the server manually once to cache the Hugging Face emotion model (~300MB) locally and prevent Claude Desktop initialization timeouts:

uv run src/mymcp/server.py

Press Ctrl + C once the model finishes downloading.

Claude Desktop Configuration

To connect this server to Claude, edit your Claude Desktop configuration file (located at %APPDATA%\Claude\claude_desktop_config.json on Windows). [or simply go to Claude Desktop -> profile -> settings -> developer -> edit config option(if the mcp option is not shown automatically) -> make changes to the file that opens] Point the command to your project's absolute path and supply your API keys in the environment block:

{
  "mcpServers": {
    "neuro-mcp-v2": {
      "command": "C:\\Absolute\\Path\\To\\second_mcp_server\\.venv\\Scripts\\python.exe",
      "args": [
        "C:\\Absolute\\Path\\To\\second_mcp_server\\src\\mymcp\\server.py"
      ],
      "env": {
        "PYTHONUTF8": "1",
        "TAVILY_API_KEY": "your_tavily_api_key_here"
      }
    }
  }
}

Restart Claude Desktop entirely after updating this file. You should see the MCP plug icon appear in your chat window.

Security Notice

This application includes a workspace/ sandbox. The security middleware prevents the AI from reading or writing files outside of this specific directory to protect your local machine. Do not bypass the security.py checks.

License

This project is licensed under the MIT License.

Available Tools

6 tools
analyze_text_emotionA

Locally run a deep learning classification pipeline to detect semantic emotional markers (Joy, Sadness, Anger, Fear, Surprise, Disgust, Neutral) inside a block of text. Use this to adapt your tone or better understand user sentiment.

Inputs: text (required). Returns: result

read_workspace_fileA

Read the full text contents from a specific file strictly inside the sandboxed workspace folder. Use this to get context from previous documents or code files.

Inputs: file_path (required). Returns: result

recall_persistent_memoryA

Query the persistent vector database to recall past context, preferences, or project details. Use this to check if you have existing knowledge on a topic the user mentions.

Inputs: query (required), n_results. Returns: result

store_persistent_memoryA

Store long-term semantic context or user preferences permanently in the vector database. Use this when the user explicitly asks you to remember something or when key insights are uncovered.

Inputs: concept (required), details (required). Returns: result

write_workspace_fileA

Write or overwrite text content to a specific file inside the sandboxed workspace folder. Automatically creates directories if they do not exist. Use this to save notes, code, or outputs.

Inputs: file_path (required), content (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: emotion analysis, file reading, memory recall, memory store, web search, and file writing. No overlap in functionality.

    Naming Consistency4/5

    All tools follow a verb_noun pattern (e.g., analyze_text_emotion, read_workspace_file). The only minor deviation is 'tavily_web_search' which includes a brand name, but it still fits the pattern.

    Tool Count5/5

    Six tools is well within the ideal 3-15 range. The tool count matches the server's purpose of providing a capable assistant with memory, file operations, web search, and emotion analysis.

    Completeness4/5

    Core operations are covered: file read/write, memory recall/store, web search, and text analysis. Minor gaps include lack of file deletion or memory deletion, but the set enables key workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables real-time indexing and semantic search of local documents (PDF, Word, text, Markdown, RTF) using vector embeddings and local LLMs. Monitors folders for changes and provides natural language search capabilities through Claude Desktop integration.
      22
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Enables local semantic search over documents and code for Claude Code and Claude Desktop, running entirely offline with local embeddings and vector storage.
      14
      424 PyPI
      7
      MIT