Yellhorn MCP server uses Gemini 2.5 pro to generate detailed work plans and review pull requests.
Project description
Yellhorn MCP
A Model Context Protocol (MCP) server that exposes Gemini 2.5 Pro capabilities to Claude Code for software development tasks.
Features
- Generate Work Plans: Creates GitHub issues with detailed implementation plans based on your codebase
- Review Code Diffs: Evaluates pull requests against the original work plan and provides feedback
- Seamless GitHub Integration: Automatically creates issues, posts reviews as PR comments, and handles asynchronous processing
Installation
# Install from PyPI
pip install yellhorn-mcp
# Install from source
git clone https://github.com/msnidal/yellhorn-mcp.git
cd yellhorn-mcp
pip install -e .
Configuration
The server requires the following environment variables:
GEMINI_API_KEY: Your Gemini API key (required)REPO_PATH: Path to your repository (defaults to current directory)YELLHORN_MCP_MODEL: Gemini model to use (defaults to "gemini-2.5-pro-exp-03-25")
The server also requires the GitHub CLI (gh) to be installed and authenticated.
Usage
Running the server
# As a standalone server
yellhorn-mcp --repo-path /path/to/repo --host 127.0.0.1 --port 8000
# Using the MCP CLI
mcp dev yellhorn_mcp.server
# Install as a permanent MCP server for Claude Desktop
mcp install yellhorn_mcp.server
# Set environment variables during installation
mcp install yellhorn_mcp.server -v GEMINI_API_KEY=your_key_here -v REPO_PATH=/path/to/repo
Integration with Claude Code
When working with Claude Code, you can use the Yellhorn MCP tools by:
-
Starting a project task:
Please generate a work plan for implementing [your task description] -
Reviewing your implementation:
Please review my changes against the work plan from [GitHub issue URL]
Tools
generate_work_plan
Creates a GitHub issue with a detailed work plan based on the task description and your codebase.
Input:
task_description: Description of the task to implement
Output:
issue_url: URL to the created GitHub issue
review_work_plan
Reviews a pull request against the original work plan and provides feedback. Works with GitHub URLs for both the work plan issue and the PR.
Input:
work_plan_issue_url: GitHub issue URL containing the work planpull_request_url: GitHub PR URL containing the changes to reviewctx: Server context
Output:
- Asynchronously posts a review directly to the PR
Development
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
For more detailed instructions, see the Usage Guide.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yellhorn_mcp-0.1.0.tar.gz.
File metadata
- Download URL: yellhorn_mcp-0.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58f5db3e5027014c3acd99fedc64d1b5719f43303f1cdce55e419d68711433b3
|
|
| MD5 |
a5bb811a1b2a5a4925f6f043d5f4a53d
|
|
| BLAKE2b-256 |
dad25ca8eec215f9f3f6b7d78f0e517cbcddb9c1d29cb17bde0da8e8bc5878b6
|
File details
Details for the file yellhorn_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yellhorn_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24ff7f60908498d00e59cd8c01baeb6dd556612471a5a8d949c24c81fe3e96fa
|
|
| MD5 |
a569bb4459165dbee822d6b7ee05b8c9
|
|
| BLAKE2b-256 |
e1e4934f0a43446589f7c398c199b08356d5d7af6f55fd2c1431af2cf8432207
|