$ 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

SocratiCode is a local codebase indexing engine that builds semantic search and dependency analysis for your project. It runs entirely in Docker, requires no external API keys, and provides 25 tools for querying code: hybrid BM25 + semantic search, cross-project symbol lookup, polyglot dependency graphs, symbol-level impact analysis, and interactive HTML graph visualization. The engine uses AST-aware code chunking to handle repositories up to 40+ million lines of code. A file watcher keeps the index automatically synchronized with every code change across sessions.

Who it's for

Backend engineers and full-stack developers working with large, complex codebases who want to give Claude or other AI assistants deep semantic understanding of their codebase without sending code to external services. Teams building internal tools needing on-premise code intelligence and multi-agent support.

Common use cases

  • Query a local codebase semantically to understand architectural patterns, cross-file dependencies, and code flow
  • Analyze the blast radius of a change by tracing symbol-level impact across the dependency graph
  • Navigate complex codebases visually using the interactive HTML graph explorer
  • Provide AI assistants with searchable context artifacts including database schemas, API specs, and infrastructure configurations
  • Index and search across multiple repositories simultaneously with shared multi-agent indexing

Setup pitfalls

  • Requires Docker and Node.js >= 18 — ensure both are installed and running before deploying the server
  • Marked risk_class: high due to filesystem read/write and network call capabilities — sandbox the server if indexing untrusted codebases
  • CI pipeline is not currently passing; recent versions may contain unfixed issues requiring close monitoring
▣ 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 15 snapshots
5/25/20266/6/2026 · 15 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 updated1d 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