modelcontextprotocol-python-sdk-context

modelcontextprotocol-python-sdk-context is a skill for Claude Code from nick-railsback/skill-engine. It costs 116 tokens per session (2,443 once invoked), scanned A, original, MIT.

A reference navigator for the official Model Context Protocol Python SDK. MCP is a standard way for AI applications to connect to tools and data, and the navigator covers the SDK’s stable version and its developing version 2 APIs.

In plain words
What is it for?
Use it when building or debugging MCP servers or clients in Python, answering SDK usage questions, or planning a version 1 to version 2 migration.
Why use it?
It helps resolve SDK questions against specific source references, including differences between version 1 and version 2.

Skill for Claude Code

Written for Claude Code: $CLAUDE_SKILL_DIR variable. Also seen: mentions Claude Code; mentions AGENTS.md.

Good fit Use it when building or debugging MCP servers or clients in Python, answering SDK usage questions, or planning a version 1 to version 2 migration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nick-railsback/skill-engine --skill modelcontextprotocol-python-sdk-context
Clone the repo
git clone --depth 1 https://github.com/nick-railsback/skill-engine

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 modelcontextprotocol-python-sdk-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context/github.svg)](https://agentmods.dev/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context)
Your own site
<a href="https://agentmods.dev/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context/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 modelcontextprotocol-python-sdk-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/modelcontextprotocol-python-sdk-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,443 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.00116 $0.02443
Opus 5.5 $0.00046 $0.00977
Sonnet 5.5 $0.00023 $0.00489
Haiku 4.5 $0.00012 $0.00244

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

Security

Grade A, and why

modelcontextprotocol-python-sdk-context 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

examples/modelcontextprotocol-python-sdk-context/SKILL.md · 90 lines

How it starts

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

Context navigator

Overview

This navigator catalogs references for the official MCP Python SDK at GitHub SHA 3eb579948a4719d606d2adbd1f3f69371c9c0f48 (HEAD of main on 2026-05-26). HEAD is v2 pre-alpha; the current stable release lives on the v1.x branch and uses the older FastMCP / camelCase / decorator-based APIs. All references in this contextualizer document v2 syntax — if you have v1 code in front of you, start with the migration reference.

When asked a question this navigator's domain covers:

  1. Scan the Catalog below for the matching topic.
  2. Follow the link to read the reference file.
  3. If the question spans multiple references, consult the Cross-reference map.
  4. If a reference points at a source URL for deeper detail, follow it only if the reference itself didn't answer the question.

Claims policy

Cite by default, and make load-bearing claims verifiable:

  1. Inline-cite every load-bearing claim with its SHA-pinned permalink — the https://github.com/<owner>/<repo>/blob/<sha>/<path>#L<start>-L<end> link the reference gives for that fact (versions, defaults, signatures, deprecations, behavior a user could get wrong by guessing). Put the permalink inline, on the claim. Use a bare filename parenthetical (e.g. (reference-name.md)) only when the reference genuinely provides no permalink. This inline permalink is what the grounded-citation eval (SELF-AUDIT Check 8) grades.
  2. Don't cite orientational prose — "what is X?", "when did X launch?" — answer those from this navigator alone; opening a reference is itself a citation gesture.
  3. End with a one-line provenance footer, emitted italic, formatted *References consulted: foo.md, bar.md. Grounded in {{LIBRARY}}@{{VERSION}} — [reference index]({{INDEX_URL}}).* The footer is a summary of what you read — not a substitute for the inline permalinks on the claims. The {{LIBRARY}} / {{VERSION}} / {{INDEX_URL}} tokens are agent-substituted at answer time, so they appear literally in the stamped SKILL.md.
  4. If no reference was opened, say so in the footer ("Answered from general knowledge — no {{LIBRARY}} references consulted") — never fake it.

Read the full file on GitHub · 90 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. 1mo ago First seen · 90 lines · 116 tokens per session scan A 84f2e5960927

Subscribe to this mod's changes

modelcontextprotocol-python-sdk-context is a skill published in the GitHub repository nick-railsback/skill-engine (2 stars, last pushed 3d ago), licensed MIT. It adds 116 tokens to every session and 2,443 once invoked, about $0.0005 per session on Opus 5.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.

Related

Other skills, from other repositories

string-algorithms

Reference for string algorithm patterns — KMP, Z-function, Rabin-Karp, Manacher's, string hashing, suffix arrays, and Aho-Corasick. Covers recognition signals, core ideas, Python templates, edge cases, and common mistakes for each technique.

sequenzia/agent-alchemy · 59 tokens

code-mentor

Comprehensive AI programming tutor offering interactive lessons, code reviews, debugging help, algorithm practice, and project guidance for Python and JavaScript. Triggers when users ask to learn a language, debug code, review their work, practice algorithms, prepare for interviews, or build a project.

serejaris/kimi-skills · 60 tokens

python-syntax-tutor

A Python syntax tutor that explains unfamiliar language features in the code where they appear. Python is a programming language; examples include decorators, async code, generators, and type hints.

SWHee/diffscope · 238 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

developing-genkit-python

Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit errors, import issues, or API problems.

google/skills · 49 tokens

gh-address-comments

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

foryourhealth111-pixel/Vibe-Skills · 39 tokens