MCP, MCP server
Mlb Mcp
A Python project that creates a Model Context Protocol (MCP) server for accessing MLB statistics data through the MLB Stats API and pybaseball library for statcast, fangraphs, and baseball reference statistics.
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 064a6f57dc09, unchanged since the check below.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
.github/workflows/test.yml, line 21
curl -LsSf https://astral.sh/uv/install.sh | sh
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Serious
install fetches a script from the network. README documents an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
README.md, line 33
curl -LsSf https://astral.sh/uv/install.sh | sh
.github/workflows/test.yml, line 21
curl -LsSf https://astral.sh/uv/install.sh | sh
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
mlb_stats_mcp/utils/scripts/data_download.py, line 43
with urllib.request.urlopen(request, context=ssl_context) as response:
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
mlb_stats_mcp/server.py, line 27
# Load environment variables from .env file
mlb_stats_mcp/utils/logging_config.py, line 13
# Load environment variables from .env file. Nothing here may write to stdout:
mlb_stats_mcp/utils/logging_config.py, line 16
env_path = Path(__file__).parent.parent.parent / ".env"
Show more
.dockerignore, line 49
# Development files
.dockerignore, line 50
.env.local
.dockerignore, line 51
.env.development
.gitignore, line 23
# Virtual Environment
.gitignore, line 37
.uv/ .env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 064a6f57dc09. install fetches a script from the network. README documents an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 064a6f57dc09c2228c6008856947f479248552b8
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.