# Python Code Explorer

> Use this tool when you need to analyze and understand Python codebases, identify import and export relationships, and navigate complex code structures. It solves problems of code comprehension, context limitation, and relationship mapping, providing a comprehensive graph of code references as output. Ideal for AI assistants, it takes in Python code as input and prioritizes relevant sections to stay within token limits.

Canonical page: https://skillsregistry.net/skills/hesiod-au-python-code-explorer  
JSON: https://api.skillsregistry.net/v1/skills/hesiod-au-python-code-explorer

## Description

This Python MCP server extracts and analyzes Python code structures, focusing on import/export relationships between files. It intelligently navigates codebases to identify related files, prioritizes the most relevant code sections to stay within token limits, and automatically includes README files for better context. The implementation features a CodeGrapher class that builds a comprehensive graph of code references, making it ideal for AI assistants that need to understand Python projects holistically without exceeding context windows.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/hesiod-au-python-code-explorer)
- **Repository:** <https://github.com/hesiod-au/python-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hesiod-au-python-code-explorer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hesiod-au-python-code-explorer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hesiod-au-python-code-explorer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
