This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.4.1 instead.
Reason given by maintainers: Performance optimization unintentionally break the server consistently.
mcp-local-rag
Local MCP server for RAG over PDFs, DOCX, images, and plaintext files.
Requirements
For more complex PDFs and image files, the following environment variables can be provided:
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT; requiresmcp-local-rag[azure].AZURE_DOCUMENT_INTELLIGENCE_KEY; when omitted,DefaultAzureCredentialis used. Requiresmcp-local-rag[azure].GEMINI_API_KEYMCP_LOCAL_RAG_GEMINI_MODEL(default:gemini-3-pro-preview)
Image files require either Gemini or Azure DI for extraction. See docs/configuration.md for details.
Data Storage
By default, the server stores data in:
- Windows:
%LOCALAPPDATA%\mcp-local-rag\ - macOS:
~/Library/Application Support/mcp-local-rag/ - Linux:
$XDG_DATA_HOME/mcp-local-rag/
The data directory contains:
markdown/- Extracted Markdown content of indexed documentsmetadata.db- SQLite database for document/collection metadataqdrant/- Vector database for embeddings
AI Models are cached in the default HuggingFace cache directory (~/.cache/huggingface/).
To customize the data directory, set the MCP_LOCAL_RAG_DATA_DIR environment variable (a mcp-local-rag/ subfolder is created automatically inside it).
Usage
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"mcp-local-rag": {
"command": "uvx",
"args": [
"--python",
"3.13", // Does not support Python 3.14 yet: https://github.com/microsoft/markitdown/issues/1470
"mcp-local-rag@latest"
]
}
}
}
If you run into SSL errors (Zscaler), you can try:
{
"servers": {
"mcp-local-rag": {
"command": "uvx",
"args": [
"--native-tls",
"--python",
"3.13", // Does not support Python 3.14 yet: https://github.com/microsoft/markitdown/issues/1470
"--with",
"pip-system-certs",
"mcp-local-rag@latest"
]
}
}
}
Metadata
Release files for mcp-local-rag 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_local_rag-0.4.0.tar.gz | 34.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_local_rag-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.5 kB
Release files / mcp_local_rag-0.4.0.tar.gz
| Download URL | mcp_local_rag-0.4.0.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb844076849016b41f8032fdd361fdbb38f589df6f233198d5ca8cd6c8c7c474
|
|
BLAKE2b-256 checksum How to use checksums |
8d07203389ae292848a456ccba36a34b4345b789bc350e77622a6de8e6dc669c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logRelease files / mcp_local_rag-0.4.0-py3-none-any.whl
| Download URL | mcp_local_rag-0.4.0-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a29123eeb8d8b52fb1609f153f2035b6d1a419db0d294f804622e1996eaa28ff
|
|
BLAKE2b-256 checksum How to use checksums |
891e7fd2a49f12067c8d57544b41391c72dfebb1630f549db9032cebbe715db7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency log