GitHub MCP Server is GitHub's official Model Context Protocol server, which lets AI tools interact with GitHub repositories and development data. It is used to browse code, manage issues and pull requests, inspect automation runs, review security findings, and support other repository workflows through natural-language requests. The catalogue add-ons connect coding agents to these GitHub capabilities.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add github/github-mcp-server --skill codebase-explorationgit clone --depth 1 https://github.com/github/github-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/github/github-mcp-server/codebase-exploration)<a href="https://agentmods.dev/skills/github/github-mcp-server/codebase-exploration"><img src="https://agentmods.dev/badge/skills/github/github-mcp-server/codebase-exploration/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/github/github-mcp-server/codebase-exploration"><img src="https://agentmods.dev/badge/skills/github/github-mcp-server/codebase-exploration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.01419 |
| Opus 5.5 | $0.00022 | $0.00568 |
| Sonnet 5.5 | $0.00011 | $0.00284 |
| Haiku 4.5 | $0.00006 | $0.00142 |
Grade A, and why
codebase-exploration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Understanding a repository you have not read
Two questions arrive dressed as one: where does this happen, and why is it like this. Answer the first from the layout and the code, the second from the commits — and never guess at either from a file name.
Sequence
- Take the shape before the contents.
get_repository_treewithrecursive: truereturns the whole layout in one call. On a large repository, setpath_filterto a prefix and take the top level first; the directory names alone usually identify the entry points, the tests and the generated code. - Read the documents the project wrote about itself.
get_file_contentson the README and any contributing guide. They state intent, which no amount of code reading recovers. - Establish where the current work is.
list_branchesshows what exists beside the default branch, andlist_tagsshows whether the project versions itself. If it does, the newest tag is a better reading point than the default branch, because it is a state someone chose to publish. - Find the behaviour, do not browse for it.
search_codewithrepo:owner/nameand a distinctive symbol goes straight there. Qualify withpath:andlanguage:to cut noise; quote a phrase for an exact match. Keep thequeryunder 256 characters, and usefieldsto return onlypathandtext_matcheswhen you are locating rather than reading. - Read around every match. A search result is a line;
get_file_contentsgives it the context that decides whether it is the definition, a caller, or a test. - Ask why only once you know where.
list_commitswithpathset to the file gives that file's history in change order. This is where the layout question ends and the history question begins —references/history-investigation.mdcovers the rest. - Report a route, not a conclusion. Name the files, the symbols and the commits you actually read, so the next person can start where you finished.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 103 lines · 56 tokens per session scan A 00c484165a7f
codebase-exploration is a skill published in the GitHub repository github/github-mcp-server (34,473 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 1,419 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.
codebase-exploration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codebase-explorationgithub/github-mcp-server | Skill | 34k | yesterday | MIT | A | 56 | Claude Code, Codex |
| error-handlingsaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 19 | Claude Code, Codex |
| issue-managementsaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |
| release-managementsaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 22 | Claude Code, Codex |
| user-activitysaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 23 | Claude Code, Codex |
| api-requestssaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 37 | Claude Code, Codex |
| interactive-uisaidsef/mcp-github-pr-issue-analyser | Skill | 6 | yesterday | Apache-2.0 | A | 18 | Claude Code, Codex |