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

@prosdevlab/dev-agent

v0.12.2

Published

Deep code intelligence + AI subagents via MCP. Local-first semantic code search, GitHub integration, and development planning for AI tools like Cursor and Claude Code.

Readme

@prosdevlab/dev-agent

Deep code intelligence + AI subagents via MCP

Local-first semantic code search, GitHub integration, and development planning for AI tools like Cursor and Claude Code.

Quick Start

# Install globally
npm install -g @prosdevlab/dev-agent

# One-time setup (starts Antfly search backend)
dev setup

# Index your repository
cd /path/to/your/repo
dev index

# Install MCP integration
dev mcp install --cursor  # For Cursor IDE
dev mcp install           # For Claude Code

# Start using dev-agent in your AI tool!

Features

  • 🔍 Semantic Code Search - Natural language queries across your codebase
  • 🔎 Code Exploration - Discover patterns, find similar code, analyze relationships
  • 💚 Health Monitoring - Check component status and system health
  • 📊 Repository Status - View indexing progress and statistics

MCP Tools

When integrated with Cursor or Claude Code, you get 6 powerful tools:

  • dev_search - Semantic code search
  • dev_refs - Find callers/callees of functions
  • dev_map - Codebase structure with change frequency
  • dev_patterns - File analysis and pattern checking
  • dev_status - Repository status, health checks, and Antfly stats

Requirements

  • Node.js >= 22 (LTS)

Production Features

  • 🛡️ Rate limiting (100 req/min burst per tool)
  • 🔄 Automatic retry with exponential backoff
  • 💚 Health checks for all components
  • 🧹 Memory-safe (circular buffers, proper cleanup)
  • 🔌 Graceful shutdown (no zombie processes)

Documentation

  • Full Documentation: https://github.com/prosdevlab/dev-agent
  • Troubleshooting: https://github.com/prosdevlab/dev-agent/blob/main/TROUBLESHOOTING.md
  • Cursor Setup: https://github.com/prosdevlab/dev-agent/blob/main/packages/mcp-server/CURSOR_SETUP.md
  • Claude Code Setup: https://github.com/prosdevlab/dev-agent/blob/main/packages/mcp-server/CLAUDE_CODE_SETUP.md

CLI Commands

# Indexing
dev index                    # Index current repository
dev github index                   # Index GitHub issues/PRs

# MCP Server Integration
dev mcp install --cursor       # Install for Cursor
dev mcp install                # Install for Claude Code
dev mcp uninstall [--cursor]   # Remove integration
dev mcp list [--cursor]        # List installed servers
dev mcp start [--verbose]      # Start MCP server manually

# Help
dev --help                     # Show all commands
dev <command> --help           # Help for specific command

How It Works

  1. Index - Scans your TypeScript/JavaScript codebase and builds semantic vectors
  2. Search - Uses local embeddings (BAAI/bge-small-en-v1.5) for semantic understanding
  3. Store - Antfly hybrid search (BM25 + vector), all data stays on your machine
  4. Integrate - MCP protocol connects to Cursor/Claude Code
  5. Query - AI tools can now understand your codebase semantically

Local-First

All processing happens on your machine:

  • ✅ No cloud services required
  • ✅ No API keys needed
  • ✅ Your code never leaves your computer
  • ✅ Works completely offline (after initial model download)

Technology

  • Analysis: TypeScript Compiler API + ts-morph
  • Embeddings: Antfly Termite (ONNX, BAAI/bge-small-en-v1.5)
  • Vector Storage: Antfly (hybrid search: BM25 + vector + RRF)
  • GitHub: GitHub CLI for local metadata
  • Protocol: Model Context Protocol (MCP)

Examples

# Find authentication-related code
dev_search: "JWT token validation middleware"

# Analyze coding patterns
dev_patterns: { filePath: "src/auth/middleware.ts" }

# Check system health
dev_status: { section: "health" }

Support

  • GitHub Issues: https://github.com/prosdevlab/dev-agent/issues
  • Discussions: https://github.com/prosdevlab/dev-agent/discussions

License

MIT


Status: Production-ready v0.1.0 | Tests: 1100+ passing | Node: >=22 LTS