Check a JWT: read its claims and verify it with a JWKS
jwt_decodeDecodes a JWT (up to 16 KB): header, payload, registered claims as ISO dates, expired and not-yet-valid flags, algorithm and signature length. With jwksUrl (public https) the signature is checked with WebCrypto for RS, PS and ES algorithms against the matching key. 'none' is never accepted; HMAC needs the secret. Tokens are secrets: this tool does not store or log them. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "jwt_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The JWT, three base64url parts separated by dots (up to 16 KB) | |
| jwksUrl | No | Public https URL of the JWKS to verify with (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | No | ||
| type | No | ||
| claims | No | ||
| header | No | ||
| source | No | ||
| expired | No | ||
| payload | No | ||
| verified | No | ||
| algorithm | No | ||
| checkedAt | No | ||
| notYetValid | No | ||
| signatureBytes | No | ||
| verifiedReason | No |