cosmic-mcp

All servers

mcp-local-rag

io.github.damoqiongqiu/mcp-local-rag · version 0.21.0

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

Semantic code & doc search with keyword boost. AST code nav, auto HF mirror, local, privacy-first.

https://github.com/damoqiongqiu/mcp-local-rag

Quick facts

  • Listing: Community
  • Published Jul 23, 15:21 UTC
  • Transport: stdio
  • Package: npm @damoqiongqiu/mcp-local-rag 0.21.0
  • Listed by cosmic-mcp: Nov 9, 04:25 UTC

Marketing and SEO Web search

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

npx -y '@damoqiongqiu/[email protected]'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mcp-local-rag": {
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "command": "npx",
      "env": {
        "BASE_DIR": "<your base dir>",
        "BASE_DIRS": "<your base dirs>",
        "CACHE_DIR": "<your cache dir>",
        "CHUNK_MIN_LENGTH": "<your chunk min length>",
        "DB_PATH": "<your db path>",
        "HF_AUTO_MIRROR": "<your hf auto mirror>",
        "HF_ENDPOINT": "<your hf endpoint>",
        "HTTPS_PROXY": "<your https proxy>",
        "HTTP_PROXY": "<your http proxy>",
        "MAX_FILE_SIZE": "<your max file size>",
        "MODEL_NAME": "<your model name>",
        "RAG_DEVICE": "<your rag device>",
        "RAG_DTYPE": "<your rag dtype>",
        "RAG_GROUPING": "<your rag grouping>",
        "RAG_HYBRID_WEIGHT": "<your rag hybrid weight>",
        "RAG_MAX_DISTANCE": "<your rag max distance>",
        "RAG_MAX_FILES": "<your rag max files>",
        "RAG_WATCH": "<your rag watch>"
      }
    }
  }
}

Claude Code

claude mcp add 'mcp-local-rag' -- npx -y '@damoqiongqiu/[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "mcp-local-rag": {
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "command": "npx",
      "env": {
        "BASE_DIR": "<your base dir>",
        "BASE_DIRS": "<your base dirs>",
        "CACHE_DIR": "<your cache dir>",
        "CHUNK_MIN_LENGTH": "<your chunk min length>",
        "DB_PATH": "<your db path>",
        "HF_AUTO_MIRROR": "<your hf auto mirror>",
        "HF_ENDPOINT": "<your hf endpoint>",
        "HTTPS_PROXY": "<your https proxy>",
        "HTTP_PROXY": "<your http proxy>",
        "MAX_FILE_SIZE": "<your max file size>",
        "MODEL_NAME": "<your model name>",
        "RAG_DEVICE": "<your rag device>",
        "RAG_DTYPE": "<your rag dtype>",
        "RAG_GROUPING": "<your rag grouping>",
        "RAG_HYBRID_WEIGHT": "<your rag hybrid weight>",
        "RAG_MAX_DISTANCE": "<your rag max distance>",
        "RAG_MAX_FILES": "<your rag max files>",
        "RAG_WATCH": "<your rag watch>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "mcp-local-rag": {
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "command": "npx",
      "env": {
        "BASE_DIR": "<your base dir>",
        "BASE_DIRS": "<your base dirs>",
        "CACHE_DIR": "<your cache dir>",
        "CHUNK_MIN_LENGTH": "<your chunk min length>",
        "DB_PATH": "<your db path>",
        "HF_AUTO_MIRROR": "<your hf auto mirror>",
        "HF_ENDPOINT": "<your hf endpoint>",
        "HTTPS_PROXY": "<your https proxy>",
        "HTTP_PROXY": "<your http proxy>",
        "MAX_FILE_SIZE": "<your max file size>",
        "MODEL_NAME": "<your model name>",
        "RAG_DEVICE": "<your rag device>",
        "RAG_DTYPE": "<your rag dtype>",
        "RAG_GROUPING": "<your rag grouping>",
        "RAG_HYBRID_WEIGHT": "<your rag hybrid weight>",
        "RAG_MAX_DISTANCE": "<your rag max distance>",
        "RAG_MAX_FILES": "<your rag max files>",
        "RAG_WATCH": "<your rag watch>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • Adako: ad ops for AI assistants Verified domain
    Google, Meta, LinkedIn and ChatGPT Ads for AI assistants. Every change needs your approval.
  • Adrails Verified domain
    AI agent that runs Meta Ads and Google Ads for Shopify stores, with store revenue next to ad spend.
  • AgentMash Verified domain
    All your bookmarks in one library. Share them with your AI agents. Read-only search over your saves.
  • Agentic Terminal Directory Verified domain
    Verified merchants accepting agentic payments on Lightning/L402/BOLT12/USDT — search, verify, pay.
  • Ahel Verified domain
    Data and tools for your AI agent: company, people, SEO, social and EU register data. Pay per call.
  • Ankra Docs Verified domain
    Search the Ankra documentation: clusters, stacks, GitOps, CI/CD and the CLI. No account needed.