Skip to main content
Glama
kaushikkumarkr

Nexus RAG MCP Server

Nexus RAG MCP Server 🧠

License Python MCP Test

The "Second Brain" for your AI Assistant.

ConfigurationUsageToolsTroubleshooting


🚀 Overview

Nexus is a local Model Context Protocol (MCP) server that gives your AI agents (like Claude Desktop, Cursor, etc.) Long-Term Memory and RAG (Retrieval-Augmented Generation) capabilities.

It runs on your local machine, indexes your files, and allows your AI to:

  1. Recall past conversations and decisions.

  2. Search your local codebase and notes.

  3. Learn your preferences over time.


Related MCP server: ContextKeep

⚙️ Configuration (Zero-Setup)

You don't need to manually install Nexus. Just use uvx to run it directly from the repository.

1. Claude Desktop App

To use Nexus with Claude, add the following to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "nexus": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/kaushikkumarkr/RAG-MCP",
        "nexus",
        "serve"
      ]
    }
  }
}

Note: This requires uv to be installed. Nexus will automatically initialize its database at ~/.nexus on the first run.

2. Cursor / Windsurf / Other IDEs

Go to Settings > Features > MCP and add a new server:

  • Name: nexus

  • Type: stdio

  • Command: uvx --from git+https://github.com/kaushikkumarkr/RAG-MCP nexus serve


💬 Usage Examples

Once connected, you can talk to your AI naturally. Nexus will automatically trigger the right tools.

🧠 Memory (Long-Term Storage)

User: "Remember that for the 'Financial Dashboard' project, we depend on the pandas 2.0 library and use pytest for testing."

AI: "Understood. I've saved that context for the Financial Dashboard project." (Tool used: remember)


🔍 Retrieval (RAG)

User: "How do we handle authentication in this codebase?"

AI: "According to docs/auth_flow.md, we use JWT tokens via Auth0..." (Tool used: search_knowledge)


⚡ Context Injection

User: "I'm starting work on the backend API. Get me up to speed."

AI: "Checking project context... Okay, for the backend API:

  1. We use FastAPI.

  2. The DB is Postgres.

  3. Warning: Migration scripts are in /alembic." (Tool used: get_project_context)


🛠️ Available Tools

Tool

Description

Arguments

search_knowledge

Search your local documents.

query (str), limit (int)

remember

Store a fact or memory.

content (str), project (str), tags (list)

recall

Retrieve memories.

query (str)

get_project_context

Get full overview of a project.

project (str)

get_user_preferences

Get learned user habits.

None

ingest_content

Save content from other MCPs.

content (str), source (str)

add_note

Create a markdown note.

filename (str), content (str)

list_sources

List indexed files.

None


🛡️ Citations & Grounding

Nexus citations are precise. Every answer includes:

  1. Source Path: File path (/docs/api.md).

  2. Relevance: Confidence score (0-1).

  3. Quote: Exact text chunk used.


❓ Troubleshooting

Server not starting?

Run the built-in status check to verify your database and config:

nexus status

"Tool not found" error?

Ensure you have restarted your client (Claude/Cursor) after editing the config file.

How do I see what's happening?

Nexus logs to stderr. In Claude Desktop, you can open the Developer Console to see the MCP logs in real-time.


🏗️ System Architecture

Nexus uses a Dual-Layer Cognitive Architecture that separates fast retrieval from deep understanding.

System Design Architecture

Built with: Python 3.11 • Qdrant • Sentence-Transformers • RAGAS

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents with persistent, searchable memory that survives across conversations using semantic search, temporal versioning, and smart organization. Enables long-term context retention and cross-session continuity for AI assistants.
    14
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides infinite long-term memory for AI agents with persistent, searchable storage of project details, preferences, and snippets. Reduces token costs by retrieving only relevant memories while keeping all data stored locally.
    155
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.
    14
    19
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kaushikkumarkr/RAG-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server