package.json Validator
Validate npm package.json — name, SemVer, scripts, dependencies, license, engines. Preview scripts.
Errors
0
Warnings
0
Status
Valid
Scripts
| npm run dev | next dev | |
| npm run build | next build | |
| npm run test | vitest |
</>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/package-json-validator/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/package-json-validator/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_package_json_validatorFull reference: developer docs · OpenAPI spec
What we check
name— present, valid npm-package-name rulesversion— SemVer 2.0.0main/module/exports— string or object shapescripts— string valuesdependencies/devDependencies/peerDependencies— valid SemVer ranges, tag, or URLlicense— SPDX identifier (warning only if unrecognized)engines— SemVer ranges
Script preview
See every scripts entry at a glance with a one-click copy to paste into your terminal.
You might also like
- .gitignore BuilderPick languages, frameworks, build tools, editors and OS — get a deduped .gitignore.
- composer.json ValidatorValidate PHP Composer manifests — name, require, autoload, license, stability.
- JS / Node Stack Trace ParserParse V8 and Firefox stack traces into structured frames — function, file, line, column.
- SemVer CompareCompare two SemVer 2.0.0 versions — get direction (upgrade / downgrade / equal) and the diff kind.