mcp-name: io.github.Rajveerx11/gfi-scout
Why this exists
Most "good first issue" finders are glorified GitHub search wrappers. They happily hand you issues from abandoned repos, issues already claimed by three other contributors, and issues maintainers will never review.
GFI Scout ranks results by likelihood of success โ repo health, merge rate, maintainer responsiveness, issue freshness, and setup complexity all feed a composite beginner_score (0-100). The dead repos sink to the bottom.
It ships as a Model Context Protocol server, plus a standalone CLI/TUI for terminal-first workflows.
Features
- ๐
find_issues โ repo-first language + topic + star-range discovery with scored issue results
- ๐ฉบ
check_repo_health โ merge rate, last commit, CONTRIBUTING/CoC/CI probes โ A-F grade
- โฑ๏ธ
check_issue_status โ assignment, linked PRs, staleness, maintainer confirmation โ AVAILABLE / LIKELY_TAKEN / STALE verdict
- ๐
get_contribution_guide โ pulls and summarises CONTRIBUTING.md, detects toolchain, estimates setup complexity
- Terminal commands via
gfi-scout-cli and an interactive gfi-scout-tui
- โก Parallel GitHub API fan-out (
asyncio.gather) + per-namespace TTL cache for repository search, issue listing, and repo-health probes
- ๐๏ธ All scoring weights and thresholds live in
src/gfi_scout/data/scoring_weights.json โ no magic numbers in code
- ๐งช 100+ tests (unit + integration),
mypy --strict clean, ruff clean
Requirements
| |
|---|
| Python | 3.12+ |
| Package manager | uv (all commands go through uv) |
| Auth | Optional โ works without a token at 60 req/h; a PAT with public_repo scope (read-only) raises it to 5,000 req/h |
Quick start
git clone https://github.com/Rajveerx11/gfi-scout.git
cd gfi-scout
uv sync
cp .env.example .env
uv run gfi-scout
uv run gfi-scout --transport streamable-http --host 127.0.0.1 --port 8000
uv run gfi-scout-cli find python --min-stars 500
uv run gfi-scout-tui
If you only want to run the MCP server / CLI and don't plan to hack on the code, install it once as a global tool. No checkout, no venv to keep around:
uv tool install --force --from git+https://github.com/Rajveerx11/gfi-scout gfi-scout
gfi-scout
gfi-scout-cli find python --min-stars 500
gfi-scout-tui
uv tool install --force --from git+https://github.com/Rajveerx11/gfi-scout gfi-scout
A GITHUB_TOKEN in the environment (or a .env in the directory you run from) is optional โ without one you run at GitHub's unauthenticated 60 requests/hour limit.
Connecting to an MCP client
Claude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"gfi-scout": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/gfi-scout", "gfi-scout"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}
Restart Claude Desktop, then try:
"Find me Python good first issues with at least 500 stars."
"Is this issue actually available? https://github.com/fastapi/fastapi/issues/12345"
"What's the setup complexity for pallets/flask?"
Other clients
Cursor, Windsurf, and VS Code Copilot each support MCP servers โ point them at the same uv run command. Detailed steps in docs/SETUP.md.
See docs/TOOLS_REFERENCE.md for full parameter and return-shape specs.
CLI and TUI
uv run gfi-scout-cli find python --min-stars 500 --max-results 10
uv run gfi-scout-cli health fastapi/fastapi
uv run gfi-scout-cli status https://github.com/fastapi/fastapi/issues/12345
uv run gfi-scout-cli guide pallets/flask
uv run gfi-scout-tui
Every command supports --output json for scripts. See docs/CLI.md.
How scoring works
beginner_score = repo_health ร 0.30
+ issue_freshness ร 0.20
+ issue_clarity ร 0.15
+ merge_friendliness ร 0.25
+ setup_complexity_inv ร 0.10
Every weight and threshold is loaded from src/gfi_scout/data/scoring_weights.json. Want to retune the ranker? Edit the JSON and re-run โ no code changes.
Full breakdown in docs/SCORING_ALGORITHM.md.
Documentation
| Doc | What's in it |
|---|
docs/SETUP.md | Step-by-step install, env vars, client wiring |
docs/AGENT_CONNECTIONS.md | Current MCP connection examples for Codex, Claude Code, Cursor, Antigravity, Pi Agent, and Hermes Agent |
docs/ARCHITECTURE.md | Layering rules, request flow, caching, failure model |
docs/CLI.md | Standalone CLI and terminal UI usage |
docs/TOOLS_REFERENCE.md | Parameters and return schemas for every MCP tool |
docs/SCORING_ALGORITHM.md | How beginner_score is computed and graded |
CONTRIBUTING.md | How to file issues and ship PRs |
SECURITY.md | Responsible-disclosure policy |
docs/CHANGELOG.md | Release notes |
docs/Plan.md | Original spec + phase plan |
Development
uv sync
uv run pytest
uv run ruff check src/ tests/
uv run ruff format src/ tests/
uv run mypy src/
uv run mcp dev src/gfi_scout/server.py
uv.lock is committed โ every contributor gets identical dependency versions.
Project layout
src/gfi_scout/
โโโ server.py # FastMCP entry, tool registration
โโโ cli.py # Standalone CLI + terminal UI
โโโ config.py # Env loading
โโโ runtime.py # Shared cache/client wiring
โโโ tools/ # One file per MCP tool
โ โโโ find_issues.py
โ โโโ check_repo_health.py
โ โโโ check_issue_status.py
โ โโโ get_contribution_guide.py
โโโ services/ # GitHub client, scoring, cache
โโโ models/ # Pydantic models
โโโ utils/ # Pure helpers (validators, rate limiter, logger)
tests/ # mirrors src/ layout
docs/ # markdown docs
scripts/ # dev automation (setup.sh, seed_cache.py)
The scoring config lives inside the package at src/gfi_scout/data/scoring_weights.json so it ships with the installed wheel โ no separate top-level config/ directory. (The runtime settings module gfi_scout/config.py is unrelated; data/ holds JSON, config.py reads env vars.)
Layer rules and folder contracts: docs/ARCHITECTURE.md.
Troubleshooting
scoring config not found: .../Lib/config/scoring_weights.json
You're on an old install (โค v0.1.0) where the scoring config wasn't bundled into the wheel. Fix:
uv tool install --force --from git+https://github.com/Rajveerx11/gfi-scout gfi-scout
If a long-running MCP server process holds the install directory open on Windows (Access is denied during reinstall), stop the host (Claude Desktop / Claude Code / Cursor) or kill the gfi-scout Python process first, then re-run the command.
Results are slow or you hit rate limit exceeded quickly
You're probably running without a token (60 requests/hour). Set GITHUB_TOKEN โ from the environment or a .env file in the working directory โ to get 5,000 requests/hour. For uv tool installs, either export it in your shell profile or set it in the MCP client's env block (see Connecting to an MCP client above).
Contributing
Issues and PRs welcome โ practising what we preach. Start at CONTRIBUTING.md. Good first issues are labelled on the tracker.
By participating you agree to the Code of Conduct.
Security
Found a security issue? Please don't open a public issue โ see SECURITY.md for the disclosure process.
GFI Scout only ever needs public_repo (read-only) scope on your GitHub token.
License
MIT โ because the whole point is helping people contribute to open source.
Built with frustration, then determination. Because finding your first open source contribution shouldn't require a PhD in "how to navigate GitHub."