MCP resources
The server lists 10 resources and 2 resource templates.
An agent can read every rule and every skill of xpd as a resource. A client can ask the server to
complete the package and rule parts of a template, so the user picks a value from a list
while typing. The server offers only the rules of the package that is already chosen, so rule
with the text chained in the pandas pack completes to chained-assignment.
xpd://rules
Section titled “xpd://rules”| URI | Name | Type | Description |
|---|---|---|---|
xpd://rules |
rules | application/json |
Every rule and package check of xpd, without their documentation. |
Meant for the agent.
Every rule as a JSON list, with the same fields as xpd rules --format json and without doc.
It lists the project's own rules as well, and reads them again after the project's
sgconfig.yml, xpd.yml or a rule file has changed.
xpd://version
Section titled “xpd://version”| URI | Name | Type | Description |
|---|---|---|---|
xpd://version |
version | text/plain |
The version of the xpd binary that this server runs. |
Meant for the user and the agent.
The resource holds the installed xpd version and nothing else.
skill://python-best-practices/
Section titled “skill://python-best-practices/”| URI | Name | Type | Description |
|---|---|---|---|
skill://python-best-practices/SKILL.md |
python-best-practices/SKILL.md | text/markdown |
Write clear, typed, maintainable Python. Use whenever you write, change, refactor, debug, or explain Python code: modules, functions, classes, type hints, dataclasses, errors, comprehensions, imports, pyproject.toml, or scripts. Trigger on Python, .py files, uv, ruff, type checkers, pandas, or notebooks turned into modules, even without the words "best practices". |
skill://python-best-practices/_manifest |
python-best-practices/_manifest | application/json |
File listing for python-best-practices |
The Python style skill, which holds the style that a linter cannot check.
skill://python-review/
Section titled “skill://python-review/”| URI | Name | Type | Description |
|---|---|---|---|
skill://python-review/SKILL.md |
python-review/SKILL.md | text/markdown |
Review existing Python code for correctness, types, errors, module design, readability, and maintainability, and write a prioritized report where every finding cites the rule it breaks and shows the fix. Use for a review, audit, critique, grade, or check of a .py file, package, project, diff, or pull request, or when the user asks what is wrong with their Python or how to make it cleaner, even if they don't say "review". |
skill://python-review/assets/review-template.md |
python-review/assets/review-template.md | text/markdown |
|
skill://python-review/_manifest |
python-review/_manifest | application/json |
File listing for python-review |
The Python review skill, with the template of the review report.
skill://xpd/
Section titled “skill://xpd/”| URI | Name | Type | Description |
|---|---|---|---|
skill://xpd/SKILL.md |
xpd/SKILL.md | text/markdown |
Python library habits: run xpd to lint code for slow or wrong use of libraries such as pandas and NumPy, profile data files, and prove refactors are equivalent. |
skill://xpd/_manifest |
xpd/_manifest | application/json |
File listing for xpd |
The skill that xpd skill prints. Each skill's _manifest lists its files with their size and
SHA-256 hash, and clients that support the Skills extension list the skills.
| URI | Name | Type | Description |
|---|---|---|---|
ui://prefab/renderer/d3fc8f3feb740ac6c6f4440a7f161de958f5f7d86645fa704b90891ddedac012/renderer.html |
Prefab Renderer | text/html;profile=mcp-app |
The page that draws the views of the show_issues, show_dataflow and show_columns tools in
hosts that render MCP Apps. Its address holds a hash of the renderer, so it changes when the
renderer changes. It loads its scripts from cdn.jsdelivr.net.
xpd://rules/{package}
Section titled “xpd://rules/{package}”A resource template. Fill in the parts in braces to read one resource.
| URI | Name | Type | Description |
|---|---|---|---|
xpd://rules/{package} |
pack-rules | application/json |
The rules of one pack, such as xpd://rules/pandas, without their documentation. |
Meant for the agent.
The rules of one pack, such as xpd://rules/pandas, as a JSON list.
xpd://rules/{package}/{rule}
Section titled “xpd://rules/{package}/{rule}”A resource template. Fill in the parts in braces to read one resource.
| URI | Name | Type | Description |
|---|---|---|---|
xpd://rules/{package}/{rule} |
rule-doc | text/markdown |
One rule's documentation, such as xpd://rules/pandas/chained-assignment. |
Meant for the agent.
One rule's documentation as Markdown, the same text as its rule page and the
doc that xpd rules prints. xpd://rules/pandas/no-inplace starts like this.
`inplace=True` gives no speedup and keeps the call out of a method chain. Assign the result instead.
```diff lang="python"-df.dropna(inplace=True)+df = df.dropna()```