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

@beriru/kfc

v0.1.6

Published

CLI and MCP bridge for using JEB static analysis from AI agents

Readme

KFC

const caesar = function* (s) {
  while (true) (yield s, (s = String.fromCharCode(...[...s].map((c) => c.charCodeAt() + 1))))
}

;; [...caesar('IDA').take(3)].join(' ~> ')
// ▶  IDA ~> JEB ~> KFC

Install

bun add -g @beriru/kfc

Point KFC at your JEB installation. This only saves the path; KFC does not copy files into JEB:

kfc use /path/to/jeb

Start the headless JEB bridge when you want agents to use JEB:

kfc bridge

KFC starts JEB through its Java client API. It does not depend on JEB's Python script runner or graphical client. Keep kfc bridge running as the single long-lived JEB process. Every kfc mcp process connects to that bridge and never starts its own JEB instance.

Configure MCP in your AI client:

Codex

codex mcp add kfc --env KFC_API_HOST=http://localhost:9527 -- kfc mcp

Claude Code

claude mcp add kfc --env KFC_API_HOST=http://localhost:9527 -- kfc mcp

Cursor

{
  "mcpServers": {
    "kfc": {
      "command": "kfc",
      "args": ["mcp"],
      "env": { "KFC_API_HOST": "http://localhost:9527" }
    }
  }
}

You can print client-specific setup snippets:

kfc config codex
kfc config claude
kfc config cursor

Check local wiring:

kfc doctor

Development

From a checkout:

cd server && bun install
bun run build:jeb
bun run stage:jeb
bun link

Publishing uses the normal NPM registry and token:

cd server
bun publish --access public

Tools

KFC now exposes two layers of tools:

  • task-oriented tools for AI agents
  • low-level primitives for direct reverse engineering

This split is intentional. In practice, AI clients often miss raw primitives like get_xrefs, even when those primitives are powerful. The high-level tools package common analysis flows into a form that is easier for an agent to discover and call. The low-level tools remain available for precise inspection and custom workflows.

Task-Oriented

| Tool | Description | | -------------------------- | ----------------------------------------------------------------- | | decompile_apk_method | Load an APK/DEX and decompile a specific Dalvik method signature in one call | | triage_apk | Load an APK and return first-pass manifest, permission, component, unit, and next-step triage | | find_exported_components | Find exported manifest components with permissions and intent filters | | inspect_component | Resolve a component to its class, hierarchy, and likely entry methods | | find_callers | Turn raw xrefs into caller methods that are easier for AI to inspect |

Primitives

| Tool | Description | | --------------------- | ---------------------------------------------- | | load_apk | Load or switch APK/DEX for analysis | | get_project_info | Project overview and current target | | get_manifest | AndroidManifest.xml | | get_permissions | Declared permissions | | get_components | Activities, services, receivers, providers | | list_units | All analysis units | | list_classes | List/filter classes | | decompile_class | Decompile class to Java | | decompile_method | Decompile method to Java | | get_class_hierarchy | Superclasses, interfaces, subclasses | | get_class_methods | Declared methods for class + superclass chain | | get_overrides | Method overrides (children/parents) | | get_xrefs | Raw cross-references | | search_strings | Regex search on string constants | | search_bytecode | Regex search on Dalvik bytecode (FQN types) | | get_method_cfg | Method instructions and control flow | | rename | Rename a class, method, or field |