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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@goobits/codebuddy

v1.0.0

Published

MCP server for accessing LSP functionality

Readme

🔗 codebuddy

MCP server that bridges Language Server Protocol functionality to AI coding assistants

✨ Key Features

  • 🎯 Symbol Navigation - Go to definition and find references with intelligent position resolution
  • 🔧 Safe Refactoring - Rename symbols and files across entire codebases with confidence
  • 🧠 Code Intelligence - Hover info, completions, diagnostics, and semantic analysis
  • 🌐 Universal Language Support - Works with any LSP-compatible server (TypeScript, Python, Go, Rust, etc.)
  • 🤖 AI-Optimized - Robust symbol resolution that handles imprecise line/column numbers from LLMs
  • ⚡ Zero Configuration - Works out of the box with TypeScript, configurable for other languages

🚀 Quick Start

# Clone and build locally
git clone https://github.com/ktnyt/codebuddy.git
cd codebuddy
bun install
bun run build

# Smart setup with auto-detection
node dist/index.js init

# Check status of language servers
node dist/index.js status

# Fix any missing language servers  
node dist/index.js fix

📚 MCP Integration

# Add to your MCP client configuration (e.g., Claude Code)
{
  "mcpServers": {
    "codebuddy": {
      "command": "node",
      "args": ["/path/to/codebuddy/dist/index.js"],
      "cwd": "/path/to/your/project"
    }
  }
}

🛠️ Language Server Setup

# TypeScript/JavaScript
# Works out of the box via npx. Optional explicit install:
# npm install -g typescript-language-server typescript

# Python
pip install "python-lsp-server[all]"

# Go
go install golang.org/x/tools/gopls@latest

# Rust  
rustup component add rust-analyzer

# View configuration and status
codebuddy status

⚙️ Configuration

# Smart setup with auto-detection
node dist/index.js init

# Show current configuration
node dist/index.js config --show

# Manual configuration (creates .codebuddy/config.json)
cat > .codebuddy/config.json << 'EOF'
{
  "servers": [
    {
      "extensions": ["py", "pyi"], 
      "command": ["pylsp"],
      "restartInterval": 30
    },
    {
      "extensions": ["js", "ts", "jsx", "tsx"],
      "command": ["npx", "--", "typescript-language-server", "--stdio"]
    }
  ]
}
EOF

📖 Documentation

🔗 Related Projects

🧪 Development

# Install dependencies  
bun install

# Run in development mode
bun run dev

# Run tests
bun run test:fast    # Quick unit tests (~8s)
bun run test:slow    # Full integration tests  
bun run test:ci      # All tests for CI

# Adaptive test runner for slow systems
node test-runner.cjs              # Auto-detects system capabilities
TEST_SHARED_SERVER=true bun test  # Use shared server for faster tests

# Code quality
bun run lint         # Check issues
bun run format       # Format code  
bun run typecheck    # Type checking

📝 License

MIT - see LICENSE for details

💡 Support