MCP server · Audited from source
ContextAtlas MCP server
by codefromkarl/contextatlasMIT licenceAudited 8 Oct 2026 · source 31337e0eca77
Is it safe? Yes — SAFE, grade B (85/100). It exposes 30 tools: 28 read, 1 write and 1 destructive. The audit recorded 19 findings (0 critical, 0 high, 1 medium, 17 low). Maintainer's description: ContextAtlas — context infrastructure for AI coding agents: hybrid retrieval, project memory and retrieval observability via CLI, MCP server or embeddable library. Tree-sitter indexing, LanceDB vector search, FTS5 and token-aware context packing.
Cite
Cite this page
ModelsAtlas. “ContextAtlas MCP server (codefromkarl/contextatlas)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/codefromkarl/contextatlas
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
19 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
- FilesystemDeclared10 observations
- NetworkDeclared4 observations
- ShellDeclared5 observations
- 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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 15 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
codefromkarlUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@codefromkarl/context-atlasat version 0.0.7 - LicenceMITFrom the repository, as read at the audited commit.
- Last push4 months agoActivity of the repository when we read it.
- Source commit read31337e0eca77The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory30 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 (19)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
delete_memory
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.suspicious_name · tests/payload-too-large.test.ts
payload-too-large.test.ts
- Why
- member named after an attack tool
- Fix
- remove or justify
LOWInsecure cryptocrypto.weak_hash · src/application/memory/executeCheckpoints.ts:120
id: `chk_${crypto.createHash('sha1').update(`${args.repo_path}:${args.title}:${args.goal}:${now}`).digest('hex').slice(0, 12)}`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/application/retrieval/resultCard.ts:1472
id: `checkpoint:${crypto.createHash('sha1').update(`${repoPath}:${informationRequest}`).digest('hex').slice(0, 12)}`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/db/index.ts:48
return crypto.createHash('md5').update(projectPath).digest('hex').slice(0, 10);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/memory/MemoryAutoRecorder.ts:468
return `${prefix}-${crypto.createHash('sha1').update(input).digest('hex').slice(0, 12)}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/application/memory/assembleContextFormatter.ts:13
} from '../../memory/types.js';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/application/memory/assembleContextFormatter.ts:14
import type { AssemblyProfileName } from '../../memory/MemoryRouter.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/application/memory/assembleContextStrategy.ts:15
} from '../../memory/types.js';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/application/memory/assembleContextStrategy.ts:16
import type { AssemblyProfileName } from '../../memory/MemoryRouter.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/application/memory/assembleContextStrategy.ts:17
import { MemoryStore } from '../../memory/MemoryStore.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/guides/deployment.md:281
EMBEDDINGS_BASE_URL=http://127.0.0.1:8787/v1/embeddings
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/assemble-context.test.ts:66
process.env.EMBEDDINGS_BASE_URL = 'http://127.0.0.1/embeddings';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/assemble-context.test.ts:69
process.env.RERANK_BASE_URL = 'http://127.0.0.1/rerank';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/codebase-retrieval.test.ts:40
process.env.EMBEDDINGS_BASE_URL = 'http://127.0.0.1/embeddings';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/codebase-retrieval.test.ts:43
process.env.RERANK_BASE_URL = 'http://127.0.0.1/rerank';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@keqingmoe/tree-sitter, @lancedb/lancedb, @modelcontextprotocol/sdk, better-sqlite3, cac, chardet, dotenv, fdir
- Why
- 23 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · docs/architecture/contextatlas-architecture.png
docs/architecture/contextatlas-architecture.png
- Why
- 6035494 bytes not read
- Fix
- —
Tools it exposes
30 declared in source · 1 destructive
1 tool 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.
| Tool | Risk | What it does |
|---|---|---|
delete_memory | destructive | Delete a feature memory for the current project. This removes the feature memory and cleans coordinated derived state. |
create_checkpoint | write | Create a durable task checkpoint for later resume or handoff. Use this after research, debugging, or implementation milestones when you want to preserve current task state outside the conversation transcript. |
Consumer | read | consumer project |
ContextAtlas | read | Semantic retrieval |
Producer | read | source project |
assemble_context | read | Assemble phase-aware context from checkpoint, module memory, and derived code retrieval. Use this to build a minimal context package for overview/debug/implementation/verification/handoff workflows. |
codebase-retrieval | read | IMPORTANT: This is the PRIMARY tool for searching the codebase. It uses a hybrid engine (Semantic + Exact Match) to find relevant code. Think of it as the |
contract_analysis | read | contract check |
detect_changes | read | Analyze git diff changes and map changed lines back to indexed graph symbols, then summarize direct upstream/downstream impact. |
find_agent_diary | read | Search diary entries by keyword, with optional agent/topic filters. |
get_dependency_chain | read | [CROSS-PROJECT] Get all dependencies (recursive) for a module. Uses recursive CTE to traverse the full dependency graph. Great for understanding impact of changes or debugging cascading issues. Examples: - Get all dependencies of AuthService → get_dependency_chain({ project: |
get_project_profile | read | Get the project profile containing tech stack, structure, and conventions. Returns comprehensive project information including: - Technology stack - Project structure - Key modules - Development conventions - Build/test commands |
graph_context | read | Return the immediate graph neighborhood for one exact symbol name, including parent, upstream, and downstream relations. |
graph_impact | read | Analyze downstream / upstream code graph impact for one exact symbol name. Use this after indexing when you need to inspect immediate relations and resolved local impact. |
graph_query | read | Trace graph paths from one exact entry symbol across resolved relations such as CALLS and HAS_METHOD. |
list_checkpoints | read | List durable task checkpoints saved for the current repository. |
load_checkpoint | read | Load a previously saved task checkpoint for resume or handoff. |
maintain_memory_catalog | read | Perform maintenance operations for the current project |
manage_projects | read | [CROSS-PROJECT] Manage projects in the memory hub (register, list, stats). Actions: - register: Register a new project (requires path) - list: List all registered projects - stats: Get memory hub statistics Examples: - manage_projects({ action: |
old-profile | read | old profile |
prepare_handoff | read | Assemble a handoff-ready bundle from an existing checkpoint. Use this when an agent needs a compact, structured package for resume or transfer. |
read_agent_diary | read | Read recent diary entries for one agent. |
record_agent_diary | read | Append one agent diary entry as journal memory. |
record_decision | read | Record an architectural decision. Use this to document important design decisions, alternatives considered, and rationale. Creates a persistent record for future reference. Required fields: - id: Unique identifier (e.g., |
record_long_term_memory | read | Record explicit long-term memory, including journal, evidence, and temporal facts. Use this to save durable non-code knowledge with scope and optional validity windows. |
record_memory | read | Record a new feature memory for a module. Use this to document module responsibilities, APIs, dependencies, and data flow. This creates a persistent memory that can be quickly retrieved later. Required fields: - name: Module name - responsibility: What the module does - dir: Source directory |
record_result_feedback | read | Record lightweight result feedback for retrieval quality and memory governance. Use this to mark helpful/unhelpful results, stale memories, or wrong module bindings. Feedback is stored as project-scoped long-term memory with type= |
suggest_memory | read | [AUTO-RECORD] Suggest memory recording for a specific module. Use this when you want to record a memory but need AI to help extract details. Examples: - suggest_memory({ moduleName: |
suggest_phase_boundary | read | Suggest the next workflow phase boundary from current checkpoint and context signals. Use this to decide whether to stay in the current phase or move into implementation, verification, or handoff. |
unmapped-tool | read | Missing handler |
Install
Package version 0.0.7 · audited commit 31337e0
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.0.7. The audit covers commit 31337e0 only.
claude mcp add context-atlas --env EMBEDDINGS_API_KEY=${EMBEDDINGS_API_KEY} --env EMBEDDING_GATEWAY_API_KEYS=${EMBEDDING_GATEWAY_API_KEYS} --env EMBEDDING_GATEWAY_REDIS_KEY_PREFIX=${EMBEDDING_GATEWAY_REDIS_KEY_PREFIX} --env OLLAMA_RERANK_MAX_TOKENS=${OLLAMA_RERANK_MAX_TOKENS} -- npx -y @codefromkarl/[email protected]{
"mcpServers": {
"context-atlas": {
"command": "npx",
"args": [
"-y",
"@codefromkarl/[email protected]"
],
"env": {
"EMBEDDINGS_API_KEY": "${EMBEDDINGS_API_KEY}",
"EMBEDDING_GATEWAY_API_KEYS": "${EMBEDDING_GATEWAY_API_KEYS}",
"EMBEDDING_GATEWAY_REDIS_KEY_PREFIX": "${EMBEDDING_GATEWAY_REDIS_KEY_PREFIX}",
"OLLAMA_RERANK_MAX_TOKENS": "${OLLAMA_RERANK_MAX_TOKENS}"
}
}
}
}The command pins the package version recorded in the source (0.0.7); the audit covers commit 31337e0eca77. Transport: stdio. Reads these environment variables: EMBEDDINGS_API_KEY, EMBEDDING_GATEWAY_API_KEYS, EMBEDDING_GATEWAY_REDIS_KEY_PREFIX, OLLAMA_RERANK_MAX_TOKENS, RERANK_API_KEY. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 85 / 100
First audit ·
31337e0eca77
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/codefromkarl/contextatlas/)
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 ContextAtlas MCP server
What is the ContextAtlas MCP server?
What tools does ContextAtlas expose?
Is ContextAtlas safe to connect to an agent?
What credentials does ContextAtlas need?
How does ContextAtlas run?
How current is this page?
Sources
- codefromkarl/contextatlas on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 31337e0eca77Observed · 8 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.
- What is the ContextAtlas MCP server?
- What tools does ContextAtlas expose?
- Is ContextAtlas safe to connect to an agent?