Skip to main content

MCP server that finds open source issues where beginners actually succeed

Project description

GFI Scout

gfi-scout Demo

An MCP server and standalone CLI that finds open source issues where beginners actually succeed โ€” not just any issue tagged good first issue.

CI Python 3.12+ License: MIT Built with uv MCP Code style: ruff

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

# Clone
git clone https://github.com/Rajveerx11/gfi-scout.git
cd gfi-scout

# Install uv (skip if you have it)
# macOS / Linux:        curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell): irm https://astral.sh/uv/install.ps1 | iex

# Install dependencies (creates .venv automatically)
uv sync

# Optional: add a GitHub token (60 req/h without one, 5,000 req/h with)
cp .env.example .env
# edit .env and paste your GitHub token

# Run the MCP server (stdio transport)
uv run gfi-scout

# Or expose a local Streamable HTTP MCP endpoint
uv run gfi-scout --transport streamable-http --host 127.0.0.1 --port 8000

# Or use the standalone CLI/TUI
uv run gfi-scout-cli find python --min-stars 500
uv run gfi-scout-tui

Install as a global uv tool

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:

# Install (or update) directly from GitHub
uv tool install --force --from git+https://github.com/Rajveerx11/gfi-scout gfi-scout

# Then the binaries are on $PATH:
gfi-scout                # MCP server (stdio)
gfi-scout-cli find python --min-stars 500
gfi-scout-tui

# Upgrade later:
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.


MCP tools

Tool What it does
find_issues Repo-first, scored search for beginner-friendly issues
check_repo_health A-F grade for a repository's contributor-friendliness
check_issue_status Is this specific issue actually available to work on?
get_contribution_guide Pulls + summarises CONTRIBUTING.md / README setup

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                              # install everything
uv run pytest                        # 96 tests in ~2 s
uv run ruff check src/ tests/        # lint
uv run ruff format src/ tests/       # format
uv run mypy src/                     # strict type-check
uv run mcp dev src/gfi_scout/server.py  # MCP Inspector

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."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gfi_scout-0.2.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gfi_scout-0.2.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file gfi_scout-0.2.0.tar.gz.

File metadata

  • Download URL: gfi_scout-0.2.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gfi_scout-0.2.0.tar.gz
Algorithm Hash digest
SHA256 78185bee7209cad42fc2975d32fc1a1c56c70125a55b0fcf73b9a89488b01667
MD5 3d4918c232c79bd5f6ea5087d837a147
BLAKE2b-256 342c65a2f8dea72e85e3b37d61fbc265b49b0fc72ce2fd52f0bc9fe0cab0aa14

See more details on using hashes here.

File details

Details for the file gfi_scout-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gfi_scout-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gfi_scout-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 009cc5433da1d540b3bd0b78e04a862dfba898b7e8ff6b29900c920200a317e9
MD5 cb7993e8fc19046f9e180969affd85e2
BLAKE2b-256 01a403d4bd52701daa94a7df4a60f2449ceee253bafd427349b4a992d90d8113

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page