Atlas / MCP servers / lucifer-ux / Contextcore

ContextcoreCAUTION

mcp/lucifer-ux/contextcore-2

ContextCore: An MCP server for Claude (or any AI tool) that enables massive token saving through hybrid search (BM25 + Embeddings)

Verdict
CAUTION
Grade
B
Trust score
80 /100
Exposed tools
16 15r · 0w · 1d
Transport
—
License
AGPL-3.0
Stars
23
01

Overview

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

One MCP server for all your local files. Search everything, send only what matters to AI.

Stop pasting entire files into Claude. ContextCore indexes your notes, code, documents, images, audio, and video locally — then exposes a single MCP server that any AI tool can query. Instead of bloating your context window, Claude searches first and retrieves only the relevant chunks.

57% fewer tokens. Same answers. No cloud.

Works with: Claude Desktop · Claude Code · Cursor · Cline · OpenCode · any MCP-compatible tool

Why ContextCore?

Most developers working across large codebases or document collections hit the same wall: pasting everything into context is expensive, slow, and hits limits. RAG pipelines require infrastructure. Other memory tools are cloud-only or single-format.

ContextCore is a local-first MCP server that does hybrid search (BM25 + embeddings) across every file type you care about — and registers itself with your AI tools automatically. One install. One server. All your data.

It is not Supermemory. It does not sync to a cloud. Your files stay on your machine. What it gives you is supercharged retrieval across every local file format, surfaced directly inside Claude and other tools via MCP.

This is the one MCP to rule them all design: instead of managing separate MCP servers for different file types, you have one local server with a consistent search API across text, code, images, audi

Read from source at commit 475188e27c9cOBSERVED · 2026-10-10
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. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add search-embed-sdk --env CONTEXTCORE_GITHUB_TOKEN=${CONTEXTCORE_GITHUB_TOKEN} --env CONTEXTCORE_TEXT_TURSO_AUTH_TOKEN=${CONTEXTCORE_TEXT_TURSO_AUTH_TOKEN} --env CONTEXTCORE_TURSO_AUTH_TOKEN=${CONTEXTCORE_TURSO_AUTH_TOKEN} --env GITHUB_TOKEN=${GITHUB_TOKEN} -- npx -y search-embed-sdk
claude-desktop
{
  "mcpServers": {
    "search-embed-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "search-embed-sdk"
      ],
      "env": {
        "CONTEXTCORE_GITHUB_TOKEN": "${CONTEXTCORE_GITHUB_TOKEN}",
        "CONTEXTCORE_TEXT_TURSO_AUTH_TOKEN": "${CONTEXTCORE_TEXT_TURSO_AUTH_TOKEN}",
        "CONTEXTCORE_TURSO_AUTH_TOKEN": "${CONTEXTCORE_TURSO_AUTH_TOKEN}",
        "GITHUB_TOKEN": "${GITHUB_TOKEN}"
      }
    }
  }
}
03

Exposed tools (16)

15 read · 0 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
analyze_code_directoryread
fetch_contentread
filesystem_access_profileread
get_codebase_contextread
get_codebase_indexread
get_file_contentread
get_module_detailread
get_neighborsdestructivebudget = _consume_budget(session_id=session_id, reset=False)
index_contentread
list_filesread
list_sourcesread
prepare_file_for_toolread
refine_searchread
reveal_fileread
searchread
search_code_chunksread
04

Trust audit

CAUTIONgrade B · trust 80/100 Install with care. The audit found things worth knowing before you trust its output.

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

What the source does

Filesystem
declared (4 observation(s))
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (18)

MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
detect_paths.py:200
__import__(dep)
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
activity/__init__.py:1
"""ContextCore activity helpers package."""
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
audio_search_implementation_v2/__init__.py:1
"""Audio indexing and transcription package for ContextCore."""
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cli/main.py:1
# cli/main.py
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cli/ui.py:1
from __future__ import annotations
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
image_search_implementation_v2/__init__.py:1
"""Image indexing and retrieval package for ContextCore."""
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
get_neighbors
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
.flake8
.flake8
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pep8
.pep8
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
MCP_INTEGRATION.md:25
- `CONTEXTCORE_API_BASE_URL` (default: `http://127.0.0.1:8000`)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
MCP_INTEGRATION.md:42
"CONTEXTCORE_API_BASE_URL": "http://127.0.0.1:8000"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:119
- a local backend server, normally on `http://127.0.0.1:8000`
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:367
"CONTEXTCORE_API_BASE_URL": "http://127.0.0.1:8000",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:472
Invoke-WebRequest http://127.0.0.1:8000/health
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
husky
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
fastapi, uvicorn, requests, mcp, sqlite-vec, libsql, watchdog, pypdf
Why it matters. 19 requirement(s) not pinned with ==
Fix. pin exact versions
INFOInventory / provenance · inv.oversize · CWE-1104
images/Demonstration.gif
images/Demonstration.gif
Why it matters. 5281001 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
images/demoImplementation.gif
images/demoImplementation.gif
Why it matters. 9426221 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha 475188e27c9cfull audit observations/trust-audit/mcp-server/lucifer-ux__contextcore-2.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-10475188e27c9cCAUTIONB80first audit
06

Questions

What is the Contextcore MCP server?

ContextCore: An MCP server for Claude (or any AI tool) that enables massive token saving through hybrid search (BM25 + Embeddings)

What tools does Contextcore expose?

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

Is Contextcore safe to connect to an agent?

With care. The audit graded it B (80/100) and found 18 things worth knowing before you trust this server, listed below with the exact line each was found 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 Contextcore need?

It reads CONTEXTCORE_GITHUB_TOKEN, CONTEXTCORE_TEXT_TURSO_AUTH_TOKEN, CONTEXTCORE_TURSO_AUTH_TOKEN, GITHUB_TOKEN and TURSO_AUTH_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

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

Advertisement