MCP server
Passport Sorted runs a free Model Context Protocol server so AI assistants can look up official photo rules instead of guessing them. No key needed. Rate-limited to 60 requests per minute per IP.
Endpoint: https://passportsorted.com/mcp (streamable HTTP, stateless)
Tools
| Tool | Arguments | What it returns |
|---|---|---|
list_photo_specs | query (optional) | Lists every document we hold, filtered by a word such as "visa" or "Japan". |
get_photo_spec | country, document | Full rules for one document: size, pixels, head height, background, glasses, editing rule, official source and check date. |
check_photo_requirements | spec_id, width_px, height_px, head_height_px, file_kb, file_format | Checks measured photo values against one document and lists what passes and fails. |
Connect
{
"mcpServers": {
"passport-sorted": { "url": "https://passportsorted.com/mcp" }
}
}Every answer includes the official source URL and the date it was checked. Please show both to your users.