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
| Field | Type | Required | What it is |
|---|---|---|---|
repo_a | string | Yes | owner/repo |
repo_b | string | Yes | owner/repo |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
repo_a | object | Always (present in every successful answer) |
repo_b | object | Always (present in every successful answer) |
comparison | object | Always (present in every successful answer) |
common_topics | array | Always (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
}' {
"tool": "strale_execute",
"arguments": {
"slug": "github-repo-compare",
"inputs": {
"repo_a": "microsoft/vscode",
"repo_b": "neovim/neovim"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "github-repo-compare",
inputs: {
"repo_a": "microsoft/vscode",
"repo_b": "neovim/neovim"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="github-repo-compare",
inputs={
"repo_a": "microsoft/vscode",
"repo_b": "neovim/neovim",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/github-repo-compare?repo_a=microsoft%2Fvscode&repo_b=neovim%2Fneovim' 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
- npm Package Info €0.05
- PyPI Package Info €0.05