Skip to main content
Glama

get_ocr_languages

Lists supported languages for OCR text extraction in document conversion. Use this tool to identify available language options before processing documents with MinerU MCP Server.

Instructions

获取 OCR 支持的语言列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function 'get_ocr_languages' that calls the OCR language retrieval logic.
    async def get_ocr_languages() -> Dict[str, Any]:
        """获取 OCR 支持的语言列表。"""
        try:
            languages = get_language_list()
            return {"status": "success", "languages": languages}
        except Exception as e:
            return {"status": "error", "error": str(e)}
  • The helper function 'get_language_list' which retrieves the actual list of OCR languages.
    def get_language_list() -> List[Dict[str, str]]:
        """获取所有支持的语言列表。"""
        return LANGUAGES
Install Server

Other Tools

Latest Blog Posts

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/Tongzhao9417/mineru_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server