mcp-devtools: Command for Claude Code

.claude/commands/review-context7-updates.md

review-context7-updates is a command for Claude Code from sammcj/mcp-devtools. It costs 0 tokens per session (911 once invoked), scanned A, original, Apache-2.0.

A review command for comparing a package's documentation tool with newer changes in the official Context7 server. Context7 is a service that provides library and package documentation to coding tools.

In plain words
What is it for?
Use it to inspect the repository documentation and implementation, compare them with the Context7 server, and decide which new features or changes are worth reproducing.
Why use it?
It helps identify documentation features or improvements that the package's own tool may be missing, without starting the review without first understanding the relevant code.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is sammcj/mcp-devtools's own configuration. It tells Claude Code how to work on mcp-devtools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-devtools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sammcj/mcp-devtools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sammcj/mcp-devtools/main/.claude/commands/review-context7-updates.md
Clone the repo
git clone --depth 1 https://github.com/sammcj/mcp-devtools

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-context7-updates

README.md
[![agentmods](https://agentmods.dev/badge/commands/sammcj/mcp-devtools/review-context7-updates/github.svg)](https://agentmods.dev/commands/sammcj/mcp-devtools/review-context7-updates)
Your own site
<a href="https://agentmods.dev/commands/sammcj/mcp-devtools/review-context7-updates"><img src="https://agentmods.dev/badge/commands/sammcj/mcp-devtools/review-context7-updates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-context7-updates

Your own site · 80×15
<a href="https://agentmods.dev/commands/sammcj/mcp-devtools/review-context7-updates"><img src="https://agentmods.dev/badge/commands/sammcj/mcp-devtools/review-context7-updates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 911 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00911
Opus 5.5 $0.00000 $0.00364
Sonnet 5.5 $0.00000 $0.00182
Haiku 4.5 $0.00000 $0.00091

Measured 2mo ago against content hash 9a26643f38fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-context7-updates scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/review-context7-updates.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

My package documentation tool provides context7 functionality so you don't have to use the official context7 mcp server as well.

There were some updates to the official context7 mcp server since I last looked and it and I'd like to task you with determining if any new features or improvements were added to it that we should consider replicating in our package-documentation tool.

The official context7 server is located at: $HOME/git/mcp/context7 (you may need to do a git pull to get the latest changes) Your package documentation tool is located at: $HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/

Key Files to Review

Your Implementation:

  • $HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/client.go - API client and HTTP operations
  • $HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/resolve_library_id.go - Library ID resolution tool
  • $HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/get_library_documentation.go - Documentation fetching tool

Context7 Reference:

  • $HOME/git/mcp/context7/src/index.ts - Main MCP server implementation
  • $HOME/git/mcp/context7/src/lib/api.ts - API client and HTTP operations
  • $HOME/git/mcp/context7/src/lib/types.ts - Type definitions
  • $HOME/git/mcp/context7/src/lib/utils.ts - Utility functions
  • $HOME/git/mcp/context7/src/lib/encryption.ts - Security/encryption features (if exists)
  • Also check to see there's no other new files added since the last check that may be relevant

Please first review my package documentation tool to understand its capabilities, then review the changes in context7 to see if there are any gaps. If there are gaps or improvements we should look at please provide a summary and list of them here for me to consider, if we should implement them, and if so how we should do it ensuring we align with my projects existing code, patterns and configuration.


<EXAMPLE_SUMMARY note="Do not modify this section">

Changes since 479473a to 784ef42 (current) in context7:

  • Proxy Support, new proxy support was added to context7 allowing it to work in enterprise environments
  • Trust Score Prioritisation, context7 now allows prioritising sources based on trust scores using github stars and other metrics
  • Client IP Encryption, context7 added support for encrypting client IPs for privacy
  • HTTP Transport, context7 mcp server added support for HTTP transport in addition to STDIO
  • Auth Headers, context7 added support for more complex authentication headers for various auth schemes

Recommendation

Implement:

  1. ✅ Proxy Support - Aligns with your enterprise-focused architecture
  2. ✅ Trust Score Prioritisation - Simple text changes
  3. ✅ Source Header - One line addition

Skip:

  1. ❌ Client IP Encryption - Adds complexity without clear benefit for your use case
  2. ❌ HTTP Transport - Your tool focuses on STDIO MCP integration
  3. ❌ Complex Auth Headers - Your current auth handling is sufficient

Implementation Steps (if approved):

  • Add proxy configuration options to , ensuring we follow existing config patterns, e.g.
  • ....

</EXAMPLE_SUMMARY>


Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 81 lines · 0 tokens per session scan A 9a26643f38fa

Subscribe to this mod's changes

review-context7-updates is a command published in the GitHub repository sammcj/mcp-devtools (162 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 911 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

review-context7-updates compared with commands from other repositories

review-context7-updates next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-context7-updatessammcj/mcp-devtoolsCommand162yesterdayApache-2.0A0Claude Code
compact-prepsammcj/agentic-codingCommand1682d agoApache-2.0A30Claude Code
executesimonrowland/goal-flightCommand209d agoMITA22Claude Code
initsimonrowland/goal-flightCommand209d agoMITA24Claude Code
updatesimonrowland/goal-flightCommand209d agoMITA25Claude Code
doctorsimonrowland/goal-flightCommand209d agoMITA18Claude Code
resumesimonrowland/goal-flightCommand209d agoMITA22Claude Code