$ timeahead.in
/ servers/npm/socraticode
npm

socraticode

SocratiCode — MCP server for local codebase indexing, semantic search, and code dependency graphs. All private, all local via Docker.

3k stars8k/wkupdated 8d agogithub ↗
91excellent
▣ Overview

What it does

A Docker-based MCP server that builds an automatically-maintained index of your entire codebase for semantic search and code understanding. Uses AST-aware chunking and hybrid semantic + BM25 search to enable queries, dependency graphs, impact analysis, and visual navigation. The index stays local in Docker; no data leaves your machine.

Who it's for

Backend engineers and full-stack developers working with large, multi-language codebases who want AI assistants (Claude, Cursor, VS Code) to understand code relationships, call flows, and blast radius. Multiple agents can share a single coordinated index simultaneously.

Common use cases

  • Query dependency graphs and call flows to understand architectural impact of changes
  • Find all callers or usages of a function or symbol across your entire codebase
  • Generate searchable context artifacts (database schemas, API specs, infrastructure configs) for inclusion in prompts
  • Visually navigate large repositories through the HTML graph explorer
  • Index codebases up to 40 million lines of code with automatic checkpoint recovery on restart

Setup pitfalls

  • Requires Docker daemon running; the MCP server cannot function without it
  • First indexing pass is slow on large codebases for accuracy; subsequent changes only delta-update. Indexing is resumable across restarts
  • AGPL-3.0 licensed; verify compatibility with your project's license if you are distributing code that depends on it
  • Indexing requires write permissions to your project directory; the Docker container mounts volumes and writes the index to disk
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
81
16.2
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
91.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high· 25 tools · auth: API key
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
codebase_index✓ no
codebase_update✓ no
codebase_remove⚠ yes
codebase_stop✓ no
codebase_watch✓ no
+20 more tools
codebase_search✓ no
codebase_status✓ no
codebase_graph_build✓ no
codebase_graph_query✓ no
codebase_graph_stats✓ no
codebase_graph_circular✓ no
codebase_graph_visualize✓ no
codebase_graph_remove⚠ yes
codebase_graph_status✓ no
codebase_impact✓ no
codebase_flow✓ no
codebase_symbol✓ no
codebase_symbols✓ no
codebase_context✓ no
codebase_context_search✓ no
codebase_context_index✓ no
codebase_context_remove⚠ yes
codebase_health✓ no
codebase_list_projects✓ no
codebase_about✓ no
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "socraticode": {
      "command": "npx",
      "args": [
        "-y",
        "socraticode"
      ]
    }
  }
}
📈 Score historylast 18 snapshots
5/25/20266/11/2026 · 18 snapshots
⚙ Maintenance health
maintenance data not yet available — check back later.
⛁ Raw data
weekly downloads8k
github stars3k
forks371
open issues1
license✓ present
readme length95306 chars
last publish0d ago
last commit8d ago
last updated7d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points