1. Conduid
  2. AI
  3. Context Lens
MCP server · AI

Context Lens

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.

52Fair

Scored 21 hours ago · breakdown

About Context Lens

Context Lens is an MCP server published by cornelcroi in the AI category: 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. Conduid read 6 tools from its source: add_document, clear_knowledge_base, get_document_info, list_documents, remove_document and search_documents. It is published to PyPI as context-lens and runs with uvx.

The repository has 24 stars and 2 forks, is licensed MIT, and its last commit was on 20 Nov 2025. The latest release is v0.1.8 (15 Nov 2025): Changes in this release Installation pip install context-lens==0.1.8 Or use with uvx: uvx context-lens. It follows v0.1.7 (12 Nov 2025), and the 5 most recent releases go back to v0.1.4 (12 Nov 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include kiro, embedding, anthropic-claude and fastmcp.

Install

uvx
uvx context-lens
pip
pip install context-lens
From source
git clone https://github.com/cornelcroi/context-lens

Tools (6)

add_documentAdds a document or GitHub repository to the knowledge base.
ParameterTypeDescription
file_path *stringPath to document file, GitHub URL, or direct file URL
clear_knowledge_baseRemoves all documents from the knowledge base.
get_document_infoGets metadata and statistics about a document in the knowledge base.
ParameterTypeDescription
file_path *stringPath of the document
list_documentsLists all documents in the knowledge base with pagination support.
ParameterTypeDescription
limitintegerMaximum number of documents to return. Default is 100
offsetintegerNumber of documents to skip for pagination. Default is 0
remove_documentRemoves a document from the knowledge base.
ParameterTypeDescription
file_path *stringPath of the document to remove
search_documentsSearches documents using semantic vector similarity to find relevant content.
ParameterTypeDescription
limitintegerMaximum number of results to return (1-100). Default is 10
query *stringNatural language search query (1-10,000 characters) Examples: "How does authentication work?", "database connection patterns"

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.1K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 35 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.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEsrc/context_lens/main.py:77, src/context_lens/main.py:77, src/context_lens/main.py:77
Starts other programs
1 callsrc/context_lens/utils/github_handler.py:121
Outbound network calls
4 callssrc/context_lens/utils/url_fetcher.py:80, src/context_lens/utils/url_fetcher.py:101, src/context_lens/utils/url_fetcher.py:104
Writes or deletes files
5 callssrc/context_lens/server.py:48, src/context_lens/services/document_service.py:299, src/context_lens/utils/github_handler.py:138
Lockfile
uv.lock

Pattern matches on the source text of 35 files: places to read, not proof of what the code does at run time.

Releases

v0.1.8Release v0.1.8 · 15 Nov 2025Changes in this release Installation pip install context-lens==0.1.8 Or use with uvx: uvx context-lens
v0.1.7Release v0.1.7 · 12 Nov 2025Changes in this release Installation pip install context-lens==0.1.7 Or use with uvx: uvx context-lens
v0.1.6Release v0.1.6 · 12 Nov 2025Changes in this release Installation pip install context-lens==0.1.6 Or use with uvx: uvx context-lens
v0.1.5Release v0.1.5 · 12 Nov 2025Changes in this release Installation pip install context-lens==0.1.5 Or use with uvx: uvx context-lens
v0.1.4Release v0.1.4 · 12 Nov 2025Changes in this release Installation pip install context-lens==0.1.4 Or use with uvx: uvx context-lens

README

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

Read full README
Questions

About Context Lens

How do I install Context Lens?

Run uvx context-lens, then add the server to your MCP client's configuration.

Is Context Lens safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 35 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, starts other programs (1 call), makes outbound network calls (4 calls) and writes or deletes files (5 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Context Lens still maintained?

The last commit was a year ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Context Lens provide?

Conduid read 6 tools from the source: add_document, clear_knowledge_base, get_document_info, list_documents, remove_document and search_documents. 5 of them publish their parameters, listed under Tools above.

What license is Context Lens released under?

The repository declares the MIT license. That applies to the latest release, v0.1.8, as well.