bounty-radar
Provides tools to search and retrieve open-source bounty listings sourced from GitHub issues.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
What it is
Bounty Radar is a zero-dependency Node.js toolkit that collects open-source bounty listings, checks that the repository behind each one is still alive, filters known spam patterns, and ranks what is left with a simple, explainable score. The same feed is published as a static HTML board, RSS and JSON, exposed to AI coding agents through an MCP server, and optionally served by a Cloudflare Worker API with API keys and paid plans.
Six collectors in
radar.mjs: Algora org bounty pages, Algora jobs pages, Algora challenges, GitHub issues that mention@algora-io, Opire rewards found via GitHub search, and GitHub issues carrying common bounty labels.Liveness verification through the GitHub CLI: drops archived repos, bounties on forks (for label-sourced issues), repos not pushed within 60 days and issues that are no longer open; counts open PRs that compete for the same issue.
Spam and bait filtering: a regex blocklist for known fake-bounty repos/orgs and a filter for the copy-pasted
[Bounty: $X]title template.Deterministic scoring from 0 to 12 (see Scoring); duplicates are merged keeping the highest amount.
Outputs: Markdown digest, JSON (
--json), and a static site (build-site.mjs) withindex.html,feed.xml(RSS 2.0) andbounties.json.MCP server (
mcp-server.mjs): JSON-RPC 2.0 over stdio with four tools.Alerts (
notify.mjs): Discord and/or Telegram messages for new listings above a score threshold, tracked per channel.Optional API (
worker/): a Cloudflare Worker with KV-backed API keys, daily quotas and Stripe-paid plans.Automation: a scheduled GitHub Actions workflow sweeps every 6 hours, rebuilds the site, deploys GitHub Pages and commits tracking state.
The board is published at https://muhib-karim.github.io/bounty-radar/. Filters reduce noise; they do not guarantee that a listing is payable, unclaimed or still available. Always re-check the original listing before investing time.
The screenshot below is historical. It shows what the generated site looks like, not current listings.

