npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openkrak-mcp

v1.3.0

Published

OpenKrak — Dorchester Engine. Pre-computed codebase intelligence for Claude Code and MCP-compatible AI coding assistants.

Readme

openkrak-mcp

MCP server for developer tooling. Performs static analysis on a software repository via the Dorchester engine and delivers a structured context brief to the language model before any file is accessed.

Supported: OpenCode (TUI + Desktop). Claude Code, Codex, and Cursor support in development.


How It Works

OpenKrak runs the Dorchester engine — a six-step static analysis pipeline — on your repository before the language model executes any task.

Repository
    │
    ▼
DeepStrike          — Full static analysis: every import, export, coupling resolved
    │
    ▼
Hotspot Registry    — Files ranked by complexity, change frequency, cognitive load
    │
    ▼
Correlation Engine  — Dependency chains traced across the entire codebase
    │
    ▼
Blast Radius        — Ripple effects of any change mapped before commit
    │
    ▼
Execution Gate      — Analysis validated and normalized
    │
    ▼
Mahadata            — Structured brief delivered to the language model

All analysis runs locally. Your codebase does not leave your machine.


Install

npm install -g openkrak-mcp

Requires Node.js ≥ 18.


Setup

OpenKrak works with both OpenCode TUI and OpenCode Desktop. The config file and setup steps are identical for both.

Config file location

| Platform | Path | |----------|------| | Windows | C:\Users\<username>\.config\opencode\opencode.jsonc | | macOS | ~/.config/opencode/opencode.jsonc | | Linux | ~/.config/opencode/opencode.jsonc |

Step 1 — Add OpenKrak to your config

Open the config file and add the mcp block:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "openkrak": {
      "type": "local",
      "enabled": true,
      "command": ["npx", "openkrak-mcp"]
    }
  }
}

Step 2 — Restart OpenCode

Close and reopen OpenCode (TUI or Desktop). Confirm openkrak Connected appears in the MCP panel.

OpenCode Desktop: MCP status is shown in the bottom status bar. Green dot = connected.
OpenCode TUI: MCP status is shown in the top-right panel.

Step 3 — Run your first analysis

Open any repository in OpenCode and send a message:

analyze_repo on /absolute/path/to/your/repo

Or just start a coding task normally — OpenKrak runs automatically before the model reads any file.


Tools

| Tool | When to use | |------|-------------| | analyze_repo | Full pipeline. Call before any coding task on a new repo. Returns dependency graph, hotspot rankings, blast radius, and threat matrix. | | get_mahadata | Compact repo brief — structure, entry points, constraints, risk score. Use when you need repo-wide context without a full re-analysis. | | get_hotspots | Ranked list of high-risk files by complexity, coupling, and change frequency. Use before reviewing or refactoring. | | blast_radius | Impact map for a specific file. Which files, modules, and APIs are affected by a change. Use before modifying a critical file. |

Example prompts

analyze_repo on /path/to/repo with objective "refactor the auth module"
Run get_hotspots on /path/to/repo — which files should I avoid touching?
blast_radius on /path/to/repo for file src/api/routes/user.ts

Enable / Disable

Set "enabled" in your config and restart OpenCode:

"enabled": true   // on
"enabled": false  // off

Pro License

Free tier is active by default — no account required.

| Plan | Price | Queries | |------|-------|---------| | Free | $0 | 15 per 24-hour rolling window | | Pro Monthly | $8 / month | Unlimited | | Pro Annual | $67.20 / year | Unlimited |

To activate Pro, add your key to the config:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "openkrak": {
      "type": "local",
      "enabled": true,
      "command": ["npx", "openkrak-mcp"],
      "env": {
        "OPENKRAK_KEY": "your-license-key"
      }
    }
  }
}

License keys: openkrak-web.vercel.app. Delivered via email after purchase. No subscription, no auto-renewal.


Notes

  • Static analysis only. No AI inference in the pipeline.
  • Anonymous usage telemetry is collected (query count, tool name, error events). No source code or file contents are transmitted.
  • License validation requires a network call to the license server on each tool invocation.

Repository

github.com/FrnzJulianBergmann/openkrak


MIT License — © 2026 Faiz Hamizan / Challanger Absolute Advance