GitHub search: find repositories
GitHub repository search: find public repositories by keyword, optionally in one language, ordered by best match, stars, forks or last update, with each result's stars, forks, language, topics, license and last-push date; 1-20 results. Repositories only, no user profile data. Use to find a library for a task, discover the popular projects on a topic or check what already exists before building.
Inputs
| Name | Type | Description |
|---|---|---|
q (required) | string | Search words, e.g. x402 payments (GitHub search qualifiers such as topic:mcp or stars:>100 work too) |
sort | string | best-match (default), stars, forks or updated. One of: best-match, stars, forks, updated. |
language | string | Only repositories mainly in this language, e.g. TypeScript |
count | integer | Number of results, 1-20 (default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/github/search?q=x402%20payments"
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/github/search?q=x402%20payments&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"query": "x402 payments",
"language": null,
"sort": "stars",
"total": 412,
"repos": [
{
"repo": "coinbase/x402",
"url": "https://github.com/coinbase/x402",
"description": "A payments protocol for the internet. Built on HTTP.",
"stars": 5200,
"forks": 890,
"language": "TypeScript",
"topics": [
"payments",
"http",
"stablecoins"
],
"license": "Apache-2.0",
"pushedAt": "2026-11-09T22:10:44Z",
"archived": false
}
],
"source": "GitHub REST API (public repository data)",
"checkedAt": "2026-11-10T09:12:00.000Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is github_search, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp