Osgeo-library

From OSGeo
Revision as of 10:28, 5 June 2026 by Ominiverdi (talk | contribs)
Jump to navigation Jump to search

osgeo-library

PDF figure, table, equation extraction, and semantic search service running on Gallery_Container.

~/github/osgeo-library/servers/start-server.sh

Verified running processes on osgeo7-gallery include:

python -m doclibrary.servers.api
python -m doclibrary.servers.mcp

MCP server

The MCP tools are provided by the doclibrary MCP server:

/home/ominiverdi/github/osgeo-library/.venv/bin/python -m doclibrary.servers.mcp

In the Matrix chat bridge, these tools appear with the doclibrary_ prefix.

MCP tools

[doclibrary_search_documents]

Search document text and extracted visual elements using semantic search.

[doclibrary_search_visual_elements]

Search only visual elements such as figures, tables, equations, charts, and diagrams.

[doclibrary_list_elements]

List extracted elements from a document, optionally filtered by type or page.

[doclibrary_get_element_details]

Get metadata and text description for a specific extracted element.

[doclibrary_get_element_image]

Return the cropped image for a specific figure, table, equation, chart, or diagram.

[doclibrary_get_page_image]

Return the full page image for a document page.

[doclibrary_get_document_info]

Show metadata for a document.

[doclibrary_find_document]

Find a document by name or query.

[doclibrary_list_documents]

List indexed documents.

[doclibrary_get_library_status]

Check document library and embedding/search service status.

Related services

Contact: ominiverdi, Lorenzo Becchi, or SAC channel.