Slimdex MCP logo

Slimdex MCP

Local MCP server for narrow code retrieval, repository indexing, dependency analysis, symbol edits, and persistent project memory.

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

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

Automated check passed— started and listed 30 tools correctly ().

Overview

The slimdex-mcp MCP server gives coding agents targeted access to repository structure, symbols, references, dependencies, and saved project notes. It runs locally through `npx`, builds a persistent symbol and import index, and returns bounded results such as outlines, skeletons, line ranges, or selected symbol bodies instead of repeatedly reading whole files. Use it when an agent needs focused code navigation, cross-session repository context, or controlled symbol-level edits. The server also provides session recaps, repository digests, snapshots, and response-size statistics.

Use cases

  • Navigate unfamiliar repositories by file outline, symbol, and dependency context
  • Search for code by behavior when the symbol name is unknown
  • Inspect callers and tests before changing a function or class
  • Save repository architecture notes for later coding sessions
  • Replace a symbol body without resending the original source

Key features

  • Persistent symbol and import indexing
  • Bounded code retrieval and context packing
  • Symbol, text, intent, definition, and reference search
  • Dependency graphs and changed-file analysis
  • Cross-session recaps, digests, and durable memory
  • Snapshot-before-edit symbol replacement

Tools30

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

Verified live~5.3k 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.

19/23 checks healthy over the last 112d

What it can do

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

Runs commands · 1Can delete or modify data · 4Handles credentials · 3Makes network requests · 2Read-only tools · 25
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age75 days
Maintainers1

Observed 2026-10-18 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 10d ago via OSV.dev · slimdex-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads212Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed30Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Slimdex MCP works

What slimdex-mcp MCP server does

The slimdex-mcp MCP server is designed for code retrieval at symbol and range level. It can index a repository, show a file's declarations and line numbers, return a body with surrounding context, locate definitions and textual references, and inspect imports or dependents. Agents can search by symbol name, matching source text, or natural-language intent using BM25 ranking without embeddings.

The server also maintains information beyond a single conversation. Session journals support recap and brief responses, while digest and memory tools store repository architecture notes or durable facts. These records live under the repository's .slimdex directory. A snapshot command copies uncommitted files there as recovery insurance.

How it works

index_repo creates or refreshes a persistent symbol and import index. On later runs, only changed files are reparsed. Retrieval tools query that index and apply explicit limits: searches support pagination, symbol context accepts a line cap, and broader context responses use selectable sections and a character budget. When a result is truncated, the response reports the limit rather than silently omitting the remainder.

For larger investigations, get_context can combine a definition, signature, callers, imports, and optionally dependents or a body. context_pack ranks symbols for a topic, describes their connections, and bundles selected bodies within a budget. batch combines several tool calls into one request. changed_files maps edited hunks to symbols, and dep_graph returns imports, dependents, or a Mermaid diagram.

Setup and configuration

Run the slimdex-mcp MCP server with a local stdio command such as:

Terminal
claude mcp add slimdex -- npx -y slimdex-mcp

The package is published on npm. Repository behavior can be adjusted with an optional <root>/.slimdex.json file. Supported settings include ignored directories, extra extensions, filename suffixes, excluded paths, and a maximum file size. Configuration is merged with built-in exclusions, and index_repo reports invalid JSON, incorrect value types, or unknown keys.

Files with lines longer than roughly 5,000 characters are treated as minified build output and excluded from the index. The server also has built-in handling for selected Salesforce metadata sidecars; suffix-matched files are available for search and reading but not symbol indexing.

Tools and capabilities

Key capabilities include:

  • Repository indexing, directory maps, changed-file inspection, and index statistics.
  • File outlines, skeletons, bounded line reads, symbol context, definitions, references, and tests.
  • Symbol-name search, code search with highlighted locations, and intent search using BM25.
  • Context bundles, dependency graphs, batched requests, and Mermaid graph output.
  • Symbol replacement that snapshots first and re-indexes afterward.
  • Session recaps, compact briefs, architecture digests, durable memory, and snapshots.

The slimdex-mcp MCP server exposes response and read-mix statistics through stats; reported sizes are characters rather than tokens. Its documented token-saving measurements are self-measured on selected repositories and are not independently validated.

Limitations and notes

The index is repository-local and can become stale when files change outside the server's normal refresh path, although several responses identify possible drift. replace_symbol edits a symbol body rather than applying a general-purpose patch. find_references reports textual references, so it should not be treated as a complete language-semantic reference engine. Snapshot storage is described as protection against accidental resets, not a replacement for committing changes.

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 Slimdex MCP

slimdex-mcp is an MCP server that connects coding agents to a local repository through a persistent symbol and import index. Its main tools cover repository indexing, outlines, symbol context, code and intent search, definitions, references, dependency graphs, bounded context bundles, symbol replacement, session recaps, and durable project memory.

Install it through an MCP client's stdio configuration with `claude mcp add slimdex -- npx -y slimdex-mcp`. The package is published on npm, so the command downloads and runs the package without requiring a separate build step.

It returns targeted outlines, signatures, line ranges, symbol bodies, and locations instead of requiring whole-file reads. Its persistent index reuses parsed repository data, while context and search tools enforce character, line, result, or caller limits.

Yes. Its journal-backed `recap` and `brief` tools summarize earlier activity, while digest and memory tools save repository architecture notes or durable facts under `.slimdex`. Brief results check saved conclusions against the live index and flag items that may be stale.

Yes. `replace_symbol` overwrites a symbol body addressed by name, creates a snapshot first, and re-indexes afterward. It is intended for replacing a function or class body, not as a general-purpose patching system.

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