MCP, MCP server
io.github.FreyaBit/shanghai-library-open-data-mcp
把上海图书馆开放数据平台的 99 个 webapi 接口 + 搜韵诗词库(199 万首,免 token)封装成 12 个 MCP 工具,可接入 WorkBuddy、Cursor、Claude Desktop 等任意 MCP 客户端。
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 707f4fbb464d, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
slc_mcp_server.py, line 85
with urllib.request.urlopen(req, timeout=25) as r: - SECRETS_PATH_DOTENV Low
Mentions a .env file.
slc_mcp_server.py, line 39
"""从脚本同目录的 .env 读取 SLC_API_KEY(仅当环境变量未设置时)。 - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
slc_mcp_server.py, line 35
return (os.environ.get("SLC_API_KEY") or "").strip()
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.
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
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
slc_mcp_server.py, line 85
with urllib.request.urlopen(req, timeout=25) as r:
souyun_poem.py, line 35
with urllib.request.urlopen(req, timeout=25) as r:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
slc_mcp_server.py, line 35
return (os.environ.get("SLC_API_KEY") or "").strip()
slc_mcp_server.py, line 39
"""从脚本同目录的 .env 读取 SLC_API_KEY(仅当环境变量未设置时)。
slc_mcp_server.py, line 40
纯标准库实现,零第三方依赖;.env 已被 .gitignore 忽略,不会入库泄露。"""
Show more
slc_mcp_server.py, line 42
env_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), ".env")
slc_mcp_server.py, line 43
if not os.path.isfile(env_path) or os.environ.get("SLC_API_KEY"):
slc_mcp_server.py, line 71
额外支持脚本同目录 .env 文件作为本地 Key 来源。"""
.gitignore, line 6
*.pem
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 707f4fbb464d. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 707f4fbb464d1748b3a0da5b7ab0d70d256243ea
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.