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

@abhishekmcp/git

v0.2.0

Published

MCP server for local Git repositories — status, log, diff, file history, branches, and gated stage/commit — pure-JS (isomorphic-git), no git binary, from any MCP client.

Readme

@abhishekmcp/git

A local Git MCP server: inspect and (optionally) modify Git repositories on your machine. Built on isomorphic-git — a pure-JavaScript git implementation, so no git binary is required and there are no native dependencies. Complements @abhishekmcp/files.

Tools

Read (always):

  • git_status — staged / unstaged / untracked + current branch

  • git_log — commit history (optional ref, limit, file-path filter)

  • git_show — a commit's metadata + changed files

  • git_diff — unified diff: working tree vs HEAD, a ref vs working tree, or refA vs refB (optional single file)

  • git_file_history — commits that touched a file

  • read_file_at — a file's contents at a ref/commit

  • list_branches, list_tags, current_branch, search_log

  • list_remotes — configured remotes (name + URL)

Write + remote (only when GIT_WRITABLE=1):

  • Local: git_stage, git_unstage, git_commit (author from git config or args), git_create_branch, git_checkout
  • Remote (HTTPS): git_clone, git_fetch, git_pull (fast-forward), git_push

Remotes are HTTPS-only (isomorphic-git has no SSH). Public clone/fetch work anonymously; private repos and push need a token (GIT_TOKEN). git_pull is fast-forward only. No blame. Diffs are computed in pure JS (size-capped).

Configuration

| Variable | Required | Effect | |----------|----------|--------| | GIT_ROOTS | yes | Allowed repo root directories (comma-separated). The server refuses to start without it. | | GIT_WRITABLE | no | 1/true enables the write + remote tools. | | GIT_TOKEN / GITHUB_TOKEN | no | PAT for HTTPS remote auth (private clone/fetch/pull/push). | | GIT_USERNAME | no | Username for HTTPS basic auth (defaults to the token). |

Every repo argument is sandboxed to GIT_ROOTS (lexical + realpath containment; symlink escapes rejected).

Usage

# Claude Code (plugin):  /plugin marketplace add Abhishekkumar2021/mcp-suite  →  /plugin install git
# Claude Code (manual):
claude mcp add git --env GIT_ROOTS=$HOME/code -- npx -y @abhishekmcp/git
{
  "mcpServers": {
    "git": { "command": "npx", "args": ["-y", "@abhishekmcp/git"], "env": { "GIT_ROOTS": "/path/to/code" } }
  }
}

License

MIT