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

MCP server · Audited from source

Codebase Context MCP server

by patricksys/codebase-contextNOASSERTION licenceAudited 7 Oct 2026 · source a2d12099718b

npm eval-controlled-fixture 1.0.0stdiostreamable-http★ 65
!CAUTIONGrade B · 86/100 · 7 Oct 2026 · a2d1209
65GitHub stars

Is it safe? With care — CAUTION, grade B (86/100). It exposes 12 tools: 11 read, 1 write and 0 destructive. The audit recorded 17 findings (0 critical, 1 high, 0 medium, 16 low). Maintainer's description: Codebase Context gives AI agents understanding of your codebase through semantic code search, team conventions, patterns, and memory, so they use fewer tokens, spend less time, and produce better, more familiar output.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Codebase Context MCP server (patricksys/codebase-context)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/patricksys/codebase-context

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score86/100!CAUTION B
0 critical1 high0 medium16 low0 info

17 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

  • FilesystemDeclared7 observations
  • NetworkDeclared1 observation
  • 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, activityFAIL 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 12 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

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

Provenance

  • Repository owner patricksysUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmeval-controlled-fixture at version 1.0.0
  • LicenceNOASSERTIONFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit reada2d12099718bThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory12 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 (17)

Sorted by severity

HIGHInventory / provenanceinv.suspicious_name · src/tools/search-payload-budget.ts
F-13 Inventory / provenanceCWE-1104Layer L0
search-payload-budget.ts
Why
member named after an attack tool
Fix
remove or justify
LOWInventory / provenanceinv.hidden_file · .gitmodules
F-13 Inventory / provenanceCWE-1104Layer L0
.gitmodules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .release-please-manifest.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-please-manifest.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/eval/harness.ts:101
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return crypto.createHash('sha1').update(normalizePath(filePath)).digest('hex').slice(0, 8);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:21
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../types/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:22
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createChunksFromCode } from '../../utils/chunking.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:26
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../constants/codebase-context.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:27
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { registerComplementaryPatterns } from '../../patterns/semantics.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/analyzers/generic/index.ts:18
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../types/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-final-lane-readiness.yml:31
F-04 Network egressCWE-200 · CWE-319Layer L1
OLLAMA_HOST: http://127.0.0.1:11434
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-grepai-readiness.yml:23
F-04 Network egressCWE-200 · CWE-319Layer L1
OLLAMA_HOST: http://127.0.0.1:11434
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-infra-lane-readiness.yml:31
F-04 Network egressCWE-200 · CWE-319Layer L1
OLLAMA_HOST: http://127.0.0.1:11434
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/capabilities.md:12
F-04 Network egressCWE-200 · CWE-319Layer L1
| **HTTP**            | `npx -y [email protected] --http [--port N]` | `http://127.0.0.1:3100/mcp`  |
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/client-setup.md:326
F-04 Network egressCWE-200 · CWE-319Layer L1
The documented default endpoint is `http://127.0.0.1:3100/mcp`. Config-shape templates are available in [`templates/mcp/stdio/.mcp.json`](../templates/mcp/stdio/.mcp.json) and [`templates/mcp/http/.mc
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@huggingface/transformers, @inquirer/prompts, @lancedb/lancedb, @modelcontextprotocol/sdk, @typescript-eslint/typescript-estree, chokidar, fuse.js, glob
Why
30 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · tests/fixtures/README.md:249
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · tests/fixtures/README.md:280
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

12 declared in source · 0 destructive

11 read1 write0 destructive
ToolRiskWhat it does
detect_circular_dependencieswriteAnalyze the import graph to detect circular dependencies between files.
echo_searchreadEchoes the incoming query
get_codebase_healthreadGet actionable codebase health signals from the latest index. Returns the highest-risk files and their reasons, or a single file when requested.
get_codebase_metadatareadGet codebase metadata including framework information, dependencies, architecture patterns,
get_indexing_statusreadGet current indexing status: state, statistics, and progress.
get_memoryreadRetrieves team conventions, architectural decisions, and known gotchas.\n
get_style_guidereadQuery style guide rules and architectural patterns from project documentation.
get_symbol_referencesreadFind concrete references to a symbol in indexed chunks. Returns total usageCount and top usage snippets.
get_team_patternsreadGet actionable team pattern recommendations based on codebase analysis.
refresh_indexreadRe-index the codebase. Supports full re-index or incremental mode.
rememberreadCALL IMMEDIATELY when user explicitly asks to remember/record something.\n\n
search_codebasereadSearch the indexed codebase. Default compact mode returns at most 6 ranked results with

Install

Package version 1.0.0 · audited commit a2d1209

Read the findings first. The most severe is Inventory / provenance (high) at src/tools/search-payload-budget.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit a2d1209 only.

claude mcp add eval-controlled-fixture --env OPENAI_API_KEY=${OPENAI_API_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (1.0.0); the audit covers commit a2d12099718b. Transport: stdio · streamable-http. Reads this environment variable: OPENAI_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 86 / 100

    First audit · a2d12099718b

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/patricksys/codebase-context/badge.svg)](https://modelsatlas.com/mcp/patricksys/codebase-context/)

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 Codebase Context MCP server

What is the Codebase Context MCP server?
Codebase Context gives AI agents understanding of your codebase through semantic code search, team conventions, patterns, and memory, so they use fewer tokens, spend less time, and produce better, more familiar output.
What tools does Codebase Context expose?
12 in total: 11 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Codebase Context safe to connect to an agent?
With care. The audit graded it B (86/100) and found 17 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Codebase Context need?
It reads OPENAI_API_KEY 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 does Codebase Context run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as eval-controlled-fixture at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (a2d12099718b), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • patricksys/codebase-context on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit a2d12099718bObserved · 7 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.