Project Knowledge MCP logo

Project Knowledge MCP

Maps features, workflows, files, endpoints, screens, and type relationships across multiple codebases.

Install Project Knowledge MCP

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": {
    "project-knowledge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "project-knowledge-mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio project-knowledge-mcp -- npx -y project-knowledge-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y project-knowledge-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Cross-project feature workflows are captured by the project-knowledge-mcp MCP server in a persistent JSON knowledge graph. It registers projects, scans supported codebases, links workflow steps to files and interfaces, and provides search, context, impact, architecture, and validation queries. Reach for it when an agent needs shared context across mobile, backend, and admin repositories. The server runs over standard MCP configuration with Node.js and CLI arguments.

Use cases

  • Map a feature across mobile, backend, and admin codebases
  • Scan projects for endpoints, screens, and pages
  • Trace file references before making cross-project changes
  • Check equivalent types across separate codebases

Key features

  • Cross-project feature workflow mapping
  • Automatic endpoint, page, and screen discovery
  • Search and reverse file reference lookup
  • Type and schema mapping
  • Architecture browsing with content highlighting
  • JSON persistence and stale-path validation

Tools16

What Project Knowledge MCP lets your agent do. Expand a tool for its parameters.

Self-reported~346 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

Recent health check succeeded.

18/18 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · project-knowledge-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads258Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed16Callable tools this server registers over MCP.

How Project Knowledge MCP works

What project-knowledge-mcp MCP server does

The project-knowledge-mcp MCP server maintains a cross-project knowledge graph for applications whose features span multiple codebases. Projects are registered with a name, filesystem path, and framework. Features can then be described as ordered workflow steps that point to relevant screens, pages, endpoints, and files across those projects.

The graph is intended to give an AI agent context beyond the repository currently open in an IDE. It can show how a feature moves through mobile, backend, and admin codebases, identify files referenced by multiple features, and expose related files before a change is made. The stored knowledge is written to a JSON file and can be committed or shared with a team.

How it works

Register projects manually or provide startup paths for backend, mobile, and admin projects. The scan_project tool discovers supported application structures, including NestJS endpoints, Next.js pages, and React Native screens. Use the registration tools to add feature workflows and type relationships that scanning alone cannot establish.

Query tools cover several levels of detail. search looks across features, endpoints, files, and screens. get_feature returns a feature in compact or verbose form and can perform a health check, while get_context returns the cross-project details for a feature or individual step and can include impact analysis. reverse_lookup starts with a file and finds graph-registered and scan-discovered references.

Type relationships are stored separately from feature workflows. Register one or more mappings, check where a type is defined or referenced, or ask the server to suggest possible mappings by scanning all registered projects. The architecture tool provides a directory-tree view with optional path filtering, content highlighting, and full-tree output. Validation checks whether registered paths still exist and can optionally fix stale entries.

Setup and configuration

Node.js 18 or newer and npm 9 or newer are listed as prerequisites. Run the package directly with npx -y project-knowledge-mcp --knowledge-file <path>, or install it as a development dependency and build from source. MCP client configuration uses a command and argument list; no environment variables or configuration files are required for setup.

Use one shared, preferably absolute, --knowledge-file path for all IDE windows that work on the same full-stack system. Without that shared path, separate project directories can create separate knowledge files. Startup flags can also provide backend, mobile, and admin paths, names, and framework values. Framework selection supports nestjs, nextjs, react-native, and auto for the documented framework flags.

Tools and capabilities

  • Register and remove projects, features, and type mappings.
  • Scan projects for endpoints, screens, or pages.
  • Search the knowledge graph and retrieve feature or step context.
  • Find cross-project file references and feature dependencies.
  • Inspect architecture trees with filtering and content highlighting.
  • Validate paths, import or merge JSON knowledge, and explicitly export saved knowledge.

The project-knowledge-mcp MCP server automatically persists mutations to the knowledge file. import_knowledge can load a JSON file in merge or replace mode, with preview support, while export_knowledge confirms the file path and triggers an explicit save.

Limitations and notes

Automatic discovery is described for NestJS, Next.js, and React Native structures; other project types may require manual registration. The knowledge graph depends on filesystem paths remaining valid, so entries can become stale after files or directories move. Use validate_knowledge to detect those entries.

All MCP instances that should share context must point to the same knowledge file. The default relative path is most appropriate when the IDE opens a monorepo root containing all related projects. Separate repositories or directories should use an explicit absolute path instead.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Project Knowledge MCP

project-knowledge-mcp is an MCP server that connects an AI agent to a JSON knowledge graph spanning mobile, backend, and admin codebases. Its main tools register and scan projects, map feature workflows, search files and interfaces, retrieve cross-project context, inspect type mappings, and validate registered paths.

Run `npx -y project-knowledge-mcp --knowledge-file <path>` or install it with `npm install --save-dev project-knowledge-mcp`. Node.js 18 or newer and npm 9 or newer are prerequisites. You can also clone the repository, run `npm install`, and build from source.

Use the same absolute `--knowledge-file` path in every MCP client configuration. This keeps separate IDE windows pointed at one JSON file instead of creating a separate file in each project directory. The file can also be committed to version control or kept local.

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 PreviewProject Knowledge MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/project-knowledge-mcp?style=directory)](https://allmcps.com/mcp/project-knowledge-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/project-knowledge-mcp"><img src="https://allmcps.com/api/badge/project-knowledge-mcp?style=directory" alt="Project Knowledge MCP on AllMCPs" /></a>