mcpdirectory.dev
9,129 servers · updated 23 Sept

Githits MCP server

community Active last commit 17 d
{
  "mcpServers": {
    "githits": {
      "command": "npx",
      "args": [
        "-y",
        "githits@latest"
      ],
      "env": {
        "GITHITS_API_TOKEN": "<githits_api_token>"
      }
    }
  }
}
file .mcp.json (in your project root)install npx -y githitsversion 0.21.0

What it does

GitHits is an MCP server that connects AI coding agents to public open-source code, documentation, and package metadata. It lets agents search repositories, read source files, inspect package health and vulnerabilities, and find real-world examples when they need evidence beyond local context or training data.

  • Search open-source code and documentation for a specific package to understand how to use an API or handle an error.
  • Read source files and grep through a dependency's codebase without cloning the repository locally.
  • Inspect package vulnerabilities, dependencies, changelogs, and upgrade paths to verify package health before updating.

Tools this server exposes

ToolDoes
quick_startProvides orientation and guidance on using GitHits tools.
get_exampleFinds code examples from open-source projects for a given task or pattern.
search_languageSearches for code examples in a specific programming language.
searchSearches indexed code, documentation, and symbols across open-source repositories.
search_statusReturns status information about search results.
code_filesLists files in a package or repository directory.
code_readReads the contents of a source file from a package or repository.
code_grepSearches for text patterns in source files using regex or literal matching.
docs_listLists available documentation pages for a package.
docs_readReads the contents of a documentation page.
pkg_infoReturns metadata and general information about a package.
pkg_vulnsRetrieves known vulnerabilities for a package version.
pkg_depsLists dependencies for a package and their versions.
pkg_changelogRetrieves changelog information between package versions.
pkg_upgrade_reviewProvides evidence and comparison for upgrading a package to a newer version.
feedbackSends feedback or reports issues to GitHits.

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.