Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Context Lens MCP server

by cornelcroi/context-lensMIT licenceAudited 9 Oct 2026 · source 5610bd8867db

PyPI context-lens 0.1.8stdiostreamable-http★ 24
✓SAFEGrade B · 89/100 · 9 Oct 2026 · 5610bd8
24GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 6 tools: 3 read, 1 write and 2 destructive. The audit recorded 5 findings (0 critical, 0 high, 1 medium, 1 low). Maintainer's description: Semantic search knowledge base for MCP-enabled AI assistants. Index local files or GitHub repos, query with natural language. Built on LanceDB vector storage. Works with Claude Desktop, Cursor, and other MCP clients.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Context Lens MCP server (cornelcroi/context-lens)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/cornelcroi/context-lens

Trust audit

Audit 0.4.1 · full source read 9 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium1 low3 info

5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared3 observations
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner cornelcroiUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIcontext-lens at version 0.1.8
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push11 months agoActivity of the repository when we read it.
  • Source commit read5610bd8867dbThe audit covers exactly this commit, read on 9 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory6 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (5)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
clear_knowledge_base, remove_document
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
fastmcp, lancedb, sentence-transformers, transformers, torch, numpy, pandas, pyarrow
Why
12 requirement(s) not pinned with ==
Fix
pin exact versions
INFOInventory / provenanceinv.oversize · img/demo.gif
F-13 Inventory / provenanceCWE-1104Layer L0
img/demo.gif
Why
5622022 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · README.md:157
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Load environment variables from .env file
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · SETUP.md:145
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Load environment variables from .env file
Why
asks the agent to read credentials
Fix
—

Tools it exposes

6 declared in source · 2 destructive

3 read1 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
clear_knowledge_basedestructiveRemoves all documents from the knowledge base.
remove_documentdestructiveRemoves a document from the knowledge base.
add_documentwriteAdds a document or GitHub repository to the knowledge base.
get_document_inforeadGets metadata and statistics about a document in the knowledge base.
list_documentsreadLists all documents in the knowledge base with pagination support.
search_documentsreadSearches documents using semantic vector similarity to find relevant content.

Install

Package version 0.1.8 · audited commit 5610bd8

No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 5610bd8867db

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/cornelcroi/context-lens/badge.svg)](https://modelsatlas.com/mcp/cornelcroi/context-lens/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Context Lens MCP server

What is the Context Lens MCP server?
Semantic search knowledge base for MCP-enabled AI assistants. Index local files or GitHub repos, query with natural language. Built on LanceDB vector storage. Works with Claude Desktop, Cursor, and other MCP clients.
What tools does Context Lens expose?
6 in total: 3 read-only, 1 that write, and 2 that can delete or overwrite (clear_knowledge_base, remove_document). Every one is listed on this page with its risk.
Is Context Lens safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Context Lens need?
No credential environment variables were found in its source, so it appears to need none.
How does Context Lens run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as context-lens.
How current is this page?
The grade is for one exact copy of the source (5610bd8867db), read on 2026-10-09. The repository is watched and re-audited when it changes.

Sources

  • cornelcroi/context-lens on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 5610bd8867dbObserved · 9 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.