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

open-wiki

v0.1.0

Published

Open-source code wiki generator powered by tree-sitter and LLMs

Readme

open-wiki

The open-source alternative to Google's Code Wiki — with MCP.

Index any codebase with tree-sitter, generate docs with your LLM, serve them through a full-featured docs site, and expose everything as tools for coding agents via MCP. Like Notion for code agents.

ow /path/to/your/project

Install

npm install -g open-wiki

Quick Start

# 1. Set your API key
ow config set-key anthropic sk-ant-...

# 2. Index a project
ow /path/to/project

# 3. Open the docs
ow serve
# → http://localhost:8383

Commands

ow [path]

Index a project and generate documentation. Defaults to the current directory.

ow                            # index current directory
ow /path/to/project           # index a specific path
ow . --force                  # re-index all files (ignore cache)
ow . --name myapp             # override the project name
ow . --provider openai        # use a specific LLM provider

| Flag | Description | |------|-------------| | -p, --provider <name> | LLM provider: anthropic, openai, google | | --name <name> | Override project name (defaults to directory name) | | --force | Re-index all files regardless of changes |


ow serve

Start the docs server.

ow serve                      # start on default port 8383
ow serve --port 3000          # custom port

| Flag | Description | |------|-------------| | -p, --port <port> | Port to listen on (default: 8383) |


ow config

Manage API keys and provider settings.

ow config set-key anthropic sk-ant-...     # set Anthropic key
ow config set-key openai sk-...            # set OpenAI key
ow config set-key google AIza...           # set Google key
ow config set-default openai              # change default provider
ow config list                            # show all configured providers

Supported providers: anthropic, openai, google


ow list

List all indexed projects.

ow list

ow mcp

MCP server for coding agents. Exposes your indexed docs as tools.

ow mcp install    # register with Claude Code (run once)
ow mcp            # start the stdio MCP server (Claude Code does this automatically)

After ow mcp install, Claude Code gets 5 tools:

| Tool | What it does | |------|-------------| | list_projects | List all indexed projects with file and symbol counts | | get_project_overview | Get the architecture overview and mermaid diagram for a project | | get_file_doc | Get documentation for a specific file | | search_docs | Full-text search across all docs in a project | | get_symbols | List all functions, classes, and interfaces in a file or project |


ow setup

Manage the underlying docs app.

ow setup            # install the docs app (runs automatically on first use)
ow setup --reset    # wipe and reinstall from scratch

How It Works

  1. Index — tree-sitter parses your source files and extracts symbols, signatures, and imports
  2. Generate — one structured LLM call per file produces a summary and per-symbol docs
  3. Diff — only changed files are re-processed on subsequent runs
  4. Serve — a Next.js + fumadocs app renders the generated MDX with syntax highlighting, mermaid diagrams, and AI chat
  5. MCP — the stdio server reads directly from the SQLite index and MDX files

Supported Languages

  • TypeScript / JavaScript (.ts, .tsx, .js, .jsx)
  • Python (.py)

License

MIT