GitHub Repo Comparison

Compare two GitHub repositories side by side: stars, forks, activity, language, topics and licence.

Pay by wallet (x402) github-repo-compare

Example

Input
{
  "repo_a": "microsoft/vscode",
  "repo_b": "neovim/neovim"
}
Answer
{
  "repo_a": {
    "forks": 38445,
    "stars": 182607,
    "topics": [
      "editor",
      "electron",
      "microsoft",
      "typescript",
      "visual-studio-code"
    ],
    "is_fork": false,
    "license": "MIT",
    "size_kb": 1151810,
    "has_wiki": true,
    "language": "TypeScript",
    "watchers": 3404,
    "full_name": "microsoft/vscode",
    "has_pages": false,
    "pushed_at": "2026-03-11T21:07:37Z",
    "created_at": "2015-09-03T20:23:38Z",
    "updated_at": "2026-03-11T21:05:16Z",
    "description": "Visual Studio Code",
    "is_archived": false,
    "open_issues": 14956,
    "default_branch": "main"
  },
  "repo_b": {
    "forks": 6642,
    "stars": 97176,
    "topics": [
      "api",
      "c",
      "lua",
      "neovim",
      "nvim",
      "text-editor",
      "vim"
    ],
    "is_fork": false,
    "license": "NOASSERTION",
    "size_kb": 372541,
    "has_wiki": true,
    "language": "Vim Script",
    "watchers": 967,
    "full_name": "neovim/neovim",
    "has_pages": false,
    "pushed_at": "2026-03-11T19:05:46Z",
    "created_at": "2014-01-31T13:39:22Z",
    "updated_at": "2026-03-11T21:01:34Z",
    "description": "Vim-fork focused on extensibility and usability",
    "is_archived": false,
    "open_issues": 1969,
    "default_branch": "master"
  },
  "comparison": {
    "forks": {
      "repo_a": 38445,
      "repo_b": 6642,
      "winner": "microsoft/vscode"
    },
    "stars": {
      "repo_a": 182607,
      "repo_b": 97176,
      "winner": "microsoft/vscode"
    },
    "size_kb": {
      "repo_a": 1151810,
      "repo_b": 372541,
      "winner": "microsoft/vscode"
    },
    "watchers": {
      "repo_a": 3404,
      "repo_b": 967,
      "winner": "microsoft/vscode"
    },
    "last_push": {
      "repo_a": "2026-03-11T21:07:37Z",
      "repo_b": "2026-03-11T19:05:46Z",
      "winner": "microsoft/vscode"
    },
    "open_issues": {
      "repo_a": 14956,
      "repo_b": 1969,
      "winner": "microsoft/vscode"
    }
  },
  "common_topics": [],
  "same_language": false,
  "age_difference_days": 580
}

Inputs

FieldTypeRequiredWhat it is
repo_astringYesowner/repo
repo_bstringYesowner/repo

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
repo_aobjectAlways (present in every successful answer)
repo_bobjectAlways (present in every successful answer)
comparisonobjectAlways (present in every successful answer)
common_topicsarrayAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "github-repo-compare",
    "inputs": {
      "repo_a": "microsoft/vscode",
      "repo_b": "neovim/neovim"
    },
    "max_price_cents": 5
  }'

Limitations

  • Only public repositories are compared

    Compares public GitHub repositories only — private repos require authenticated GitHub API access

    What to do instead: For private repos, use the GitHub API directly with a personal access token

Related tools