Tools catalog / Code
GitHub

GitHub

Read repositories, files, code search and recent commits with a read-only token you create.

Get started
Ask your agentFree
What changed in our website repository this week?

Use my SingleBrain Gateway tools for this, such as github_list_repos. Only use numbers the tools return. If you cannot see SingleBrain tools, stop and tell me to connect SingleBrain Gateway at https://gateway.singlebrain.com first.
What it can read
Your repositoriesThe repositories your token can read, newest push first.Free
Browse a folderThe files and folders in one directory of a repository.Free
Read a fileOne text file from a repository, cut at 50 KB with a note when it is longer.Free
Search codeFind where a word or phrase appears in one repository, with the matching lines.Free
Recent commitsWho changed a repository lately, one line per commit.Free
PriceNo charge per call.
Whose account it uses

Runs on your own GitHub account. You connect it yourself, and your agent sees only what that account can already see.

Repositories, folders, files, code search and recent commits, through a fine-grained token you create in GitHub with read-only Contents and Metadata permissions, on only the repositories you choose. Read-only here: we only ever read and implement no write path; give the token read-only permissions. Files, code and commit messages are text other people wrote.
✓ It reads your data. The exceptions are Slack, where the assistant replies in the workspace that installed it and can join a public channel to read it, Instantly, where it can add leads and create draft campaigns after a preview but never activates a campaign, and Sume, where it can generate images and video after a preview, billed to your Sume balance. Every call shows up in your activity log.

For agents: this page as Markdown.

Install in your AI assistant

Hosted connector (claude.ai, ChatGPT):
https://gateway.singlebrain.com/mcp
Claude Code:
claude mcp add --transport http singlebrain "https://gateway.singlebrain.com/mcp?sg_template=sg-tool-github" --scope user
Codex:
npx -y singlebrain start --client codex --template sg-tool-github
Cursor:
npx -y singlebrain start --client cursor --template sg-tool-github
VS Code:
npx -y singlebrain start --client vscode --template sg-tool-github