Bird species identification MCP server — YOLO detection + ConvNeXt classification, Top5 output
Project description
bird-id-mcp
Bird species identification MCP server. YOLO detection + ConvNeXt classification, outputs Top-5 species with confidence and Chinese names.
Install & Run
# Run directly with uvx (auto-installs)
uvx bird-id-mcp
# Or install from git
pip install git+https://github.com/Hakureirm/bird-id-mcp.git
bird-id-mcp
Models are automatically downloaded from HuggingFace on first run (~50MB default).
Model Selection
| Model | Size | Speed (x86 1T) | Accuracy |
|---|---|---|---|
| S1v2 (default) | 37MB | ~150ms | Good |
| ConvNeXt | 144MB | ~600ms | Best |
Default is S1v2 (fast + small). To use ConvNeXt:
BIRD_ID_CLS_MODEL=convnext uvx --from git+https://github.com/Hakureirm/bird-id-mcp.git bird-id-mcp
Claude Desktop / Agent Config
{
"mcpServers": {
"bird-id": {
"command": "uvx",
"args": ["bird-id-mcp"]
}
}
}
Tools
identify_bird
Identify bird species from an image file path.
Input: {"image_path": "/path/to/bird.jpg", "topk": 5}
Output: {
"detections": 1,
"detection_confidence": 0.92,
"bbox": {"x1": 100, "y1": 50, "x2": 400, "y2": 350},
"results": [
{"rank": 1, "species": "Little Egret", "species_cn": "白鹭", "confidence": 78.5},
{"rank": 2, "species": "Snowy Egret", "species_cn": "雪鹭", "confidence": 12.3},
...
]
}
identify_bird_base64
Same as above but accepts base64-encoded image data.
Models
- Detection: YOLOv8 bird detector (12MB ONNX)
- Classification: S1v2 (37MB, default) or ConvNeXt-Tiny (144MB), 10,753 bird species
- Taxonomy: eBird species info — scientific name, family, order, description
- Inference: ONNX Runtime CPU only, no GPU required
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 bird_id_mcp-0.1.0.tar.gz.
File metadata
- Download URL: bird_id_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9445f99608284d9d79f4231dc07573fd09def8261206c163029a915cfd84eaa
|
|
| MD5 |
b2980c4aab935a3270b56b9a325bfa74
|
|
| BLAKE2b-256 |
71428fbe413b02bfca69f4a5a30fbc8a58216a351d0db681ca1c72c4cb757930
|
File details
Details for the file bird_id_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bird_id_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8578b85d749812ac513600397403a779305cfeba9fcf59b128fdcfafd5b8be
|
|
| MD5 |
4c103da543abf39aea95573428d4ba61
|
|
| BLAKE2b-256 |
3bfb5d03b546c7f87e588b1ab474bc3ed79fb0b8845a9bfbccc2bd46ebc6bfb0
|