morigraph Start free

Data APIs ยท GitHub

GitHub data APIs for AI agents

morigraph has 16 GitHub data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including repository, issue and PR search, issue comments and repository contributors. You need no GitHub developer account or API key, only one morigraph connection. Calls cost from 0.024 credits, about $2.40 for 1,000 calls, paid from one balance.

APIs
16
Price
0.024 to 0.048 credits a call
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No GitHub account or API key

Three ways to call it

Every data API is run by one tool, data_api, with the API's id and its arguments. The example is GitHub Repository.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Use morigraph's GitHub Repository data API with {"url":"https://github.com/facebook/react"} and summarise what comes back.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"github.repository","input":{"url":"https://github.com/facebook/react"}}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/data_api \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"github.repository","input":{"url":"https://github.com/facebook/react"}}'

16 GitHub data APIs

APIIdPrice
GitHub Repositorygithub.repository0.024 credits a call
GitHub Issue and PR Searchgithub.search_issues0.048 credits a call
GitHub Issue Commentsgithub.issue_comments0.024 credits a call
GitHub Repository Contributorsgithub.repository_contributors0.024 credits a call
GitHub Repository Forksgithub.repository_forks0.024 credits a call
GitHub Repository Issuesgithub.repository_issues0.024 credits a call
GitHub Repository READMEgithub.repository_readme0.024 credits a call
GitHub Trending Developersgithub.trending_developers0.024 credits a call
GitHub Trending Repositoriesgithub.trending_repositories0.024 credits a call
GitHub Usergithub.user0.024 credits a call
GitHub User Activitygithub.user_activity0.024 credits a call
GitHub User Contributionsgithub.user_contributions0.024 credits a call
GitHub User Followersgithub.user_followers0.024 credits a call
GitHub User Followinggithub.user_following0.024 credits a call
GitHub User Pull Requestsgithub.user_pull_requests0.024 credits a call
GitHub User Repositoriesgithub.user_repositories0.024 credits a call

GitHub Repository

github.repository0.024 credits a call (about $2.40 for 1,000)

Fetch a GitHub repository's metadata by URL (stars, forks, language, topics, license, and timestamps).

ArgumentTypeRequiredWhat it is
urlstringyesGitHub repository URL (e.g. https://github.com/facebook/react).

Returns archived avatarUrl createdUtc defaultBranch description fork forks fullName homepage id language license name openIssues owner private profileUrl pushedAt size stars topics updatedAt url watchers

The call

data_api({"api":"github.repository","input":{"url":"https://github.com/facebook/react"}})

GitHub Issue and PR Search

github.search_issues0.048 credits a call (about $4.80 for 1,000)

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

ArgumentTypeRequiredWhat it is
limitintegernoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
orderdesc | ascnoSort direction when sort is set. Defaults to desc.
pageintegerno1-based page of results. Request page + 1 while hasMore is true. Default 1.
querystringyesGitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged created:>2026-01-01".
sortcomments | created | updated | reactionsnoSort by number of comments, creation date, last update, or reactions. Omit for best match.

Returns author authorAssociation authorAvatarUrl authorId authorType body closedUtc comments createdUtc draft hasMore id isPullRequest issues labels mergedUtc number reactions repo state title total updatedUtc url

The call

data_api({"api":"github.search_issues","input":{"query":"repo:openai/whisper is:pr"}})

GitHub Issue Comments

github.issue_comments0.024 credits a call (about $2.40 for 1,000), at most 0.064

List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text.

ArgumentTypeRequiredWhat it is
cursorstringnoPagination cursor from a previous response's nextCursor.
limitintegernoRows per page, 1-100 (GitHub's own page-size limit). Each call returns one full page of this size; use nextCursor for the next page. Default 100.
sincestringnoOnly comments updated on or after this date (YYYY-MM-DD).
urlstringyesURL of a GitHub issue or pull request, e.g. https://github.com/openai/whisper/pull/1838.

Returns author authorAssociation authorAvatarUrl authorId authorType body comments createdUtc id nextCursor reactions updatedUtc url

The call

data_api({"api":"github.issue_comments","input":{"limit":10,"url":"https://github.com/openai/whisper/pull/1838"}})

GitHub Repository Contributors

github.repository_contributors0.024 credits a call (about $2.40 for 1,000)

List the people who have committed to a GitHub repository by repository URL, ordered by number of commits, with each contributor's login, profile URL and commit count. Look each one up with github.user for their profile, website and socials.

ArgumentTypeRequiredWhat it is
limitintegernoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
pageintegerno1-based page of contributors. Request page + 1 while hasMore is true. Default 1.
urlstringyesGitHub repository URL, e.g. https://github.com/openai/whisper.

Returns avatarUrl contributions contributors hasMore id login siteAdmin type url

The call

data_api({"api":"github.repository_contributors","input":{"limit":10,"url":"https://github.com/openai/whisper"}})

GitHub Repository Forks

github.repository_forks0.024 credits a call (about $2.40 for 1,000)

List the forks of a GitHub repository by repository URL, with each fork's owner, description, stars, language and last push. Sort by newest, oldest or most starred.

ArgumentTypeRequiredWhat it is
limitintegernoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
pageintegerno1-based page of forks. Request page + 1 while hasMore is true. Default 1.
sortnewest | oldest | stargazers | watchersnoOrder of the forks. Defaults to newest.
urlstringyesGitHub repository URL, e.g. https://github.com/openai/whisper.

Returns archived createdUtc defaultBranch description forks fullName hasMore homepage id language name openIssues owner ownerAvatarUrl ownerType ownerUrl pushedUtc size stars topics updatedUtc url watchers

The call

data_api({"api":"github.repository_forks","input":{"url":"https://github.com/openai/whisper"}})

GitHub Repository Issues

github.repository_issues0.024 credits a call (about $2.40 for 1,000)

List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date.

ArgumentTypeRequiredWhat it is
limitintegernoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
orderdesc | ascnoSort direction. Defaults to desc.
pageintegerno1-based page of issues. Request page + 1 while hasMore is true. Default 1.
sincestringnoOnly issues updated on or after this date (YYYY-MM-DD).
sortcreated | updated | commentsnoSort by creation date, last update, or number of comments. Defaults to created.
stateopen | closed | allnoWhich issues to list. Defaults to open.
urlstringyesGitHub repository URL, e.g. https://github.com/openai/whisper.

Returns author authorAssociation authorAvatarUrl authorId authorType body closedUtc comments createdUtc draft hasMore id isPullRequest issues labels mergedUtc number reactions repo state title updatedUtc url

The call

data_api({"api":"github.repository_issues","input":{"url":"https://github.com/openai/whisper"}})

GitHub Repository README

github.repository_readme0.024 credits a call (about $2.40 for 1,000), at most 0.064

Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors.

ArgumentTypeRequiredWhat it is
urlstringyesGitHub repository URL, e.g. https://github.com/openai/whisper. The README of the default branch is returned.

Returns content downloadUrl name path sha size url

The call

data_api({"api":"github.repository_readme","input":{"url":"https://github.com/openai/whisper"}})

GitHub User

github.user0.024 credits a call (about $2.40 for 1,000), at most 0.064

Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts).

ArgumentTypeRequiredWhat it is
handlestringyesGitHub username.

Returns avatarUrl bio blog company createdUtc followers following id location login name profileUrl publicGists publicRepos twitterUsername type

The call

data_api({"api":"github.user","input":{"handle":"torvalds"}})

GitHub User Activity

github.user_activity0.024 credits a call (about $2.40 for 1,000)

List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year.

ArgumentTypeRequiredWhat it is
cursorstringnoPagination cursor from a previous response (pages backward by month).
handlestringyesGitHub username.
yearstringnoYear of contribution activity to return (defaults to the current year).

Returns activity month nextCursor noActivity summary username year

The call

data_api({"api":"github.user_activity","input":{"handle":"kentcdodds"}})

GitHub User Contributions

github.user_contributions0.024 credits a call (about $2.40 for 1,000)

Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity).

