Search repositories
search_reposSearch repositories visible to your token, including private ones, by keyword in names or topics, optionally matching descriptions; get paginated results with total match counts.
Instructions
Find repositories anywhere on the instance by keyword: a case-insensitive substring of the repo name or one of its topics (include_description=true widens it to descriptions; owner names are not searched). Covers every repo this token can see, private ones included. Results come alphabetically by name, not ranked by relevance, one page at a time (set limit, up to 50, and page), in list_my_repos' slim shape (full_name, description, private, stars, size, urls, dates), with total giving the full match count. Use list_my_repos for your own repos, get_repo when you already know owner/repo, and list_orgs for the organizations you belong to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| limit | No | Results per page. Without it Codeberg returns 30 and gitea.com 10; both cap it at 50. | |
| query | Yes | Keyword, matched case-insensitively as a substring of repository names and topics (`mcp` finds `forgejo-mcp-rs` and a repo tagged `mcp23017`). Not owner names. | |
| include_description | No | Also match the keyword in repository descriptions. Defaults to false; on Codeberg it widened a search for `mcp` from 783 matches to 919. |