Related MCP server: We Work Remotely Scout MCP
Quickstart
Requirements: Node.js 20 or newer. A live sweep also needs the GitHub CLI (gh) authenticated with read access. The tests need neither network nor gh.
git clone https://github.com/muhib-karim/bounty-radar.git
cd bounty-radar
npm test # no install step: there are no runtime dependencies
node radar.mjs --json > feed.json # sweep (needs network + gh); progress goes to stderr
node build-site.mjs feed.json site # site/index.html, feed.xml, bounties.jsonUsage
node radar.mjs --help # options
node radar.mjs # Markdown digest to stdout
node radar.mjs --json > feed.json # JSON feed
node radar.mjs --out digest.md # also write the digest to a file
node radar.mjs --max-age 14 # only listings at most 14 days old
node build-site.mjs feed.json site # static site from a feed
node notify.mjs feed.json --dry-run # show which alerts would fire, send nothingEach of the six sources reports success or failure; failures are listed on stderr. Exit codes of radar.mjs:
Outcome | Exit | Output |
No source failed (even if nothing was found) | 0 | feed or digest |
Some sources failed, listings were still found | 0 | feed or digest, failures on stderr |
Some sources failed and no listing survived | 1 | nothing on stdout, no state written |
Every source failed | 1 | nothing on stdout, no state written |
An empty result next to failed sources cannot be told apart from an outage, so it is never published as an empty board. build-site.mjs runs a sweep itself when the feed file is missing or older than 20 hours, and stops without writing a site if that sweep fails.
radar.mjs writes state/listings-seen.json (first/last-seen timestamps) relative to the current directory on every successful sweep.
Alerts
Set DISCORD_WEBHOOK_URL and/or TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID, then run node notify.mjs feed.json. Use --dry-run first. Never commit webhook URLs or tokens.
Delivery is tracked per listing and per channel in the state file (--state, default state/alerts-state.json next to the feed):
A channel is recorded only after its own send succeeded. If Telegram fails after Discord succeeded, the next run retries Telegram only.
One message carries at most 10 listings. Only the listings actually sent are recorded; the rest go out on the next run.
Exit code 0 means everything pending was sent (or there was nothing to send), 1 means at least one channel failed, 2 means no channel is configured.
Use it from any agent (MCP server)
node mcp-server.mjs --help
node mcp-server.mjs feed.json # serve a local feed over stdioAgent configuration:
{ "mcpServers": { "bounty-radar": { "command": "node", "args": ["/path/to/bounty-radar/mcp-server.mjs"] } } }Without a file argument the server fetches the feed from BOUNTY_RADAR_FEED (default: the published bounties.json) and caches it for FEED_CACHE_TTL_MS.
Tool | What it does |
| Filter by |
| Full details and verification status for one listing id. |
| Listings the feed first saw after |
| Listing count, total known USD, median score, per-source breakdown. |
Architecture
flowchart LR
subgraph Sources
A1[Algora bounties / jobs / challenges]
A2[GitHub search: labels, @algora-io mentions, Opire]
end
A1 -->|fetch + text parsing| R[radar.mjs<br/>collect, filter, verify, score]
A2 -->|gh CLI| R
R -->|gh api: repo + issue + PRs| R
R --> F[(feed.json)]
R --> S[(state/listings-seen.json)]
F --> B[build-site.mjs]
B --> P[GitHub Pages<br/>index.html, feed.xml, bounties.json]
F --> N[notify.mjs<br/>Discord / Telegram]
P --> M[mcp-server.mjs<br/>stdio JSON-RPC]
P --> W[worker/<br/>Cloudflare Worker API]
ST[Stripe] -->|signed webhook| W
GA[GitHub Actions<br/>sweep-and-publish, every 6h] -.runs.-> R & B & Nradar.mjsis the core. Its logic (argument parsing, HTML-text parsers, spam/bait filters, scoring, ranking, Markdown rendering, running the sources) is exported for tests; the network sweep runs only when the file is executed directly.build-site.mjsturns a feed into a static site. RSS item guids are derived from the listing URL (plus the listing key where several listings share a page), so they stay the same when the ranking changes.mcp-server.mjsandworker/are read-only consumers of the publishedbounties.json.hn-monitor.mjs,launch-digest.mjs,build-dashboard.mjs,build-social-banner.mjsandpreflight.mjsare launch-time helpers (Hacker News thread monitoring, digests, charts and a pre-launch link checker).
Scoring
scoreBounty() in radar.mjs adds points up to a maximum of 12 (MAX_SCORE):
Signal | Points |
Amount: ≥ $1,000 / ≥ $250 / ≥ $100 / ≥ $30 | 4 / 3 / 2 / 1 |
Age: ≤ 3 days / ≤ 14 days / ≤ 60 days | 3 / 2 / 1 |
Claims: none / 1–2 | 2 / 1 |
No open PR competing for the issue | 2 |
Repository pushed within the last 7 days | 1 |
Jobs and challenges have no issue to measure, so they get fixed scores: jobs 7, challenges 8 (9 when the prize is $5,000 or more).
Worker API setup
worker/ is an optional Cloudflare Worker that serves the feed as a queryable API. It has no dependencies; wrangler is only needed to deploy it. The launch scripts default to the instance at https://bounty-radar-api.ai-dev-2024.workers.dev (a Cloudflare account subdomain, unrelated to the repository owner's GitHub name); override it with LAUNCH_API_URL.
Deploy
cd worker
npm ci # installs wrangler
npx wrangler login
npx wrangler kv namespace create KEYS # prints an id
npx wrangler kv namespace create SNAPSHOTS # prints an idPut the two ids into worker/wrangler.toml (the ids committed there belong to the original deployment), check the [vars] block, then:
npx wrangler secret put STRIPE_SECRET # only if you sell paid plans, see Stripe below
npx wrangler deployFor local development use npx wrangler dev and put secrets in worker/.dev.vars (git-ignored).
Endpoints
Endpoint | Metered | Notes |
| yes | Filters as in the MCP |
| yes |
|
| yes | Added, changed and removed listings since |
| yes | Per-source counts; market summary. |
| yes | Plan, usage and limit of the calling key. |
| no | Creates a free key. At most 5 per IP per day. |
| no | Stripe events; authenticated by signature. |
| no | Index, OpenAPI 3 document, launch dashboard data. |
Authenticate with Authorization: Bearer brk_…. Metered responses carry X-RateLimit-Limit and X-RateLimit-Remaining; a 429 adds Retry-After (seconds until the UTC-midnight reset). A feed that cannot be fetched is a 502.
Caller | Requests per UTC day |
Anonymous (per IP) |
|
Free key | 10 × |
| 5,000 |
| 25,000 |
Quota and Workers KV limits
Workers KV is the only storage the Worker uses, and KV cannot implement a counter on its own:
KV property | Consequence |
No atomic increment or compare-and-swap | A read-check-write per request is a race: parallel requests all read the same value. |
Eventually consistent (a write can take 60 s or more to be visible elsewhere; reading your own write back is not guaranteed) | A counter read from KV can be stale. |
1 write per second to the same key | Writing the counter on every request fails under any burst. |
Free plan: 1,000 writes and 100,000 reads per day | Per-request writes exhaust the plan within 1,000 API calls. |
So the counter that decides is held in memory, one per client per isolate, and its check-and-increment runs without yielding. Inside one isolate that is exact: 300 parallel requests against a limit of 100 let exactly 100 through. KV seeds the counter when an isolate first sees a client, and receives coalesced write-behind updates (at most one write per client per QUOTA_FLUSH_MS).
What this does not provide is one global counter. Cloudflare may run several isolates, in several locations, and each enforces the limit against its own view; they learn about each other only through KV. A client whose requests are spread across isolates can therefore exceed the limit by roughly the number of isolates times the requests made within the flush and sync windows, and increments that were not flushed yet are lost if an isolate is killed. If reading or writing a counter fails, the Worker keeps serving and counts in memory only (requests with an API key still need KV to look the key up). Exact global enforcement needs a Durable Object or Cloudflare's Rate Limiting binding; this Worker deliberately uses neither. On the free KV plan, write-behind stops persisting once the daily write allowance is used up.
A new or changed API key record can also take up to about a minute to be visible in every location, because KV caches lookups (including "not found").
Stripe (paid plans)
Paid plans use Stripe Payment Links and one webhook; there is no Stripe SDK and no Stripe API key in the Worker.
Create two Payment Links in Stripe, one per plan. On each link set the metadata
plantoagentorteam. Stripe copies it to the Checkout Session.Tell the Worker about them: set
CHECKOUT_URL_AGENTandCHECKOUT_URL_TEAMto the two link URLs.POST /v1/keysandGET /v1/keys/mereturn them with?client_reference_id=<the caller's key>appended. That parameter is how a payment is matched to a key, so send customers to the URL the API returns, not to the bare link.Create a webhook endpoint in Stripe pointing at
https://<your-worker>/v1/webhooks/stripe. Choose the snapshot payload style (the handler readsdata.object, which thin events do not carry, so thin events are acknowledged and ignored) and subscribe to exactlycheckout.session.completedandinvoice.paid.Store the endpoint's signing secret (it starts with
whsec_):npx wrangler secret put STRIPE_SECRET. This is the webhook signing secret, not a Stripe API key. Without it the endpoint answers501.
How the webhook behaves:
Signature: HMAC-SHA256 over
timestamp.bodyis checked against everyv1signature in theStripe-Signatureheader (there are several while a secret is being rolled). Anything else is a400.Replay window: the signed timestamp must be within 300 seconds of the Worker's clock, in either direction.
Idempotency: each event id is applied once. Ids are remembered in KV for 35 days (Stripe allows manual resends for 30) and a repeat is answered
200 {"received": true, "duplicate": true}. The grant itself is also idempotent, because it is computed from the event's own timestamp rather than from the time of delivery.checkout.session.completedsets the key's plan andpaid_untilto the event time plus 31 days. An unknown plan or a session without a key is a400, an unknown key a404; Stripe retries those, so they show up in its dashboard.invoice.paid(subscription renewals) extendspaid_untilto the end of the invoice's billing period plus one day of grace. Events can arrive in any order; an invoice that arrives before its checkout event is held and applied when the checkout arrives.Expiry: a paid plan counts only while
paid_untilis in the future. After that the key is treated as a free key (/v1/keys/mereportsplan_expired: true) until another payment arrives. A paid plan with nopaid_untilis treated as expired.The webhook is not rate-limited and does not consume quota.
To test locally: stripe listen --forward-to localhost:8787/v1/webhooks/stripe (use the signing secret it prints as STRIPE_SECRET in worker/.dev.vars), then stripe trigger checkout.session.completed --add checkout_session:client_reference_id=<key> --add checkout_session:metadata.plan=agent.
Configuration
Every environment variable the code reads. None is required for npm test.
Scripts
Variable | Read by | Purpose | Default |
|
| Public URL of the published site, with trailing slash |
|
|
| Hacker News item to link, chart and monitor | unset (launch features off) |
|
| Feed URL for the MCP server | the published |
|
| How long the MCP server caches the feed |
|
|
| Discord webhook to post to (secret) | unset |
|
| Telegram bot token (secret) | unset |
|
| Telegram chat to message | unset |
|
| Base URL of the Worker API |
|
|
| Repository whose stars are tracked |
|
|
| GitHub login whose open pull requests are watched |
|
|
| GitHub authentication; either one enables pull-request monitoring |
|
|
| Set by GitHub Actions; repository to dispatch follow-up runs to | unset |
|
| Set by the workflow to the triggering event; only | unset |
|
|
| unset |
|
| Stop sending digests once the thread is older than this |
|
|
| Read | unset |
|
| Feed used for the numbers on the social banner | the published |
GitHub Actions
The workflows take their configuration from the repository settings: secrets DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID (all optional; alerts are skipped without them) and the variable HN_ITEM_ID (optional). Everything else uses the built-in github.token.
Worker
Set in worker/wrangler.toml ([vars], bindings) or with wrangler secret put.
Name | Kind | Purpose | Default |
| KV binding | API key records, usage counters, Stripe event markers, launch counters | required |
| KV binding | One snapshot per sweep, for | optional ( |
| var | URL of | required |
| var | Site base URL, with trailing slash; | unset ( |
| var | How long an isolate caches the feed |
|
| var | Anonymous requests per IP per day; a free key gets 10× |
|
| var | Stripe Payment Link for the | unset (no upgrade link) |
| var | Stripe Payment Link for the | unset (no upgrade link) |
| secret | Signing secret ( | unset (webhook answers |
| var | Interval for write-behind of usage counters to KV. Keep it at 1000 or more: KV accepts one write per second per key |
|
| var | How often an isolate re-reads a client's counter from KV to pick up other isolates' usage |
|
wrangler.toml also declares REPO; the Worker does not read it.
Testing and CI
npm test # node:test, offline; no install needed
npm run check # node --check on every script (syntax)
npm ci # once, for linting: installs ESLint (devDependencies only)
npm run lint # ESLint, flat config in eslint.config.jsThe suite runs offline against fixtures and mocks (fetch, Workers KV and the gh CLI are replaced; nothing calls a real service):
test/radar.test.mjs,test/cli.test.mjs: parsers, filters, scoring, ranking, the per-source error reporting and the CLI's exit codes.test/mcp-server.test.mjs: drives the MCP server over stdio.test/build-site.test.mjs: RSS well-formedness with hostile input, stable guids, no site on a failed sweep.test/notify.test.mjs: per-channel alert state and the per-message cap.test/worker-quota.test.mjs,test/worker-stripe.test.mjs,test/worker-listings.test.mjs: the Worker, imported directly with an in-memory KV. Each test loads a fresh module instance to stand in for a fresh isolate. The Worker is not run under the Cloudflare runtime in these tests.test/repo-hygiene.test.mjs: guards against drift (stale URLs, unpinned actions, undocumented environment variables, runtime dependencies creeping in).
CI (.github/workflows/ci.yml) runs on every pull request and on pushes to main:
Job | What it runs |
|
|
|
|
| Secret scan of the pushed or proposed commits |
To make them blocking, mark lint, test (20), test (22) and gitleaks as required status checks in the branch protection rule for main. Every action in every workflow is pinned to a full commit SHA; Dependabot (.github/dependabot.yml) proposes updates.
Project structure
radar.mjs core sweep: collectors, verification, scoring, digest
build-site.mjs static HTML / RSS / JSON generator
mcp-server.mjs MCP server (stdio, JSON-RPC 2.0)
notify.mjs Discord / Telegram alerts with per-channel state
hn-monitor.mjs Hacker News thread + PR watcher (launch helper)
launch-digest.mjs hourly launch-day digest (launch helper)
build-dashboard.mjs launch dashboard SVG
build-social-banner.mjs social preview image generator (needs sharp; not used in CI)
render-chart.mjs SVG to PNG via sharp (installed on demand in CI only)
preflight.mjs pre-launch link and claim checker
worker/ optional Cloudflare Worker API (wrangler)
state/ tracking state committed by the scheduled workflows
test/ node:test suites, helpers and fixture feeds
docs/ banner, screenshots, launch notes
.github/workflows/ ci, sweep-and-publish, hn-monitor, launch-digestLimitations
Algora pages are parsed from rendered HTML text, so a markup change on their side can reduce results without any error: a page that loads but contains no parseable listings counts as an empty, successful source. (Only a request that fails or returns an HTTP error is reported as a source failure.)
Opire listings are only included when the amount appears in the issue title.
Escrow is not verified for GitHub-label or mention sources; those listings are marked
unknown.Verification uses several GitHub API calls per candidate and is subject to
ghrate limits. Ifghis missing or unauthenticated, the GitHub-backed sources fail and every issue-backed listing is dropped; if nothing else was found, the sweep fails rather than publishing an empty feed.The Worker's daily quota is exact per isolate, not globally (see Quota and Workers KV limits).
The scheduled workflows have side effects (Pages deploys, state commits, alert webhooks). Review them before running manually in a fork.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md for the workflow. Before opening a pull request, run npm run lint and npm test. Please keep each pull request focused and say how you tested it.
License
MIT. Source data and linked opportunities retain their own terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Public MCP server for discovering open jobs. Search, filter, and get application links.
Publish, search, and promote time-sensitive news and messages through a public remote MCP server.
Discover, hire, and verify real-world physical capability through MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables developers and AI agents to discover, rank, watch, and draft submissions for Gibwork coding bounties through MCP tools, with optional wallet-authenticated SDK support.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables any MCP host to search remote job listings by keyword, location, remote preference, and posting date, then fetch full details and apply URLs for individual postings. It wraps the board's public API/RSS as read-only stdio tools with rate limiting and no authentication required.MIT
- AlicenseNot gradedqualityCmaintenanceWraps cryptocurrencyjobs.co's public API/RSS in a standard MCP so any agent host can search job listings by keyword, location, remote preference and posting date, and retrieve individual job details such as company, apply URL and snippet.MIT
- AlicenseAqualityCmaintenanceEnables users to search registered agents, fetch capability offers, list and inspect jobs, and submit bounty work to the LAX registry through MCP tools over stdio or Streamable HTTP.5Apache 2.0