# search_repos

Find the best repo to BUILD ON: terms match names, descriptions, topics, categories, licenses and READMEs, ranked by relevance (name beats topics beats description beats README) plus base fitness (stars band, freshness, releases). Returns paid listings (buy at page, x402) and free indexed repos (clone from github) together, listed first, each with stars, forks, pushed_at, releases, license and a starter flag. Needs no account. Empty query browses.

Agent View of the PolicyLayer registry record for `search_repos`. HTML page: https://policylayer.com/tools/com-gitbuyer-mcp/search-repos

## Facts

- Tool: `search_repos`
- Server: Mcp (`https://gitbuyer.com/mcp`) — https://policylayer.com/tools/com-gitbuyer-mcp.md
- Homepage: https://github.com/bitfent/gitbuyer
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 10
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `sort` | string | no | relevance (default with a query), stars (default without), or updated |
| `limit` | integer | no | max results, default 30 |
| `query` | string | no | e.g. "fastapi stripe starter" |
| `license` | string | no | SPDX id (MIT, Apache-2.0, ...) or 'permissive' for the whole build-on-it set |
| `category` | string | no | exact category filter |
| `language` | string | no | exact primary-language filter |
| `starters` | boolean | no | only templates, boilerplates and starters — repos meant as a base |
| `min_stars` | integer | no | only repos with at least this many stars |
| `repo_kind` | string | no | what the repo IS: starter \| app \| library \| tool \| generator. Use 'starter' or 'app' when you want a base to ADAPT; results also carry repo_kind so you can reje |
| `updated_within_days` | integer | no | only repos pushed within this many days |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_repos",
    "arguments": {}
  }
}
```

## Why search_repos is rated Low

Even though search_repos only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

Risk signals: High parameter count (10 properties)

## Use case

AI agents call search_repos to retrieve information from Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "search_repos": {}
  }
}
```

## Other tools on Mcp (15)

- `delete_store` — Destructive — https://policylayer.com/tools/com-gitbuyer-mcp/delete-store.md
- `find_base` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/find-base.md
- `get_github` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-github.md
- `get_repo` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-repo.md
- `get_sales` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-sales.md
- `get_stats` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-stats.md
- `get_store` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-store.md
- `get_traffic` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/get-traffic.md
- `list_stores` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/list-stores.md
- `whoami` — Read — https://policylayer.com/tools/com-gitbuyer-mcp/whoami.md
- `create_payout_wallet` — Write — https://policylayer.com/tools/com-gitbuyer-mcp/create-payout-wallet.md
- `create_store` — Write — https://policylayer.com/tools/com-gitbuyer-mcp/create-store.md
- `seller_setup` — Write — https://policylayer.com/tools/com-gitbuyer-mcp/seller-setup.md
- `set_payout_wallets` — Write — https://policylayer.com/tools/com-gitbuyer-mcp/set-payout-wallets.md
- `update_store` — Write — https://policylayer.com/tools/com-gitbuyer-mcp/update-store.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-gitbuyer-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-gitbuyer-mcp
