list_peps
List active Python Enhancement Proposals (PEPs) with compact metadata to track Python language development and proposals.
Instructions
List active Python PEPs with compact metadata.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/pep_mcp_server/server.py:13-16 (handler)Tool handler registration and implementation for `list_peps`.
@mcp.tool async def list_peps() -> list[dict]: """List active Python PEPs with compact metadata.""" return await peps_client.list_active_peps() - Implementation logic for `list_peps` inside the PepsClient helper.
async def list_active_peps(self) -> list[dict[str, Any]]: """Return compact metadata for active PEPs only.""" index = await self._get_index() return self._to_compact_active_list(index)