ArgumentTypeRequiredWhat it is
handlestringyesGitHub username.
yearintegernoCalendar year of the contribution graph. Defaults to the current year.

Returns count dateUtc days intensity total username year

The call

data_api({"api":"github.user_contributions","input":{"handle":"torvalds","year":2024}})

GitHub User Followers

github.user_followers0.024 credits a call (about $2.40 for 1,000)

List a GitHub user's followers by handle (each follower's login, type, avatar, and profile URL) with pagination.

ArgumentTypeRequiredWhat it is
cursorstringnoPagination cursor from a previous response (page number, defaults to 1).
handlestringyesGitHub username.

Returns avatarUrl followers id login nextCursor siteAdmin type url

The call

data_api({"api":"github.user_followers","input":{"handle":"torvalds"}})

GitHub User Following

github.user_following0.024 credits a call (about $2.40 for 1,000)

List the GitHub users a given user follows by handle (each account's login, type, avatar, and profile URL) with pagination.

ArgumentTypeRequiredWhat it is
cursorstringnoPagination cursor from a previous response (page number, defaults to 1).
handlestringyesGitHub username.

Returns avatarUrl following id login nextCursor siteAdmin type url

The call

data_api({"api":"github.user_following","input":{"handle":"kentcdodds"}})

GitHub User Pull Requests

github.user_pull_requests0.024 credits a call (about $2.40 for 1,000)

List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination.

ArgumentTypeRequiredWhat it is
cursorstringnoPagination cursor from a previous response (page number, defaults to 1).
handlestringyesGitHub username.
sincestringnoOnly include pull requests created on or after this date (YYYY-MM-DD).
untilstringnoOnly include pull requests created on or before this date (YYYY-MM-DD).

Returns createdUtc hasMore nextCursor pullRequests repo state title url

The call

data_api({"api":"github.user_pull_requests","input":{"handle":"torvalds"}})

GitHub User Repositories

github.user_repositories0.024 credits a call (about $2.40 for 1,000)

List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.

ArgumentTypeRequiredWhat it is
cursorstringnoOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
directionasc | descnoSort direction, ascending or descending, paired with sort.
handlestringyesGitHub username.
sortcreated | updated | pushed | full_namenoRepository ordering. Default "updated".
typeowner | all | membernoWhich repositories to include: owner (default), all, or member.

Returns archived avatarUrl createdUtc defaultBranch description fork forks fullName hasMore homepage id language license name nextCursor openIssues owner private profileUrl pushedAt repos size stars topics updatedAt url watchers

The call

data_api({"api":"github.user_repositories","input":{"handle":"torvalds"}})

Good to know

When to choose something else

Choose a provider that specialises in GitHub data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.

Questions

Do I need a GitHub API key or developer account?

No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 16 APIs on this page.

What does GitHub data cost through morigraph?

Between 0.024 and 0.048 credits a call depending on the API, where a credit is about 10 cents. That is from about $2.40 for 1,000 calls. You pay per call from one balance, with no separate subscription.

Can Claude, ChatGPT or Cursor get GitHub data?

Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.

Which GitHub data APIs are available?

GitHub Repository, GitHub Issue and PR Search, GitHub Issue Comments, GitHub Repository Contributors, GitHub Repository Forks, GitHub Repository Issues, GitHub Repository README, GitHub Trending Developers, GitHub Trending Repositories and GitHub User, and 6 more listed on this page.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.