1. Conduid
  2. AI
  3. nkapila6/mcp-local-rag
MCP server · AI

nkapila6/mcp-local-rag

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

85Strong

Scored 6 hours ago · breakdown

About nkapila6/mcp-local-rag

nkapila6/mcp-local-rag is an MCP server published by nkapila6 in the AI category: "primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨. Conduid read 4 tools from its source: deep_research, rag_search_ddgs, read_url and search. It is published to PyPI as mcpsurfr and runs with uvx.

The repository has 151 stars and 22 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v1.0.4 (10 Jun 2026). It follows v1.0.3 (4 Apr 2026), and the 4 most recent releases go back to v1.0.1 (28 Jan 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include rag and web-seach.

Install

uvx
uvx mcpsurfr
pip
pip install mcpsurfr
From source
git clone https://github.com/nkapila6/mcp-local-rag

Tools (4)

deep_researchSeveral search terms across backends, merged and de-duplicated. `passages: true` returns only the relevant passages per term
ParameterTypeDescription
backendsarrayBackends to use. Defaults to ["auto"]. Unknown names are skipped with a warning.
exclude_domainsarrayNever results from these sites. Example: ["pinterest.com"]
include_domainsarrayOnly results from these sites, subdomains included. Example: ["python.org", "stackoverflow.com"]
include_urlsbooleanWhether to include each page's source URL.
max_passagesintegerPassages to return in passages mode, shared across terms. Default 12.
newsbooleanSearch news articles instead of the web. Results then carry their published "date". News backends: auto, bing, duckduckgo, yahoo. Pair with recency for current events.
num_results_per_termintegerNumber of results to rank per search term per backend.
passagesbooleanTrue returns only the passages that answer each term, about a tenth of the text of full pages: prefer it unless whole pages are needed. False returns full pages. Left out, the server's MCPSURFR_DEEP_RESEARCH_MODE decides (pages by default).
recencyanyApplied to every term. Only results from the past "day", "week", "month" or "year".
regionstringRegion-language code like "us-en", "uk-en" or "de-de". Default: ddgs's own (us-en).
search_terms *array2-5 specific, related search queries covering different angles. Example: ["postgres query planner", "postgres index types", "EXPLAIN ANALYZE tutorial"]
top_k_per_termintegerNumber of top-ranked results to keep per search term per backend.
rag_search_ddgsFull pages as text (the original mode). Takes a `backend`
ParameterTypeDescription
backendstringSearch backend, same names as deep_research. Default "auto" (ddgs metasearch over several engines, skipping blocked ones). Non-auto backends that return nothing are retried with "auto".
exclude_domainsarrayNever results from these sites. Example: ["pinterest.com"]
include_domainsarrayOnly results from these sites, subdomains included. Example: ["python.org", "stackoverflow.com"]
include_urlsbooleanWhether to include each page's source URL for citation. Default: True
newsbooleanSearch news articles instead of the web. Results then carry their published "date". News backends: auto, bing, duckduckgo, yahoo. Pair with recency for current events.
num_resultsintegerNumber of initial search results to rank. More results provide better coverage but increase processing time. Default: 10
query *stringThe search query. Use natural language questions or keywords. Example: "latest developments in quantum computing"
recencyanyOnly results from the past "day", "week", "month" or "year".
regionstringRegion-language code like "us-en", "uk-en" or "de-de". Default: ddgs's own (us-en).
top_kintegerNumber of top-ranked pages to fetch and return. Default: 5
read_urlOne page you already have the link for. Pass a `query` to get only the passages that answer it
ParameterTypeDescription
keywordsarrayTerms a good answer would contain, as for search.
max_passagesintegerPassages to return when there's a query. Default 8.
querystringWhat you want from the page. Leave out to get the whole text.
url *stringA public http(s) URL. Localhost and private network addresses are refused.
searchStart here: returns only the relevant passages. Pass `keywords` for better hits
ParameterTypeDescription
backendstringSearch backend, same names as deep_research. Default "auto".
exclude_domainsarrayNever results from these sites. Example: ["pinterest.com"]
include_domainsarrayOnly results from these sites, subdomains included. Example: ["python.org", "stackoverflow.com"]
keywordsarrayTerms a good answer would contain, including synonyms and exact phrases. Example for "how do I make postgres faster": ["index", "EXPLAIN ANALYZE", "query planner", "vacuum"]. Strongly improves results.
max_passagesintegerPassages to return. Default 8.
newsbooleanSearch news articles instead of the web. Results then carry their published "date". News backends: auto, bing, duckduckgo, yahoo. Pair with recency for current events.
num_resultsintegerSearch results to consider. Default 10.
query *stringThe question or topic, in natural language.
recencyanyOnly results from the past "day", "week", "month" or "year".
regionstringRegion-language code like "us-en", "uk-en" or "de-de". Default: ddgs's own (us-en).
top_pagesintegerPages to fetch and split. Default 5.

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 922 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 4 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.4v1.0.4 · 10 Jun 2026What's Changed Update Linguist rules for Skill markdown files by @cr2007 in https://github.com/nkapila6/mcp-local-rag/pull/89 chore(deps): bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in…
v1.0.3v1.0.3 · 4 Apr 2026What's Changed chore(deps): bump docker/login-action from 3 to 4 by @dependabot[bot] in https://github.com/nkapila6/mcp-local-rag/pull/70 Improve Docker publishing, LFS setup, and repo metadata by @cr2007 in…
v1.0.2v1.0.2: added deep research · 31 Jan 2026Full Changelog: https://github.com/nkapila6/mcp-local-rag/compare/v1.0.1...v1.0.2
v1.0.1v1.0.1: deps update and url return · 28 Jan 2026What's Changed chore(deps): bump fastmcp from 2.14.1 to 2.14.2 by @dependabot[bot] in https://github.com/nkapila6/mcp-local-rag/pull/59 chore(deps): bump aiohttp from 3.13.2 to 3.13.3 by @dependabot[bot] in…

README

The repository's README runs to about 922 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About nkapila6/mcp-local-rag

How do I install nkapila6/mcp-local-rag?

Run uvx mcpsurfr, then add the server to your MCP client's configuration.

Is nkapila6/mcp-local-rag safe to use with an AI agent?

Its trust score is 85 out of 100 (strong). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is nkapila6/mcp-local-rag still maintained?

Yes — the latest release is v1.0.4 (10 Jun 2026), and the last commit was 2 days ago. The repository has 151 stars and 11 open issues.

What tools does nkapila6/mcp-local-rag provide?

Conduid read 4 tools from the source: deep_research, rag_search_ddgs, read_url and search. 4 of them publish their parameters, listed under Tools above.

What license is nkapila6/mcp-local-rag released under?

The repository declares the MIT license. That applies to the latest release, v1.0.4, as well.