OCR.space MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OCR_SPACE_API_KEY | Yes | Free tier API key from OCR.space | |
| OCR_SPACE_PRO_API_KEY | No | Optional PRO tier API key | |
| OCR_SPACE_PRO_ENDPOINT | No | Optional PRO endpoint URL (e.g., https://eu.api.ocr.space/parse/image) | https://api.ocr.space/parse/image |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ocr_fileA | Extract text from a local image or PDF file using OCR.space API. Supports PNG, JPG, GIF, BMP, TIFF, PDF. Free tier: max 1 MB. PRO tier: max 5 MB (EU endpoint for GDPR). Optionally saves result to txt or json file. |
| ocr_urlA | Extract text from an image or PDF at a URL using OCR.space API. The URL must be publicly accessible. Free tier: max 1 MB. PRO tier: max 5 MB. |
| ocr_autoA | Smart OCR that automatically handles oversized files. For PDFs: splits into chunks, OCRs each, and joins results. For images: compresses to fit within size limit before OCR. Use this when you don't know if the file exceeds the size limit. |
| split_pdfA | Split a large PDF into smaller chunks that fit within API size limits. Useful for processing PDFs that exceed the 1 MB (free) or 5 MB (pro) limit. Each chunk contains as many pages as possible while staying under the limit. |
| list_languagesA | List all supported OCR languages with their codes. |
| check_tier_statusA | Check which API tiers are configured and available. Shows which environment variables are set. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentic-ai-forge/ocr-space-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server