Skip to main content
Glama
damoqiongqiu

mcp-local-rag

by damoqiongqiu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_PATHNoVector database path../lancedb/
BASE_DIRNoDocument root (security boundary). The folder you want to search.cwd
BASE_DIRSNoJSON array of roots, overrides BASE_DIR. Example: '["/path1","/path2"]'
CACHE_DIRNoModel cache directory. Recommend absolute path../models/
RAG_DTYPENoQuantization precision (fp32/fp16/q8).fp32
RAG_WATCHNoFile watching (true/1 enables).
MODEL_NAMENoHuggingFace model ID for embeddings.all-MiniLM-L6-v2
RAG_DEVICENoONNX execution device (cpu or webgpu).cpu
HF_ENDPOINTNoManual mirror override for HuggingFace.huggingface.co
HTTPS_PROXYNoModel download proxy. Example: http://127.0.0.1:7890
RAG_GROUPINGNoGrouping strategy: 'similar' or 'related'.
MAX_FILE_SIZENoMax file size in bytes.100
RAG_MAX_FILESNoLimit results to top N files.
HF_AUTO_MIRRORNoAuto-detection of mirror (true/1 enables, false disables).true
CHUNK_MIN_LENGTHNoMinimum chunk length (1–10000 characters).50
RAG_MAX_DISTANCENoMaximum distance threshold for search results.
RAG_HYBRID_WEIGHTNoKeyword boost weight: 0 = semantic only, 1 = keyword only.0.6

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/damoqiongqiu/mcp-local-rag'

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