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

larkx

v0.2.6

Published

AI codebase indexer and MCP server for Claude Code, Cursor, and Copilot. Pre-index your project into a compact graph and measure real token savings with `larkx bench`.

Readme

License: MIT Node.js 18+ MCP compatible

What is larkx?

larkx is an AI codebase indexer and MCP server. Instead of reading raw source files, your AI agent queries a compact graph - same understanding, far fewer tokens.

Works with Claude Code, Cursor, GitHub Copilot, Gemini CLI, and OpenAI Codex.

Install

npm install -g larkx

Quick start

cd your-project
larkx init      # one-time setup: MCP, agent files, hooks
larkx index     # build the index

larkx init creates instruction files for each agent you use (CLAUDE.md, .cursorrules, AGENTS.md, GEMINI.md). These files are auto-updated on every larkx index run.

Supported agents

| Agent | MCP | Context file | |-------|:---:|:------------:| | Claude Code | ✓ | ✓ | | Cursor | ✓ | ✓ | | GitHub Copilot | - | ✓ | | OpenAI Codex | - | ✓ | | Gemini CLI | - | ✓ |

Supported languages

Current indexing targets these extensions:

  • JavaScript / TypeScript: .js, .jsx, .ts, .tsx, .mjs, .cjs
  • Python: .py
  • Go: .go
  • Rust: .rs
  • Java: .java
  • C/C++: .c, .cpp
  • C#: .cs

Files in other languages are currently skipped.

CLI reference

| Command | What it does | |---------|-------------| | larkx init | Setup wizard: MCP, agent instruction files, hooks | | larkx index | Build or update the index; auto-refreshes agent files | | larkx index --ai | Add AI summaries per file | | larkx index --watch | Keep the index live as you edit | | larkx bench | Token benchmark — measure actual savings on your project | | larkx stats | Token estimates per level | | larkx context | Print the index to stdout | | larkx search <name> | Find a function or class by name | | larkx impact <file> | List every file that imports a given file | | larkx deadcode | Find unreachable files and functions | | larkx serve | Open the visual graph in your browser | | larkx mcp --check | Health-check the MCP server |

Documentation

Full setup guides, MCP integration, token optimization, and FAQ at Documentation.