4da MCP Server logo

4da MCP Server

Scans dependencies for vulnerabilities, evaluates upgrade safety and impact, and preserves project decisions and agent memory.

Install 4da MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "4da-mcp-server-3": {
      "command": "npx",
      "args": [
        "@4da/mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

4da-mcp-server gives coding agents dependency security and upgrade intelligence from local project files. It scans lockfiles across JavaScript, Rust, Python, Go, Ruby, and PHP ecosystems, then uses OSV.dev and package registries to assess vulnerabilities, freshness, releases, and upgrade effects. Agents can also record architectural decisions and shared discoveries for later work. Reach for it before changing dependency versions or starting a substantial task that depends on project context.

Use cases

  • Scan project lockfiles for known vulnerabilities
  • Check whether a dependency version is safe to add
  • Plan and prioritize dependency upgrades
  • Review source files affected by an upgrade
  • Record and verify architectural decisions

Key features

  • OSV.dev vulnerability scanning across supported lockfiles
  • Release, deprecation, yank, and freshness analysis
  • Project-aware upgrade impact and planning
  • Persistent decision and cross-agent memory
  • Automatic MCP configuration for supported editors

Tools11

What 4da MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~3.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

8/8 checks healthy over the last 26d

What it can do

From the 11 tools this server returned when we ran it; 11 declare their own safety hints.

Makes network requests · 7Read-only tools · 11
Network at startup3 connections
Files written at startup3
Install scriptsNone
npm provenanceSigned build
Package age259 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @4da/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads2.4kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.

How 4da MCP Server works

What 4da-mcp-server does

4da-mcp-server helps coding agents make dependency changes with project-specific evidence. Its security analysis matches installed packages, including transitive dependencies and multiple installed copies, against OSV.dev advisories. Upgrade analysis combines registry release data, package changelogs, deprecations, yanks, security fixes, and references found in the project’s source files.

The server also provides persistent context features. Agents can inspect the developer’s recorded role, technology preferences, interests, exclusions, and detected project context; store or recall cross-agent discoveries; and maintain architectural or technology decisions. A separate alignment check compares proposed technologies or patterns with those decisions.

How it works

The server runs locally over MCP and reads the project directory where it starts. It discovers lockfiles up to four levels down and across as many as 256 projects, while respecting .gitignore. Supported inputs include npm, pnpm, Yarn, Bun, Cargo, Poetry, uv, PDM, Pipenv, requirements files, Go modules, Bundler, and Composer. Python source files are read throughout a project, and npm installations can be checked against the contents of node_modules.

Registry and advisory lookups supply version, release, deprecation, yank, changelog, and vulnerability information. Results are cached and requests are rate-limited by source. The default changelog sources are package registries and archives; GitHub changelog lookup is available only when explicitly enabled with FOURDA_GITHUB_CHANGELOG=true. Hacker News data is fetched only for ecosystem_pulse, and semantic memory recall can use a configured local Ollama or OpenAI embedding provider.

Setup and configuration

Node.js 22 or later is required. Install the package through an MCP client with:

Terminal
claude mcp add 4da -- npx @4da/mcp-server

The package uses Node’s built-in node:sqlite on Node 22.13 and later. On earlier Node 22 releases, it can use the optional better-sqlite3 module. Run npx @4da/mcp-server --doctor to identify the database implementation in use.

The repository documents configurations for Claude Code, Claude Desktop, Cursor, Windsurf, and VS Code. The --setup command can detect supported editor installations, merge server entries while preserving existing settings, and create backups; --setup --dry-run previews those changes. A Claude Code plugin also supplies a hook that reacts to dependency-version edits in common manifest files and prompts the agent to run safety and impact checks.

Tools and capabilities

  • vulnerability_scan checks supported lockfiles against OSV.dev and reports affected versions, fixes, and pins.
  • dependency_health reports version freshness, deprecations, and vulnerability counts for npm, Rust, Python, and Go dependencies.
  • upgrade_planner creates a prioritized project upgrade order.
  • upgrade_impact compares one installed dependency with a target release, including breaking changes and importing files.
  • dependency_check evaluates exact versions or version constraints before they are written to manifests.
  • what_should_i_know prepares a task briefing with relevant dependencies, vulnerabilities, releases, decisions, and a delegation verdict.
  • ecosystem_pulse finds recent Hacker News discussions about dependencies the project uses.
  • get_context, decision_memory, and check_decision_alignment manage project context and architectural decisions.
  • agent_memory stores and recalls information shared across agents.

Limitations and notes

Manifests without lockfiles are not treated as installed dependency sets. Maven, Gradle, .NET, Pub, Hex, SwiftPM, and CocoaPods inputs are outside the dependency scan. Test-fixture lockfiles are skipped by default and can be included with include_test_fixtures: true.

Coverage is reported when files are skipped, unreadable, outside supported ecosystems, or cannot receive an OSV response. Incomplete advisory results are marked as unchecked rather than presented as a clean scan. No account or API key is needed for the standard installation, and project files remain local except for the documented registry, advisory, news, changelog, and optional embedding requests.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about 4da MCP Server

4da-mcp-server is an MCP server that connects coding agents to local project lockfiles, OSV.dev, package registries, and optional memory services. Its main tools scan vulnerabilities, check dependency versions, plan upgrades, explain upgrade impact, assess dependency health, store decisions, and recall context before development tasks.

Install it with `claude mcp add 4da -- npx @4da/mcp-server` and Node.js 22 or later. Configuration examples are also provided for Claude Desktop, Cursor, Windsurf, and VS Code. The `--setup` command can detect supported editors and write or merge their MCP configuration.

Yes, vulnerability_scan includes transitive dependencies and every installed copy it finds in supported lockfiles. It matches installed versions against OSV.dev and reports affected packages, available fixes, and where each dependency is pinned.

Yes, Cursor is supported through its MCP configuration file. Add a server entry that runs `npx` with `@4da/mcp-server`, or use `npx @4da/mcp-server --setup` to have supported editor configurations detected and updated.

It reads npm, pnpm, Yarn, Bun, Cargo, Poetry, uv, PDM, Pipenv, requirements files, Go modules, Bundler, and Composer inputs. Maven, Gradle, .NET, Pub, Hex, SwiftPM, and CocoaPods are outside its dependency scan.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG Preview4da MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/4da-mcp-server-3?style=directory)](https://allmcps.com/mcp/4da-mcp-server-3)
HTML Embed
<a href="https://allmcps.com/mcp/4da-mcp-server-3"><img src="https://allmcps.com/api/badge/4da-mcp-server-3?style=directory" alt="4da MCP Server on AllMCPs" /></a>