# GitHub MCP server for AI agents

> Give Claude, Cursor or any MCP client GitHub data: 6 endpoints from $0.002 a call, no GitHub login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/ja/mcp/github/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| GitHub repository details: One public GitHub repository: description, stars, forks, open issues, main language, licence, topics, homepage, and when it was created and last pushed. | [github.repos.get](https://okdata.online/apis/github/repos/get/) | $0.002 per call |
| GitHub account repositories: The public repositories of a GitHub account or organisation: name, description, stars, forks, language, and when each was created and last pushed. | [github.users.repos.list](https://okdata.online/apis/github/users/repos/list/) | $0.002 per call · about 30 posts per page |
| GitHub trending repositories: Today's trending repositories on GitHub, in order: name, description, language, total stars and stars gained today. | [github.repos.trending](https://okdata.online/apis/github/repos/trending/) | $0.002 per call · about 25 posts per page |
| GitHub repository issues and pull requests: Issues and pull requests of a public repository, newest first: title, text, state, labels, comments, reactions, author and date. | [github.repos.issues.list](https://okdata.online/apis/github/repos/issues/list/) | $0.002 per call · about 30 posts per page |
| GitHub issue search: Search issues and pull requests across public GitHub repositories by keyword: title, text, state, repository, comments, reactions, author and date. | [github.issues.search](https://okdata.online/apis/github/issues/search/) | $0.004 per call · about 30 posts per page |
| GitHub issue comments: The comments under one issue or pull request, oldest first: text, reactions, author and date. | [github.issues.comments.list](https://okdata.online/apis/github/issues/comments/list/) | $0.002 per call · about 30 comments per page |

## Two calls

1. `find {"query":"github users"}`: free
2. `call {"capability":"github.users.repos.list","username":"vercel"}`: $0.002 per call · about 30 posts per page

## Skill package

- `okdata-github`: https://okdata.online/.well-known/agent-skills/okdata-github/SKILL.md · https://okdata.online/skills/okdata-github.zip

[Every GitHub endpoint](https://okdata.online/apis/github/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
