mcp-server-langgraph: Command for Claude Code

.claude/commands/type-safety-status.md

type-safety-status is a command for Claude Code from vishnu2kmohan/mcp-server-langgraph. It costs 20 tokens per session (3,584 once invoked), scanned A, original, MIT.

A status tracker for gradually enabling strict mypy checks across a Python project. Mypy checks whether code uses compatible types before it runs.

In plain words
What is it for?
Use it to inspect mypy settings, count strict modules, run type checks, group errors by file or code, and track migration toward full coverage.
Why use it?
It shows which modules already meet strict type-checking rules, what errors remain, and where the rollout needs work.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is vishnu2kmohan/mcp-server-langgraph's own configuration. It tells Claude Code how to work on mcp-server-langgraph 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-server-langgraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vishnu2kmohan/mcp-server-langgraph. 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/vishnu2kmohan/mcp-server-langgraph/main/.claude/commands/type-safety-status.md
Clone the repo
git clone --depth 1 https://github.com/vishnu2kmohan/mcp-server-langgraph

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 type-safety-status

README.md
[![agentmods](https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/type-safety-status.svg)](https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/type-safety-status)
Your own site
<a href="https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/type-safety-status"><img src="https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/type-safety-status.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,584 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.00020 $0.03584
Opus 5 $0.00010 $0.01792
Sonnet 5 $0.00004 $0.00717
Haiku 4.5 $0.00002 $0.00358

Measured 8d ago against content hash 6831fd16e3df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

type-safety-status 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 8d 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/type-safety-status.md · 399 lines

How it starts

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

Type Safety Status Tracker

You are tasked with tracking the mypy strict type checking rollout progress for the mcp-server-langgraph project. This command helps manage the gradual migration to full type safety.

Project Type Safety Context

Current Status: 3/11 core modules with strict mypy Target: 11/11 modules with strict type checking Strategy: Gradual rollout, module by module Tool: mypy with strict mode

Strict Mode Benefits:

  • Catch type errors before runtime
  • Better IDE autocomplete
  • Self-documenting code
  • Easier refactoring

Your Task

Step 1: Analyze Current mypy Configuration

  1. Read mypy configuration:

    # Check mypy config
    cat pyproject.toml | grep -A 20 "\[tool.mypy\]"
    
  2. Identify strict modules: Look for [[tool.mypy.overrides]] sections with strict = true

  3. Count total modules:

    find src/mcp_server_langgraph -name "*.py" -type f | wc -l
    

Step 2: Run mypy Analysis

  1. Run mypy on all code:

    uv run --frozen mypy src/mcp_server_langgraph --show-error-codes --pretty
    
  2. Parse mypy output:

    • Count total errors
    • Group by error code
    • Group by file
    • Identify patterns
  3. Run mypy with strict on non-strict modules:

    uv run --frozen mypy src/mcp_server_langgraph/<module>.py --strict --show-error-codes
    

Step 3: Generate Type Safety Dashboard

Dashboard Format:

╔══════════════════════════════════════════════════════════════════╗
║              TYPE SAFETY STATUS                                  ║
║              mcp-server-langgraph                                ║
╠══════════════════════════════════════════════════════════════════╣
║  Strict Modules:     3/11  [███░░░░░░░░░░░░░░░░░░░]  27%        ║
║  Target:            11/11  [████████████████████████]  100%      ║
║  Progress:            +8   [⚠️  8 modules remaining]             ║
║  mypy Errors:         47   [🔴 Need fixing before strict]        ║
║  Error Types:          9   [Most common: type-arg, no-untyped]  ║
╠══════════════════════════════════════════════════════════════════╣
║  Trend:               📈   [+1 module/sprint]                    ║
║  ETA to Full Strict: 8wk   [At current pace]                    ║
╚══════════════════════════════════════════════════════════════════╝

Read the full file on GitHub · 399 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. 8d ago First seen · 399 lines · 20 tokens per session scan A 6831fd16e3df

Subscribe to this mod's changes

type-safety-status is a command published in the GitHub repository vishnu2kmohan/mcp-server-langgraph (4 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 3,584 once invoked, about $0.0001 per session on Opus 5. 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-31.