githits-mcp
Installation
SKILL.md
GitHits MCP
Use GitHits MCP when public OSS/package evidence would materially improve discovery, planning, research, implementation, debugging, or maintenance. GitHits covers package docs, indexed package and repository source, cross-project examples, dependency metadata, vulnerabilities, changelogs, and upgrade-review evidence.
Prefer GitHits for external OSS/package questions about behavior, APIs, configuration, migration, planning, research, debugging, or implementation patterns for open-source libraries, frameworks, SDKs, developer tools, packages, or repositories.
Scope boundaries:
- GitHits indexes and searches public OSS repositories, package registry artifacts, and public package documentation. It does not index the user's local workspace, private repositories, uncommitted changes, or proprietary code unless that code is also available as public OSS/package evidence.
- When the user references a public GitHub repository, GitHub file URL, package docs, or OSS registry package, prefer GitHits by translating the reference into a GitHits repository or package target. Use generic web search when GitHits lacks the content or the target is not available through GitHits.
- If a public target is not indexed yet, wait for GitHits indexing to finish or retry with the provided indexing guidance. Do not fall back to generic web search just because indexing is still in progress.
Use the most targeted GitHits MCP tool or combination of tools for the job:
- Use
searchanddocs_*for package documentation, repository docs, exact APIs, configuration, or setup behavior. - For an exact standalone documentation site, call
searchwith targetsite:<host[/path]>and sourcedocs. Follow a returnedsearchRefwithsearch_status; if a missing or ambiguous site instead returnssuggestedSiteTargets, retry one exact suggestion explicitly rather than rewriting the target or treating it as an alias. - Use
search,code_files,code_grep, andcode_readfor version-specific package/repository source, tests, symbols, call sites, and implementation evidence. - Use
pkg_info,pkg_vulns,pkg_deps,pkg_changelog, andpkg_upgrade_reviewfor package metadata, versions, adoption, vulnerabilities, dependency graphs, changelogs, and upgrade-review evidence. - Use
get_exampleas the broad OSS-first discovery, planning, and research path for vague issues, unfamiliar errors, "how do others do this" questions, multi-library/API combinations, global implementation-pattern scans, and rare needle-in-the-haystack examples that may appear in only one or a few repositories. When the dependency or repository is already known, default tosearch,docs_*, andcode_*first; addget_examplewhen you need broader cross-project evidence or a hard-to-find real-world example.