Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Package Docs MCP server

by sammcj/mcp-package-docsMIT licenceAudited 7 Oct 2026 · source d0854ef6997c

npm mcp-package-docs 0.1.28stdio★ 79
✕BLOCKGrade D · 66/100 · 7 Oct 2026 · d0854ef

Is it safe? No — BLOCK, grade D (66/100). It exposes 13 tools: 13 read, 0 write and 0 destructive. The audit recorded 5 findings (0 critical, 3 high, 1 medium, 1 low). Maintainer's description: An MCP server that provides LLMs with efficient access to package documentation across multiple programming languages

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Package Docs MCP server (sammcj/mcp-package-docs)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sammcj/package-docs

Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Code injection at src/lsp/typescript-lsp-client.ts:34. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score66/100✕BLOCK D
0 critical3 high1 medium1 low0 info

5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellDeclared3 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (5)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:34
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
await exec(`where ${command}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:37
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
await exec(`which ${command}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:50
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
await exec(`npm install --no-save ${packageName}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInformation disclosuredisclose.log_secret · src/registry-utils.ts:96
F-12 Information disclosureCWE-209 · CWE-532Layer L1
this.logger.debug(`Setting config for scope ${scope}:`, { registry, token: token ? "[REDACTED]" : undefined });
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, typescript-language-server, vscode-languageserver-protocol, @types/node, prettier
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

13 declared in source · 0 destructive

13 read0 write0 destructive
ToolWhat it doesRisk
describe_go_packageGet a brief description of a Go packageread
describe_npm_packageGet a brief description of an NPM packageread
describe_python_packageGet a brief description of a Python packageread
describe_rust_packageGet a brief description of a Rust packageread
describe_swift_packageGet a brief description of a Swift packageread
get_completionsGet completion suggestions for a position in a document using Language Server Protocolread
get_diagnosticsGet diagnostic information for a document using Language Server Protocolread
get_hoverGet hover information for a position in a document using Language Server Protocolread
get_npm_package_docGet full documentation for an NPM packageread
lookup_go_doc[DEPRECATED] Use describe_go_package instead. Get a brief description of a Go packageread
lookup_npm_doc[DEPRECATED] Use describe_npm_package instead. Get a brief description of an NPM packageread
lookup_python_doc[DEPRECATED] Use describe_python_package instead. Get a brief description of a Python packageread
search_package_docsSearch for symbols or content within package documentationread

Safer alternatives

Audit history

  1. ✕BLOCK D 66 / 100

    First audit · d0854ef6997c

Questions about Package Docs MCP server

What is the Package Docs MCP server?
An MCP server that provides LLMs with efficient access to package documentation across multiple programming languages
What tools does Package Docs expose?
13 in total: 13 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Package Docs safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (66/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Package Docs need?
No credential environment variables were found in its source, so it appears to need none.
How does Package Docs run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-package-docs at 0.1.28.
How current is this page?
The grade is for one exact copy of the source (d0854ef6997c), read on 2026-10-07. The repository is watched and re-audited when it changes.
I already installed Package Docs. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • sammcj/mcp-package-docs on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit d0854ef6997cObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.