StructOCR
v1.0.1Structured OCR & ID verification MCP: driver license PDF417 verify, PDF tables, 22 endpoints.
Values you need
| Variable | What it is | |
|---|---|---|
STRUCTOCR_API_KEY | required secret | Your StructOCR API key from https://structocr.com/dashboard/api-keys (200 permanent free credits on signup). |
STRUCTOCR_BASE_URL | optional | Optional API base URL override (defaults to https://api.structocr.com/v1). |
STRUCTOCR_TIMEOUT_MS | optional | Optional HTTP timeout in milliseconds (defaults to 60000). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add structocr-mcp -e 'STRUCTOCR_API_KEY=<STRUCTOCR_API_KEY>' -- npx -y structocr-mcp@1.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"structocr-mcp": {
"args": [
"-y",
"structocr-mcp@1.0.1"
],
"command": "npx",
"env": {
"STRUCTOCR_API_KEY": "<STRUCTOCR_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"structocr-mcp": {
"args": [
"-y",
"structocr-mcp@1.0.1"
],
"command": "npx",
"env": {
"STRUCTOCR_API_KEY": "<STRUCTOCR_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "STRUCTOCR_API_KEY",
"id": "structocr-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"structocr-mcp": {
"args": [
"-y",
"structocr-mcp@1.0.1"
],
"command": "npx",
"env": {
"STRUCTOCR_API_KEY": "${input:structocr-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.structocr-mcp]
command = "npx"
args = ["-y", "structocr-mcp@1.0.1"]
env = { "STRUCTOCR_API_KEY" = "<STRUCTOCR_API_KEY>" }For AI agents
- Ask the user for: STRUCTOCR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: verify_driver_license, extract_pdf, image_to_excel, scan_document, get_account_balance, list_supported_documents.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json