Skip to content
BEAD

JSONPath Tester

Query JSON with JSONPath expressions and see the results live.

2 matches
[
  "Sayings of the Century",
  "Moby Dick"
]

🔒 Queries run entirely in your browser.

</>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/jsonpath-tester/run \
  -H "Content-Type: application/json" \
  -d '{
  "json": "{\"a\":1}",
  "path": "/tmp/example"
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/jsonpath-tester/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "json": "{\"a\":1}",
  "path": "/tmp/example"
}),
});
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_jsonpath_tester

Full reference: developer docs · OpenAPI spec

Supported syntax

  • $ — root
  • .name or ['name'] — child key
  • [0], [-1] — array index (negative counts from the end)
  • [0:5], [::2] — array slice with optional step
  • * — wildcard over object values or array items
  • .. — recursive descent
  • [?(@.price < 10)] — filter expression (only @, basic comparisons, &&, ||, ===, !==, <, >, <=, >=, +, -, *, /, parentheses)

Multiple results are returned in document order. Filter expressions are evaluated in a sandbox limited to a single @ variable.

You might also like