Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dsh Codebase Memory MCP

MCP server by LoveDoLove Verified · npm:@lovedolove

Adds knowledge-graph code search, snippets, architecture summaries and call-path tracing to DeepSeek Harness. It wraps the codebase-memory-mcp executable and starts its daemon on first use.

  • Score 79
  • 3 stars
  • 439 a week
  • MIT
  • Updated

Install Dsh Codebase Memory MCP

Built from the published package, never by AI.

claude mcp add dsh-codebase-memory-mcp -- npx -y @lovedolove/dsh-codebase-memory-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dsh Codebase Memory MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-codebase-memory-mcp block.

About

Dsh Codebase Memory MCP is a bridge plugin and library for DeepSeek Harness (DSH). It registers six knowledge-graph code tools that let the assistant search symbols, read source snippets, summarize directory architecture, trace call paths and run text searches over indexed code. The plugin relies on the upstream codebase-memory-mcp executable for indexing and queries.

The plugin starts the codebase-memory-mcp daemon lazily, on the first tool call or the /cbm command, using stdio JSON-RPC. The daemon serves a graph visualization Web UI at localhost port 9749. The /cbm slash command reports the executable path, the UI link and indexed projects. The package also ships an agent skill and a system prompt policy that guides the model toward the graph tools.

Written from the project's README and checked against it.

Tools it gives your assistant

  • cbm_projectsList all projects indexed in the daemon.
  • cbm_searchSearch the knowledge graph for symbols or files.
  • cbm_snippetFetch the exact source snippet of a symbol.
  • cbm_archArchitectural summary of a directory (components, entry points, dependencies).
  • cbm_traceTrace inbound/outbound call paths through the graph.
  • cbm_search_codeFast textual regex search over indexed files.

What you need

  • DeepSeek Harness >=0.1.2-rc.1 <0.3.0-0
  • Node.js >=18 <25
  • codebase-memory-mcp executable

Try asking

  • Who calls the login function in this codebase?
  • Give me an architecture overview of the src directory.
  • Find all symbols matching auth in the indexed project.

Good to know

  • Indexing is not exposed as a cbm_* tool; the DSH plugin is query-only.
  • The executable must be installed, and the profile must be reloaded after installing it.
  • cbm_snippet ignores end_line and cbm_arch ignores depth in the current bridge.
  • Tool results are text, with no pagination or freshness metadata.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Dsh Codebase Memory MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Dsh Codebase Memory MCP: common questions

Does it work without the codebase-memory-mcp executable?

The plugin loads without it, but queries need the executable. Without it, tool calls return a degraded result and /cbm prints an install hint.

Where is the graph visualization UI?

The daemon runs with --ui=true and serves the UI at http://localhost:9749/ by default. The DSH plugin uses that port.

Can I build or refresh an index from the plugin?

No. Indexing is not exposed as a cbm_* tool. The source says to use the library API or the upstream CLI to build or refresh an index.

How do I install Dsh Codebase Memory MCP?

In Claude Code run claude mcp add dsh-codebase-memory-mcp -- npx -y @lovedolove/dsh-codebase-memory-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dsh Codebase Memory MCP the official server?

Dsh Codebase Memory MCP is published by npm:@lovedolove from its verified domain in the official MCP Registry.

Is Dsh Codebase Memory MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Dsh Codebase Memory MCP safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dsh Codebase Memory MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Dsh Codebase Memory MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Dsh Codebase Memory MCP Install

Add to stack

Loading.