Skip to content
BEAD

Cargo.toml Parser

Parse Rust Cargo manifests — package, dependencies (with features), dev/build deps, features, workspace.

Package
my-app
Version
0.1.0
Edition
2021
License
MIT
Dependencies
4
Dev deps
2
Dependencies (4)
CrateVersionFeaturesFlags
serde1.0derive
serde_json1.0
tokio1.36full
reqwest0.12rustls-tls, jsonno-default-features
Dev-dependencies (2)
CrateVersionFeaturesFlags
mockito1.4
proptest1.4
Build-dependencies (1)
CrateVersionFeaturesFlags
prost-build0.12
Features
defaultjson
json(empty)
xmldep:quick-xml
Workspace
members: crates/*
</>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/cargo-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/cargo-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_cargo_toml_parser

Full reference: developer docs · OpenAPI spec

What we parse

[package] metadata, [dependencies] / [dev-dependencies] / [build-dependencies] with both shorthand (name = "1.0") and detailed ({ version = "1.0", features = ["foo"] }) forms,[features], and [workspace].

Note

This is a focused subset parser optimized for Cargo.toml. It handles the shapes that show up in real manifests but doesn't implement every TOML edge case.

You might also like