SafeResize

Passport and visa photo rules for 83 documents in 49 countries, and upload limits as exact numbers.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
98%
Naming quality
95%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~608Tokens (tool definitions)
~692 BTypical response size
Minimal attention impact (0.47% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "saferesize": {
      "url": "https://saferesize.com/mcp"
    }
  }
}

Remote endpoints

https://saferesize.com/mcpstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢find_photo_requirements(query, limit)

Search SafeResize's verified list of 83 passport and visa photo documents (49 countries and regions) by country, document or form name, e.g. "US visa", "DS-160", "Schengen", "India OCI", "Dubai". Returns matching documents with their document_id.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Country, document or form, e.g. \"UK passport\" or \"DS-160\""
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "description": "Maximum results (default 8)"
    }
  },
  "required": [
    "query"
  ]
}
🟢get_photo_requirements(document_id)

Official photo rules for one document: printed size, pixel rule, file size in KB, file type, background, head size, other rules, whether a self-made photo is accepted, the official source URL and the date SafeResize checked it, plus a link to make the photo free at saferesize.com. Always tell the user to confirm on the official source before applying.

Input Schema

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "From find_photo_requirements, e.g. \"us-visa\", \"uk-passport\", \"schengen-visa\", \"in-oci\""
    }
  },
  "required": [
    "document_id"
  ]
}
🟢interpret_upload_rules(text)

Turn the upload rules a website shows (e.g. "JPG only, 10 KB to 50 KB, 200 x 230 pixels" or "PDF not more than 1 MB") into exact numbers: KB limits, a byte range that passes whether the site counts 1 KB as 1,000 or 1,024 bytes, pixels, file type, and the SafeResize tool that fixes the file.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The rules exactly as the website writes them"
    }
  },
  "required": [
    "text"
  ]
}
🟢check_file_numbers(file_size_bytes, width, height, format, rules_text)

Check a file's size in bytes, pixels and type against a website's upload rules, without sending the file. Use when you already know the numbers (e.g. from the file's properties).

Input Schema

{
  "type": "object",
  "properties": {
    "file_size_bytes": {
      "type": "integer",
      "description": "Exact size in bytes"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "format": {
      "type": "string",
      "description": "jpg, png, webp or pdf"
    },
    "rules_text": {
      "type": "string",
      "description": "The website's rules as written"
    }
  },
  "required": [
    "rules_text"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools