Skip to content
BEAD

pyproject.toml Parser

Parse Python pyproject.toml — project metadata, dependencies, optional groups, build system, tool sections.

Name
my-package
Version
1.2.3
Python
>=3.10
Dependencies
3
Optional groups
2
Build backend
hatchling.build
Dependencies (3)
  • requests>=2.32
  • pydantic>=2.6
  • fastapi>=0.110,<1.0
Optional dependency groups
dev (2)
  • pytest>=8.0
  • ruff>=0.4
docs (1)
  • sphinx>=7.0
[tool.*] sections
tool.ruff 2 keystool.ruff.lint 2 keystool.mypy 2 keys
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/pyproject-toml-parser/run \
  -H "Content-Type: application/json" \
  -d '{
  "input": "your input here"
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/pyproject-toml-parser/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_pyproject_toml_parser

Full reference: developer docs · OpenAPI spec

What we parse

[project] metadata, dependencies (PEP 621 list form and Poetry table form), optional dependency groups, build-system backend, and tool-specific tables like [tool.poetry], [tool.ruff], [tool.mypy].

Note

Focused TOML parser like our Cargo.toml tool — covers the shapes that show up in real-world pyproject.toml files.

You might also like