Query repositories, topics and developer rankings as JSON, or plug SrcLog straight into Claude, Cursor and other AI assistants over the Model Context Protocol.
No auth required. 30 requests/minute per IP.
Every endpoint is a plain GET that returns JSON. There are no API keys, tokens or sign-ups.
Lists come wrapped in data with pagination in meta:
Example values are illustrative. Data is refreshed from GitHub daily.
Base URL: https://srclog.com/api/v1. Paginated endpoints take page (1–1000) and per_page (1–50, default 20).
| Endpoint | Returns | Parameters |
|---|---|---|
GET /api/v1/search
Try it →
|
Search repositories. | q, language, topic, min_stars, sort=relevance|stars|recent, page, per_page |
GET /api/v1/repos/{owner}/{name}
Try it →
|
One repository: stats, license, topics, dates, links. | — |
GET /api/v1/repos/{owner}/{name}/similar
Try it →
|
Semantically similar repositories (alternatives). | limit (1–50, default 10) |
GET /api/v1/topics
Try it →
|
All curated topics. | — |
GET /api/v1/topics/{slug}
Try it →
|
A topic and its most-starred repositories. | page, per_page |
GET /api/v1/top/developers
Try it →
|
Top GitHub developers ranking. | language, country (ISO code), sort=stars|forks|watchers|repos, page, per_page |
GET /api/v1/top/organizations
Try it →
|
Top GitHub organizations ranking. | same as above |
GET /api/v1/owners/{login}
Try it →
|
Developer or organization: totals, ranking positions, top repositories. | page, per_page |
/repos/laravel/framework./topic/machine-learning → /topics/machine-learning. Aliases such as golang resolve to the main topic.C++, Jupyter Notebook); countries are ISO 3166-1 alpha-2 codes (US, UA).Errors use the HTTP status and a stable machine-readable code:
Codes: invalid_request (422), not_found (404), rate_limited (429).
No auth required. 30 requests/minute per IP. The limit is shared between the REST API and MCP tool calls coming from the same IP address.
Every API response carries the current budget:
Once it runs out you get 429 with Retry-After (seconds) until the window resets:
Need more? Cache responses on your side — the data changes at most once a day — or get in touch.
SrcLog speaks the Model Context Protocol over Streamable HTTP, so AI assistants can search repositories and rankings for you. No auth required. 30 requests/minute per IP.
Add a custom connector and paste https://srclog.com/mcp as the server URL. Leave authentication empty.
VS Code uses "servers" with "type": "http" instead of "mcpServers".
search_repos
Search repositories
Search open-source GitHub repositories by keywords (hybrid keyword + semantic search) with optional language, topic and star filters.
query?: string, language?: string, topic?: string, min_stars?: integer, sort?: relevance|stars|recent, page?: integer, per_page?: integer
get_repo
Get repository
Details for one repository: stars, forks, language, license, topics, SrcLog score, dates and links.
repo: string
similar_repos
Similar repositories
Repositories semantically similar to the given one — useful for finding alternatives.
repo: string, limit?: integer
list_topics
List topics
All curated topics (slug, title, description).
topic_repos
Repositories in a topic
Most-starred repositories tagged with a topic.
topic: string, page?: integer, per_page?: integer
top_developers
Top developers
Ranking of GitHub developers or organizations by total stars (or forks, watchers, repos), optionally by language and country.
type?: developers|organizations, language?: string, country?: string, sort?: stars|forks|watchers|repos, page?: integer, per_page?: integer
get_owner
Get developer or organization
Profile, totals, ranking positions and most-starred repositories of a GitHub user or organization.
login: string, page?: integer, per_page?: integer
initialize, tools/list, ping — are free.Rate limit: 30 req/min, retry in N s and can wait and retry.The endpoint is stateless and returns plain JSON (no SSE stream), so you can call it with curl:
srclog_score and rankings are SrcLog’s own (see methodology)./v1: fields may be added, but existing ones won’t be renamed or removed without a new version.API v1 · Questions or bugs? Contact us