GitHub MCP server
19 GitHub tools for AI agents over one remote MCP server, pay per call.
Give Claude, Cursor, VS Code or any MCP client 19 GitHub tools through one remote MCP server (streamable HTTP at https://getallapis.com/mcp). The agent discovers endpoints, gets a free quote, then runs them; each call is billed from your wallet at the endpoint's price.
GitHub endpoints available as tools
| endpoint | What it returns | Price |
|---|---|---|
github.issue_comments | Comments on one issue or pull request. | $0.0012/request |
github.organization | Public profile of a GitHub organisation: name, description, website, location, repository and follower counts. | $0.0012/request |
github.repository | Stars, forks, topics, license and activity dates for one repository. | $0.0012/request |
github.repository_commits | Latest commits of a public repository: sha, message, author name and login, date. E-mail addresses are not returned. | $0.0012/request |
github.repository_contributors | Contributors of a repository by commit count. | $0.0012/request |
github.repository_forks | Forks of a repository, newest first. | $0.0012/request |
github.repository_issues | Issues of a repository (pull requests optional), newest first. | $0.0012/request |
github.repository_languages | Programming languages of a public repository with bytes of code and percentage each. | $0.0012/request |
github.repository_readme | The README of a repository as raw Markdown. | $0.0012/request |
github.repository_releases | Releases of a public repository: tag, name, date, notes and downloadable assets with download counts. | $0.0012/request |
github.search_issues | Search issues and pull requests across GitHub with GitHub's query syntax. | $0.0024/request |
github.search_repositories | Search public GitHub repositories with GitHub's query syntax (language:, stars:>, topic:...), sorted by best match, stars, forks or last update. | $0.0024/request |
github.search_users | Search GitHub users and organisations with GitHub's query syntax (location:, language:, followers:>...). | $0.0024/request |
github.user | Public profile of a GitHub user or organization (no e-mail addresses). | $0.0012/request |
github.user_activity | A user's recent public events (pushes, issues, PRs, stars). | $0.0012/request |
github.user_followers | Accounts following a user. | $0.0012/request |
github.user_following | Accounts a user follows. | $0.0012/request |
github.user_pull_requests | Pull requests authored by a user, newest first. | $0.0024/request |
github.user_repositories | Public repositories owned by a user. | $0.0012/request |
Connect
Claude Code
claude mcp add --transport http getallapis https://getallapis.com/mcp \
--header "Authorization: Bearer $GETALLAPIS_API_KEY"
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"getallapis": {
"url": "https://getallapis.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
VS Code (.vscode/mcp.json)
{
"servers": {
"getallapis": {
"type": "http",
"url": "https://getallapis.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
More clients: integrations.
Example tool call
JSON-RPC sent by the client
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_endpoint",
"arguments": {
"endpoint": "github.issue_comments",
"input": {
"owner": "fastapi",
"repo": "fastapi",
"issue_number": 1
}
}
}
}
Response: the same run envelope as the HTTP API (cost_usd, items, source, output). Full details: MCP docs.
Get an API key. New API keys come with $0.10 of free credit, no card required (limited to 2 keys per network every 30 days). That covers about 83 requests of github.issue_comments. Then add credits (packs from $10). No subscription; failed calls are refunded.
FAQ
Is this an official GitHub MCP server?
No. It is GetAllAPIs's MCP server; it calls GitHub REST API for you and bills your wallet per call.
Which tools does the agent see?
Discovery tools (list_endpoints, search_endpoints, get_endpoint, quote_endpoint), run_endpoint to call any endpoint, plus get_request and get_balance. The GitHub endpoints are the ids in the table above.
Does it support OAuth?
Not yet. Send the API key in the Authorization: Bearer header. Discovery and quote tools work without a key.
How do I stop an agent from overspending?
Give the agent its own key with a spend limit, and pass max_cost_usd to run_endpoint; anything pricier is refused before it runs.