What is Swipr?
Swipr is a swipe-to-review interface for GitHub pull requests, providing AI-generated context such as risk scores, contributor history, similar past changes, and test coverage. It works as both a web app and an MCP (Model Context Protocol) server, enabling human reviewers and AI agents (e.g., Claude) to triage PRs quickly.
How to use Swipr?
Add the MCP server to Claude Desktop by editing claude_desktop_config.json with the provided npx command using Supergateway and the hosted endpoint. Once configured, ask Claude to analyze PRs via tools like lookup_pr, analyze_pr, or find_similar_changes. The web app at the demo URL lets you paste a public repo, then swipe right (approve), left (request changes), or down (skip) with keyboard shortcuts (J, F, Space).
Key features of Swipr
- Swipe-based UI for rapid PR triaging
- MCP server with 12 read-only tools (e.g.,
analyze_pr, risk_score, find_related_tests)
- Heuristic risk scoring (0–100, configurable in
lib/scoring.ts)
- Cached AI summaries per PR — no repeated API calls
- Bring-your-own-AI-key chat (supports Groq, Google Gemini, Anthropic)
- Self-hostable on Neon Postgres + pgvector + Vercel AI Gateway
- All MCP tools are pure database reads — zero AI credits consumed
Use cases of Swipr
- Maintainers quickly triaging a large backlog of open PRs
- AI agents (e.g., Claude) deciding whether to merge a PR based on risk and context
- Finding tests that cover a changed file before approving
- Comparing a PR with semantically similar past changes to spot regressions
- Onboarding new contributors by surfacing their history and merge rate
コメント