find_bounties
Search GitHub for real bounty opportunities to earn money from coding tasks. Filters out scams and lets you set minimum repository quality thresholds.
Instructions
Search GitHub for real, paying bounty opportunities. Filters out known scams.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query (default: bounty label issues) | label:bounty |
| min_stars | No | Minimum repo stars to consider |
Implementation Reference
- src/index.ts:446-460 (handler)The handler logic for the "find_bounties" tool, which searches GitHub, filters out scams from the local database, and returns the result.
case "find_bounties": { const query = (args as any).query || "label:bounty"; const results = ghSearch(`"${query}" --state open --sort created`); const db = loadDB(); const filtered = results.filter((r: any) => { const repo = r.repository?.nameWithOwner || ""; return !db.scam_list.includes(repo); }); return { content: [{ type: "text", text: `Found ${filtered.length} bounty opportunities (${results.length - filtered.length} scams filtered):\n\n${filtered.map((r: any) => `- ${r.repository?.nameWithOwner}: ${r.title}\n ${r.url}`).join("\n\n")}`, }], }; } - src/index.ts:306-316 (schema)The registration and schema definition for the "find_bounties" tool.
{ name: "find_bounties", description: "Search GitHub for real, paying bounty opportunities. Filters out known scams.", inputSchema: { type: "object" as const, properties: { query: { type: "string", description: "Search query (default: bounty label issues)", default: "label:bounty" }, min_stars: { type: "number", description: "Minimum repo stars to consider", default: 10 }, }, }, },