# GitHub Repository

> Use this tool when you need to access and retrieve GitHub repository contents, such as repository structures and file contents, to provide context for AI models. It solves problems related to code understanding and repository navigation by providing structured access to metadata and source files. The tool accepts GitHub tokens as input and outputs filtered file lists, repository structures, and file contents, making it ideal for use cases that require AI assistants to understand code repositories.

Canonical page: https://skillsregistry.net/skills/shanksxz-github-repo-context  
JSON: https://api.skillsregistry.net/v1/skills/shanksxz-github-repo-context

## Description

GitHub Repository MCP Server provides a tool for AI models to access GitHub repository contents as context, enabling retrieval of repository structures, file contents, and filtered file lists. It supports authentication via GitHub token, allows filtering by file extensions and paths, and is designed to help AI assistants understand code repositories by providing structured access to repository metadata and source files.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/shanksxz-github-repo-context)
- **Repository:** <https://github.com/shanksxz/gh-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "shanksxz-github-repo-context"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/shanksxz-github-repo-context` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/shanksxz-github-repo-context/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
