Skip to main content

mcp-win-stdio-rag

Windows-optimized RAG MCP server for indexing documentation and repositories, then retrieving cited, bounded context for coding agents.

Tools

The server exposes 11 tools:

Workflow Tools
Indexing crawl_and_index_url, index_local_codebase, index_remote_repo
Retrieval query_knowledge_base, get_chunk_context, find_related_chunks, get_knowledge_tree
Collection management list_rag_collections, rag_status, delete_rag_collection, prune_rag_cache

Agent workflow

  1. Index a local workspace with index_local_codebase or documentation with crawl_and_index_url; use index_remote_repo for GitHub sources.
  2. Call list_rag_collections to discover available sources, then search with query_knowledge_base. Omit the collection to search all indexed sources.
  3. Follow citations and pass both the result's chunk_id and collection to get_chunk_context and find_related_chunks; chunk IDs can repeat across collections. Use get_knowledge_tree to browse a collection.
  4. Treat retrieval confidence as a relevance signal, not proof; confirm cited material before relying on it.

Search and storage

Search combines SQLite FTS5 BM25 with TF-IDF ranking when scikit-learn is installed, and falls back to token overlap when it is not. Confidence uses normalized whole-term overlap rather than substring matches, ignores common question filler, and abstains when fewer than one quarter of meaningful query terms are covered by the top results. Indexes are stored locally under %USERPROFILE%\\.mcp-win-stdio\\rag_stores by default; set MCP_RAG_DATA_DIR to choose another location.

prune_rag_cache removes expired temporary collections first. Unless purge_temp_only is enabled, it then removes oldest-modified collections until storage is within max_total_mb. delete_rag_collection permanently removes one selected collection.

Installation & CLI Usage

pip install mcp-win-stdio-rag
mws guide rag                            # Print client configuration snippets
mws run rag                              # Launch server over stdio via mws
mws-rag                                  # Standalone stdio server
mws-rag --transport sse --port 8080      # Standalone SSE HTTP server

Metadata

Release files for mcp-win-stdio-rag 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-win-stdio-rag 0.5.7
File Size Uploaded Provenance Actions
mcp_win_stdio_rag-0.5.7.tar.gz 30.7 kB With provenance Details for mcp_win_stdio_rag-0.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio-rag 0.5.7
File Interpreter ABI Platform Actions
mcp_win_stdio_rag-0.5.7-py3-none-any.whl Python 3 none any Details for mcp_win_stdio_rag-0.5.7-py3-none-any.whl

Total release size: 65.0 kB

Release files / mcp_win_stdio_rag-0.5.7.tar.gz

Download URL mcp_win_stdio_rag-0.5.7.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
183949f154d10c4e93320e2fa89c8d080741f6d4706d4137b2f04c4aaeef5b66
BLAKE2b-256 checksum
How to use checksums
b62d99f433072169774e76e8782a067327ef61a9c82522aba5bcfde737909e62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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 Dec 4, 2026.

Transparency log

Release files / mcp_win_stdio_rag-0.5.7-py3-none-any.whl

Download URL mcp_win_stdio_rag-0.5.7-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
107da295f72d8efece4fe07580145dc9c09c52a90c652280d8e6bb323ff3ca98
BLAKE2b-256 checksum
How to use checksums
c1ca0419c98e662380fb56a07eb29c0f2dbf70650c385b82f1ab082ddfd98874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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 Dec 4, 2026.

Transparency log

Security for mcp-win-stdio-rag 0.5.7

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_win_stdio_rag-0.5.7.tar.gz

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 Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page