Skip to main content
Glama

Omeka MCP

A FastMCP server that connects AI assistants to an Omeka S collection through the Omeka REST API.

Features

  • Search Omeka items by text.

  • Fetch one item by numeric ID.

  • Return item metadata in a readable format.

  • Return public Omeka item page links instead of API links.

  • Support optional Omeka API credentials.

Related MCP server: mcp-openaire

Requirements

  • Python 3.10 or newer

  • An Omeka S REST API endpoint

Installation

Create and activate a virtual environment, then install the dependencies:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt

Configuration

Edit config.ini:

[omeka]
items_url = http://<IP_Address>/omeka/api/items
site_url = http://<IP_Address>/omeka/s/terracotta/item/
api_key_identity =
api_key_credential =

items_url is used to retrieve records. site_url is used to create browser-facing item links. API credentials can be left empty when the Omeka API is public.

Do not commit real API credentials to source control.

Run

Run the MCP server with the default configuration:

python main.py

To use a different configuration file:

python main.py path\to\config.ini

MCP Tools

search_items

Search the Omeka collection.

Parameters:

  • query: Search text. Defaults to an empty string.

  • page: Page number, starting at 1. Defaults to 1.

  • limit: Number of results, from 1 to 100. Defaults to 10.

get_item

Fetch one Omeka item by its numeric ID.

Parameters:

  • item_id: The Omeka item ID.

For item 131, the server returns:

http://<IP_Address>/omeka/s/terracotta/item/131

The Omeka API record itself is fetched from:

http://<IP_Address>/omeka/api/items/131

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with access to search, explore, and analyze over 3 million collection objects from the Smithsonian Institution's museums. Enables finding objects currently on exhibit, retrieving detailed metadata, high-resolution images, and 3D models from America's national museums.
    62 npm
    10
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to search and retrieve EU research outputs including publications, datasets, software, and funded projects from OpenAIRE.
    182 npm
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI models to search and retrieve bibliographic and digitized records from Swiss academic libraries (swisscovery, e-rara, e-periodica, e-manuscripta) via open protocols without requiring API keys.
    16
    148 PyPI
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables searching and exploring millions of items from the Smithsonian Institution's collections including artifacts, artworks, specimens, photographs, and more, using the Smithsonian Open Access API.
    3
    MIT