The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Syke listing page.
AI code impact analysis MCP server. SYKE monitors every file your AI touches, maps dependency graphs, detects cascading breakage, and gates builds before damage spreads.
Works with Claude Code, Cursor, Windsurf, and any MCP-compatible AI coding agent.



gate_build to check if all changes are safe.FAIL verdict.SYKE is a safety net, not a gatekeeper. It doesn't block your AI while working — it catches what your AI missed before you ship.
Create ~/.syke/config.json:
Get your license key at syke.cloud/dashboard. You only need ONE AI key. Supported:
geminiKey,openaiKey,anthropicKey.
Claude Code:
Cursor (.cursor/mcp.json):
Windsurf (~/.codeium/windsurf/mcp_config.json):
Windows note: If
npxis not found, use the full path:"command": "C:\\Program Files\\nodejs\\npx.cmd"
Add this line to your project's CLAUDE.md (or equivalent AI instruction file):
This ensures your AI agent automatically runs SYKE's safety check after every task — no manual prompting needed.
SYKE auto-detects your project language and builds the dependency graph on startup. Open http://localhost:3333 to see your live dashboard.
| Tool | Tier | Description |
|---|---|---|
gate_build | Free | Mandatory pre-build check. Returns PASS/WARN/FAIL verdict before any build or deploy. |
check_safe | Free | Quick one-line safety verdict: HIGH/MEDIUM/LOW/NONE risk. |
get_dependencies | Free | Lists internal imports (forward dependencies) of a file. |
analyze_impact | Pro | Full impact analysis with SCC, risk scoring, and git coupling. |
get_hub_files | Pro | Ranks files by PageRank importance score. |
refresh_graph | Pro | Re-scans all source files and rebuilds the dependency graph. |
ai_analyze | Pro | AI semantic analysis (Gemini/OpenAI/Claude) of a file and its dependents. |
check_warnings | Pro | Real-time monitoring alerts for file changes that may break dependents. |
SYKE supports three AI providers for semantic analysis. Bring your own key:
| Provider | Model | Config Key | Env Variable |
|---|---|---|---|
| Google Gemini | gemini-2.5-flash | geminiKey | GEMINI_KEY |
| OpenAI | gpt-4o-mini | openaiKey | OPENAI_KEY |
| Anthropic | claude-sonnet-4-20250514 | anthropicKey | ANTHROPIC_KEY |
Auto-selection: SYKE uses the first available key (Gemini > OpenAI > Anthropic).
Force provider: Set aiProvider in config (or SYKE_AI_PROVIDER env var) to override.
SYKE goes beyond simple dependency counting. Five production-grade algorithms work together to deliver precise, fast, and context-rich impact analysis — all running locally with zero AI token cost.
Circular dependencies are the #1 source of misleading impact analysis. SYKE uses Tarjan's algorithm to detect all Strongly Connected Components, condenses them into a clean DAG, then runs topological sort to compute correct cascade levels.
Five signals combined into a single 0–1 risk score:
| Signal | Weight | What it measures |
|---|---|---|
| Fan-in | 30% | How many files depend on this one |
| Stability Index | 20% | I = Ce/(Ca+Ce) — lower = foundation file = riskier to change |
| Cyclomatic Complexity | 20% | Internal branching complexity (regex-based, 8 languages) |
| Cascade Depth | 15% | How many layers deep the impact propagates |
| PageRank | 15% | Recursive importance in the dependency graph |
AI agents can now make threshold decisions: proceed if < 0.3, warn if 0.3–0.7, block if > 0.7.
Static imports miss hidden dependencies — files that always change together but have no import relationship. SYKE mines your git history (last 500 commits) to find these logical couplings.
Simple fan-in counts treat all dependents equally. PageRank computes recursive importance — a file imported by many important files ranks higher than one imported by many leaf files.
For large codebases (10K+ files), full graph rebuilds are too slow. SYKE now updates only the changed file's edges and invalidates only the affected cache entries.
Auto-detected, zero-config: Dart/Flutter, TypeScript/JavaScript, Python, Go, Rust, Java, C++, Ruby.
Live dependency graph visualization at localhost:3333 with:
SYKE reads from ~/.syke/config.json (primary) with environment variable overrides:
| Config Key | Env Variable | Description | Required |
|---|---|---|---|
licenseKey | SYKE_LICENSE_KEY | Pro license key from dashboard | No (Free tier works without) |
geminiKey | GEMINI_KEY | Google Gemini API key for ai_analyze | No (any one AI key) |
openaiKey | OPENAI_KEY | OpenAI API key for ai_analyze | No (any one AI key) |
anthropicKey | ANTHROPIC_KEY | Anthropic API key for ai_analyze | No (any one AI key) |
aiProvider | SYKE_AI_PROVIDER | Force AI provider: gemini, openai, or anthropic | No (auto-selects) |
port | SYKE_WEB_PORT | Dashboard port (default: 3333) | No |
Full config example (~/.syke/config.json):
We're giving the first 100 developers full Pro access for 30 days — no credit card, no strings.
What you get:
How to claim:
Spots are limited. Once they're gone, they're gone.
gate_build, check_safe, get_dependencies).Pro and Cortex features (advanced algorithms, AI analysis, real-time monitoring, web dashboard) are included in the npm package as compiled code.You can use, modify, and distribute SYKE freely, with two limitations: