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

@jkumonpm/github-kb-mcp

v1.0.4

Published

Personal GitHub Knowledge Base MCP server — store, search, and manage your favorite GitHub repos with JSON files

Readme

github-kb-mcp

Personal GitHub Knowledge Base MCP server. Store, search, and manage your favorite GitHub repos with JSON files.

No SQLite. No API keys. No external services. Just pure JSON in → structured JSON out.

Install

npm install -g github-kb-mcp

Usage

Claude Desktop / Cursor / OpenCode

Add to your MCP config:

{
  "mcpServers": {
    "github-kb": {
      "command": "npx",
      "args": ["-y", "github-kb-mcp"]
    }
  }
}

Tools

add_repo — Add a GitHub Project

Add a GitHub project to your knowledge base. Automatically parses owner/name from URL.

Input:

{
  "url": "https://github.com/owner/repo",
  "description": "A test project",
  "language": "TypeScript",
  "tags": ["test", "demo"],
  "purpose": "Learning MCP",
  "install_cmd": "npm install",
  "usage_cmd": "npm run dev",
  "status": "active",
  "notes": "Great project"
}

Output:

{
  "success": true,
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "owner": "owner",
  "name": "repo"
}

search_repos — Search Projects

Search the knowledge base with keyword, language, tag, and status filters.

Input:

{
  "query": "test",
  "language": "TypeScript",
  "tag": "demo",
  "status": "active",
  "limit": 20,
  "offset": 0
}

get_repo — Get Project by ID

Get full details of a single project.

Input:

{
  "id": "550e8400-e29b-41d4-a716-446655440000"
}

update_repo — Update Project

Update partial fields of a project. Only pass fields you want to change.

Input:

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "description": "Updated description",
  "status": "archived"
}

delete_repo — Delete Project

Delete a project from the knowledge base.

Input:

{
  "id": "550e8400-e29b-41d4-a716-446655440000"
}

get_stats — Get Statistics

Get knowledge base statistics.

Output:

{
  "total_repos": 42,
  "by_language": { "TypeScript": 15, "Python": 10, "Rust": 8 },
  "by_status": { "active": 30, "archived": 5, "reference": 7 },
  "by_tag": { "mcp": 12, "api": 8, "test": 5 }
}

Supported Fields

| Field | Type | Required | Description | |-------|------|----------|-------------| | url | string | ✅ | GitHub project URL | | description | string | ❌ | Project description | | language | string | ❌ | Primary programming language | | tags | string[] | ❌ | Category tags | | purpose | string | ❌ | Why save this project | | install_cmd | string | ❌ | Install command | | usage_cmd | string | ❌ | Usage command | | status | enum | ❌ | active, archived, reference, wip | | notes | string | ❌ | Free-form notes |

Data Storage

All data is stored in data/github-kb.json — a simple JSON file that you can:

  • Edit with any text editor
  • Commit to Git for version control
  • Backup by copying the file
  • Share with others

Design

| Feature | Why | |---------|-----| | Zero DB | No SQLite, no setup, instant startup | | Zero API keys | No GitHub API needed, you manage the data | | JSON file storage | Human-readable, Git-friendly, easy to backup | | Single file | Easy to maintain, easy to audit | | UUID-based IDs | No auto-increment conflicts |

License

MIT