codebase-context

MCP server · npm · ★ 67 · graded 2026-10-19Source linked

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.

No outside reports on file

codebase-context is distributed via npm (codebase-context); review its source code, dependencies, and requested permissions before use.

Based on public adoption and transparency signals as of Oct 19, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for Codebase Context helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionRuns shell or system commandsREVIEW
  • Network reachConnects to outside service APINOTED
  • CredentialsNo API token requiredLOW
  • Package sourcenpm (codebase-context)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

npx -y codebase-context

All setup options ↓

About Codebase Context

Codebase Context is an MCP server focused on Developer tools and Web & browsing: 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.

It is published on npm as codebase-context and hosted on GitHub at PatrickSys/codebase-context (66 GitHub stars, 82 weekly npm downloads). Based on its public metadata, it operates with standard local or API scope without broad shell execution flags noted.

Setup

Check these steps against the project’s own instructions before running anything.

Run codebase-context with --ignore-scripts in claude_desktop_config.json or .cursor/mcp.json:

json
{
  "mcpServers": {
    "codebase-context": {
      "command": "npx",
      "args": ["-y", "--ignore-scripts", "codebase-context"]
    }
  }
}

Why this grade

CC — Moderate risk signals

Signal-based grade (2/7 points): public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

39/100
GitHub stars
67
Weekly npm downloads
165
Listing last refreshed
2026-10-29

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Security reports

No reports found for this package in our research (last checked 2026-10-29).

Check a specific version →

Risks to watch for

  • Dependency & version pinning: Distributed via npm (codebase-context). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install Codebase Context?

Run npx -y codebase-context in your terminal, or add the server entry to your claude_desktop_config.json or .cursor/mcp.json as shown in the Setup section on this page. Full setup docs and environment variables are in github.com/PatrickSys/codebase-context.

Are there security reports about Codebase Context?

No reports found for this package in our research (last checked 2026-10-29). Codebase Context currently holds Grade C (Moderate risk signals) based on public adoption and transparency signals. Key risk areas to watch include dependency & version pinning:.

Is Codebase Context actively maintained?

Codebase Context has 67 GitHub stars and 165 weekly npm downloads. Our directory data was last refreshed on 2026-10-29. Check recent commit activity, release tags, and open issues at github.com/PatrickSys/codebase-context before pinning it in production.

What are alternatives to Codebase Context?

You can compare Codebase Context side by side with other Search, Memory MCP servers in the Related tools section on this page, or use the Compare tool on AgentArmorHQ.

README badge and team notes

Maintain or use Codebase Context? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade C for Codebase Context

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for Codebase Context](https://agentarmorhq.com/api/badge/patricksys-codebase-context)](https://agentarmorhq.com/skills/patricksys-codebase-context)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/patricksys-codebase-context"><img src="https://agentarmorhq.com/api/badge/patricksys-codebase-context" alt="AgentArmorHQ Risk Grade for Codebase Context" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "patricksys-codebase-context"

Share with your security lead

Need sign-off to use codebase-context? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: codebase-context
- **Listing URL:** https://agentarmorhq.com/skills/patricksys-codebase-context
- **Type:** App connector
- **Risk Grade:** Grade C (Moderate risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 67 GitHub stars, 165 weekly npm downloads

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** Runs shell or system commands
- **Network reach:** Connects to outside service API
- **Credentials:** No API token required
- **Package source:** npm (codebase-context)

#### Recommended Hardened Setup
- **Command:** `npx -y --ignore-scripts codebase-context`
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 19, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
App connector
Publisher
PatrickSys
Source code
github.com/PatrickSys/codebase-context
Install command
npm install codebase-context
Est. context load
~750 tokens / turn (~4 tool schemas, 0.38% of 200k context)
Popularity
67 GitHub stars, 165 weekly npm downloads
Last updated
2026-10-29
Last graded
2026-10-19

Community

Discussions for Codebase Context

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for Codebase Context helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude