Atlas / MCP servers / nicholasglazer / Gnosis

GnosisBLOCK

mcp/nicholasglazer/gnosis

Zero-config MCP server for searchable documentation (SQLite default, PostgreSQL optional)

Verdict
BLOCK
Grade
F
Trust score
60 /100
Exposed tools
9 4r · 4w · 1d
Transport
stdio · streamable-http
License
MIT
Stars
29
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Gnosis MCP

Stop pasting files into context. Your AI agent searches your local docs instead.5–10× fewer tokens per lookup. 92 % Hit@5 on real dev docs. Zero cloud dependencies.

Quick Start · Documentation · Tools · Configuration · Full Reference

Ingest docs → Search with highlights → Stats overview → Serve to AI agents

Without a docs server

  • LLMs hallucinate API signatures that don't exist
  • Entire files dumped into context — 3,000–15,000 tokens per doc
  • Architecture decisions buried across dozens of files
  • Every repeated lookup pays full context cost

With Gnosis MCP

  • search_docs returns ranked, highlighted excerpts — typically 300–800 tokens
  • Real answers
Read from source at commit 49045a91a91eOBSERVED · 2026-10-09
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (pypi)
claude mcp add gnosis-mcp -- None gnosis-mcp==0.17.5
03

Exposed tools (9)

4 read · 4 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
delete_docdestructiveDelete a document and all its chunks. Requires GNOSIS_MCP_WRITABLE=true.
get_contextreadGet the most important documents as a lightweight context primer.
get_docwriteGet full document content by file path. Reassembles all chunks in order.
get_graph_statsreadGet knowledge graph topology: orphans, hubs, connection stats.
get_relatedreadFind documents related to a given path via incoming and outgoing links.
search_docsreadSearch documentation using keyword or hybrid semantic+keyword search.
search_git_historywriteSearch git commit history documents. Searches the git-history category.
update_metadatawriteUpdate metadata fields on all chunks of a document. Requires GNOSIS_MCP_WRITABLE=true.
upsert_docwriteInsert or replace a document. Requires GNOSIS_MCP_WRITABLE=true.
04

Trust audit

BLOCKgrade F · trust 60/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (9 observation(s))
Shell
declared (1 observation(s))
Dependencies
pinned
Secrets in source
found

Findings (16)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
src/gnosis_mcp/cli.py:1924
p_eval = sub.add_parser("eval", help="Run retrieval quality eval (Hit@K, MRR, Precision@K)")
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHPrompt injection · prompt.override · CWE-94, CWE-1427
agents/doc-keeper.md:171
- User asks you to bypass a safety (disable size caps, force-enable
Why it matters. asks the agent to drop prior instructions or safety
Fix. remove the instruction
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
Dockerfile:82
CMD curl -fsS "http://127.0.0.1:${GNOSIS_MCP_PORT}/health" || exit 1
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:72
GNOSIS_MCP_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/gnosis_test
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/publish.yml:115
GNOSIS_MCP_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/gnosis_test
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
CONTRIBUTING.md:47
psql postgresql://postgres:pw@localhost/postgres -c "CREATE EXTENSION IF NOT EXISTS vector;"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
CONTRIBUTING.md:49
GNOSIS_MCP_DATABASE_URL=postgresql://postgres:pw@localhost/postgres \
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docs/benchmarks.md:172
GNOSIS_MCP_DATABASE_URL="postgresql://postgres:pw@localhost:15432/gnosis_bench" \
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_doc
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mailmap
.mailmap
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
pkg/arch/.SRCINFO
.SRCINFO
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/test_crawl.py:112
assert _is_private_host("169.254.169.254") is True
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
agents/README.md:375
"url": "http://127.0.0.1:8000/mcp"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/deployment.md:51
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health').read()" || exit 1
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/deployment.md:225
cloudflared tunnel --url http://127.0.0.1:8000 run gnosis
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
llms-install.md:163
| **Windows via WSL2** | Same as Linux, inside WSL | Inside the WSL filesystem | The simplest route to Docker or systemd from Windows — localhost forwarding means a Windows client reaches `http://127.

Gates applied: instruction_override, no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 49045a91a91efull audit observations/trust-audit/mcp-server/nicholasglazer__gnosis.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0949045a91a91eBLOCKF60first audit
06

Questions

What is the Gnosis MCP server?

Zero-config MCP server for searchable documentation (SQLite default, PostgreSQL optional)

What tools does Gnosis expose?

9 in total: 4 read-only, 4 that write, and 1 that can delete or overwrite (delete_doc). Every one is listed on this page with its risk.

Is Gnosis safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (60/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Gnosis need?

No credential environment variables were found in its source, so it appears to need none.

How does Gnosis run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as gnosis-mcp.

How current is this page?

The grade is for one exact copy of the source (49045a91a91e), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement