Sverklo

Created By
Nikita Groshina month ago
Local-first MCP code intelligence server with 37 tools — hybrid search, blast-radius analysis, diff-aware risk-scored review, and bi-temporal memory pinned to git SHAs. Stops AI agents from hallucinating function names that don't exist in your codebase. Published 60-task retrieval benchmark with reproducible harness. MIT.
Overview

What it does

Sverklo is a local-first MCP server that gives AI coding agents (Claude Code, Cursor, Windsurf, Zed, Codex CLI, Aider, Continue) a real symbol graph instead of grep-based pattern matching. It indexes your codebase, builds an
import-dependency graph, computes PageRank, embeds chunks with a local ONNX model, and exposes 37 retrieval tools the agent calls to look up symbols, find call sites, measure refactor blast radius, review diffs with risk scoring, and persist decisions across sessions with bi-temporal memory pinned to git SHAs.

Why it exists

AI coding agents hallucinate function names that don't exist in your codebase — they generate from training-data patterns rather than authoritative retrieval over your actual symbol graph. An agent writes getUserByEmail() when your code has findByEmail(). Tests pass because they mock the dependency. Production breaks. Sverklo grounds the agent in your real code: sverklo_lookup resolves a name to its definition with file:line, sverklo_refs proves whether a symbol exists with caller context, sverklo_verify re-checks that a quoted span is still present at the cited git SHA.

Install

npm install -g sverklo
cd your-project
sverklo init

sverklo init auto-detects which AI coding agents you have (Claude Code, Cursor, Windsurf, Zed, Antigravity) and writes the right MCP config files. The 37 tools appear in the agent's tool list immediately.                              

What's published                                                                                                                                                                                                                          
                                                                    
- https://sverklo.com/bench/ — reproducible harness, three baselines (naive grep, tuned grep, sverklo). Honest about where sverklo loses to grep on dead-code detection (F1 = 0.02). Same page as the wins.                               
- https://sverklo.com/vs/matrix/ — sverklo vs Cody, Greptile, Cursor, Aider, Continue, Codex CLI, Claude Code, Serena, Claude Context, GitNexus, codebase-memory-mcp.
- https://sverklo.com/research/sverklo-paper-preprint.pdf — 8-page acmart paper introducing channelized RRF.                                                                                                                              
- https://sverklo.com/report/ — sverklo audits of 47 popular OSS repos with A-F health grades.                                                                                                                                            
                                                                                                                                                                                                                                          
Tool surface (37 tools)                                                                                                                                                                                                                   
                                                                                                                                                                                                                                          
- Search: sverklo_search, sverklo_search_iterative, sverklo_investigate, sverklo_ask, sverklo_lookup, sverklo_overview, sverklo_context, sverklo_ast_grep, sverklo_concepts, sverklo_clusters, sverklo_patterns                           
- Impact: sverklo_impact, sverklo_refs, sverklo_deps, sverklo_audit
- Review: sverklo_review_diff, sverklo_critique, sverklo_test_map, sverklo_diff_search, sverklo_verify                                                                                                                                    
- Memory: sverklo_remember, sverklo_recall, sverklo_memories (with mode:"conflicts" for contradiction detection), sverklo_forget, sverklo_promote, sverklo_demote, sverklo_pin, sverklo_unpin                                             
- Post-filter: sverklo_grep_results, sverklo_head_results, sverklo_ctx_peek, sverklo_ctx_slice, sverklo_ctx_grep, sverklo_ctx_stats                                                                                                       
- Index health: sverklo_status, sverklo_wakeup                                                                                                                                                                                            
                                                                                                                                                                                                                                          
Compatibility                                                                                                                                                                                                                             
                                                                                                                                                                                                                                          
- Node 20+                                                          
- macOS, Linux, Windows
- 12 languages: TypeScript, JavaScript, Python, Go, Rust, Java, C, C++, Ruby, PHP, Vue, C#
- Embedded SQLite + ONNX (no external database, no Docker required)                                                                                                                                                                       
- MIT licensed, runs entirely on your laptop, no API keys, no telemetry by default                                                                                                                                                        
                                                                                                                                                                                                                                          
Links                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                          
- https://sverklo.com                                               
- https://github.com/sverklo/sverklo
- https://www.npmjs.com/package/sverklo
- https://sverklo.com/bench/                                                                                                                                                                                                              
- https://sverklo.com/vs/
- https://sverklo.com/playground/                                                                                                                                                                                                         
- https://sverklo.com/blog/                                         
- DOI: https://doi.org/10.5281/zenodo.19802051    

Server Config

{
  "mcpServers": {
    "sverklo": {
      "command": "npx",
      "args": [
        "-y",
        "sverklo"
      ]
    }
  }
}
Project Info
Created At
a month ago
Updated At
a month ago
Author Name
Nikita Groshin
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.
@Cubenest

peek records the user's actual logged-in browser (DOM via rrweb, console events, network metadata, optional response bodies via opt-in Deep capture) through a Chrome MV3 extension. The extension ships events through a native-messaging stdio bridge to a local MCP server (peek-mcp), which persists them to a SQLite database at ~/.peek/sessions.db. AI coding agents (Claude Code, Cursor, Cline, Windsurf) read sessions from the database via 10 MCP tools: Tool What it does list_recent_sessions List recently recorded sessions (id, origin, ts, event count). get_session_summary LLM-readable narrative summary of a session. get_session_console_errors Console errors recorded in a session. get_session_network_errors Failed/notable network requests in a session. get_user_action_before_error Last N user actions before a console error. generate_playwright_repro Generate a runnable Playwright test from a session. get_dom_snapshot Reconstruct the DOM at a given timestamp. query_dom_history Timeline of attribute/text changes for a selector. request_authorization Side-panel consent for write actions (Level 3). execute_action Dispatch a UI action (gated by permission level + destructive blocklist). Why local-first matters Every other "browser session for AI" tool ships to a vendor cloud. peek's SQLite + extension live on the user's machine — no remote endpoints, no telemetry. The privacy policy (docs/peek/PRIVACY_POLICY.md) is the source of truth. Install # 1. Add the MCP server to Claude Code claude mcp add peek -- npx -y @peekdev/mcp # 2. Install the Chrome extension from the Chrome Web Store # (link added once the CWS listing is approved)

a day ago