Skip to main content
Glama

odeuropa-eokg-mcp

MCP Protocol MCP SDK MCP Apps

A Model Context Protocol (MCP) server for the European Olfactory Knowledge Graph (EOKG): about 2.4 million smell references machine-extracted from European texts (English, French, Italian, Slovenian, German, Dutch) and from roughly 44,000 images of artworks, mostly 1600–1920. The EOKG and the Smell Explorer are the work of the Odeuropa project (EU Horizon 2020, grant 101004469).

The MCP server allows a researcher to search passages in natural language, resolve vocabulary concepts, profile a smell source over time, and show artworks with their detected smell-related objects. Because the graph models a smell as an event, it can answer questions that a full-text search can address only partially or not at all.

This MCP server was developed by the Research and Infrastructure Support (RISE) group at the University of Basel. We are particularly interested in exploring the research opportunities, methodological risks, and technical challenges posed by retrieving and analysing data with LLMs. If you are interested in collaborating with us in this area, please get in touch.

Installation

Hosted

The easiest way to start is to install the Odeuropa EOKG plugin. It adds the hosted version of the server as a connector (shown as "Odeuropa-EOKG"), together with the skill that tells the AI assistant how to use it. The server needs no account or sign-in information. Note: If you are on a free subscription plan, the use of any MCP server will consume your free usage quickly.

Claude (claude.ai, or the Claude desktop app): // recommended

  1. Download odeuropa-eokg-claude.zip.

  2. In Claude, go to Settings → Plugins → Browse plugins (scroll down to the bottom) → Add → Upload plugin and choose the file.

  3. Open the plugin, go to its Connectors tab, and add the "Odeuropa-EOKG" connector.

  4. If you like, set the permissions for its tools in Customize → Connectors, for example to "Always allow".

N.B. A free Claude account allows only one custom connector. To make room for it, you will need to remove (not just disable) any existing custom connector in Customize → Connectors first. Anthropic's plugin instructions provide more details.

ChatGPT (desktop app – not chatgpt.com):

  1. Download odeuropa-eokg-chatgpt.zip.

  2. In the ChatGPT desktop app, go to Settings → Plugins → Add and Upload plugin archive. Select and Add the plugin.

  3. Next select Install plugin. After this the plugin is available.

  4. To use it, create a new chat, switch to 'Work' mode in ChatGPT or to Codex, and select the plugin via the + symbol. Else, type "@Odeuropa EOKG" at the start of the prompt.

Other AI clients: add the hosted server as a remote MCP server (often called a "custom connector") with this URL, and leave the authentication settings empty:

https://odeuropa-eokg-mcp-production.up.railway.app/mcp

For example, the free version of Mistral's Vibe has excellent support for MCP servers, including components like the interactive image viewer. The use of an MCP server will consume your free usage quickly. A connector added this way has no skill; install the skill file separately (see below).

Local

Requirements: Node.js ≥ 24.22.1 < 25 (no native dependencies).

git clone https://github.com/kintopp/odeuropa-eokg-mcp.git
cd odeuropa-eokg-mcp
npm install

The MCP client starts the server itself once it is registered. Point the client at the entry file, using absolute paths for both command and the script:

{
  "mcpServers": {
    "odeuropa-eokg": {
      "command": "/absolute/path/to/bin/node",
      "args": ["/absolute/path/to/odeuropa-eokg-mcp/src/index.js"]
    }
  }
}
  • Claude Desktop: the file is claude_desktop_config.json in ~/Library/Application Support/Claude/ (macOS) or %APPDATA%\Claude\ (Windows). On Windows, double every backslash in the paths. Fully quit and restart Claude Desktop after editing it.

  • Claude Code: claude mcp add odeuropa-eokg -- node /absolute/path/to/odeuropa-eokg-mcp/src/index.js

  • ChatGPT desktop app and Codex: add a [mcp_servers.odeuropa-eokg] table with command = "…" and args = […] to ~/.codex/config.toml. The format is TOML, not JSON.

To check the install without a client, run npm test. Note that currently (October, 2026) Mistral Vibe can't use a locally hosted MCP server.

Research Skill

A skill gives an AI assistant detailed guidance in natural language on how to use a resource such as an MCP server effectively: which tool (see Tools) to choose for a given question type, how to combine searches, important metadata distinctions (e.g. a smell source's vocabulary concept vs its mention, the words used in the text), and known limitations. Skills were originally developed by Anthropic for their Claude products but have since become a widely-supported open standard.

The plugin (see Installation above) already includes the skill. You only need the Odeuropa EOKG skill file if you add the server as a custom connector, install it locally, or use a client without plugin support. To access the skill file, download and unzip: odeuropa-eokg.zip. If you use Mistral Vibe, install the skill via the 'folder' option.

To add your own instructions, such as how to cite results, don't edit the installed copy. Instead, put them in a separate skill or in your project's instructions, so that an update of the plugin doesn't overwrite them.

Related MCP server: Timepoint MCP

Tools

All ten tools are read-only. Each returns a human-readable summary (content[].text) and structured data (structuredContent). A typical flow:

  1. eokg_search_smells for passages;

  2. eokg_get_smell for one reference;

  3. eokg_get_source for its document or image.

For artworks, use eokg_find_visual_smells, then eokg_view_image to show one.

Tool

What it does

eokg_list_datasets

List the 21 source corpora with a dated snapshot of smell counts.

eokg_search_smells

Full-text search of smell excerpts and titles, with language, year and dataset filters.

eokg_get_smell

One smell reference: source, excerpt and extracted roles.

eokg_get_source

A source text or image with a page of its smells.

eokg_find_concepts

Find smell-source and fragrant-space concepts by label or Iconclass notation.

eokg_get_concept

A concept's labels, hierarchy, linked-smell counts and Iconclass notation.

eokg_smell_profile

Counts for one concept (smell source, space or gesture) by period, language, dataset, qualities, emotions and spaces, optionally within a year range, plus co-occurring smell sources.

eokg_find_visual_smells

Paintings and prints in which a smell source or gesture was detected or catalogued.

eokg_inspect_image

The picture of an image source with its annotated objects, for the model's own analysis.

eokg_view_image

Shows an image source to the user in an interactive viewer. Object boxes start hidden; a Boxes button shows them.

Full descriptions and parameters are in docs/tools.md.

Configuration (env vars)

All variables are optional.

Variable

Default

Meaning

EOKG_SPARQL_ENDPOINT

https://data.odeuropa.eu/repositories/odeuropa

SPARQL endpoint.

EOKG_SKOSMOS_BASE

https://vocab.odeuropa.eu/rest/v1/

Skosmos REST base for vocabulary search.

EOKG_TIMEOUT_MS

45000

Per-request timeout (1,000–600,000). The endpoint's gateway cuts at 60 s.

EOKG_RESULT_CHAR_CEILING

150000

Upper bound on a tool result's size in characters.

EOKG_LOG

off

1 writes one JSON line per tool call to stderr.

To host your own instance, run npm run serve, which serves stateless Streamable HTTP from src/http.js. Setup, HTTP variables and limits are in docs/deploy.md.

Data caveats

  • Excerpts are raw OCR text.

  • Emotions come from a classifier, and some datasets, German and Slovenian have none.

  • Dates are document dates (the emission date almost always equals it) and include noise.

  • Words without an operator are OR-ed, and accents must match.

  • German and Slovenian are barely linked to concepts, so concept profiles undercount them.

  • Filtered searches examine only a window of the most relevant hits.

  • Image boxes, including hand-drawn ones, can carry the wrong label.

  • Only the olfactory-objects, fragrant-spaces and olfactory-gestures vocabularies can be profiled or counted.

  • Iconclass notations ending in (...) are placeholders.

Details and examples are in docs/tools.md.

Limitations

The public endpoint has no SLA and a hard 60-second gateway timeout. Anchored lookups take well under a second, but eokg_smell_profile with include_narrower can take 15–30 seconds per facet. Please use heavy profile calls considerately, and do not loop them.

Development

npm start                # serve over stdio manually (waits for an MCP client; Ctrl-C to stop)
npm run serve            # serve over stateless Streamable HTTP
npm run lint             # ESLint (flat config, Node 24)
npm test                 # offline suite
npm run test:live        # also run the live tests (= EOKG_LIVE=1 npm test)
npm run build:docs       # regenerate docs/tools.md's generated blocks from the server
npm run build:skill      # sync SKILL.md's version, repack skill/odeuropa-eokg/ into the committed .skill bundle + .zip copy, the plugin folder and its two upload zips
npm run build:viewer     # rebuild the committed viewer page after editing apps/image-viewer/
npm run dev:viewer       # preview the image viewer in a browser
npm run build:iconclass  # rebuild the Iconclass table
npm run inspector        # open the MCP Inspector against the server

npm test fails if docs/tools.md, SKILL.md's version, the .skill bundle, its .zip copy, the plugin folder, its upload zips or the viewer page is stale. Rerun the matching build command and commit the result.

Citation

If you use odeuropa-eokg-mcp in your research, please cite it as follows:

APA (7th ed.)

Bosse, A. (2026). odeuropa-eokg-mcp (Version 0.7.1) [Software]. Research and Infrastructure Support (RISE), University of Basel. https://github.com/kintopp/odeuropa-eokg-mcp

BibTeX

@software{bosse_2026_odeuropa_eokg_mcp,
  author    = {Bosse, Arno},
  title     = {{odeuropa-eokg-mcp}},
  year      = {2026},
  version   = {0.7.1},
  publisher = {Research and Infrastructure Support (RISE), University of Basel},
  url       = {https://github.com/kintopp/odeuropa-eokg-mcp},
  orcid     = {0000-0003-3681-1289},
  note      = {Developed with Claude Code (Anthropic, \url{https://www.anthropic.com})}
}

Cite the data you report separately, as the European Olfactory Knowledge Graph (see below).

License

MIT © 2026 University of Basel. The licence covers the code, not the EOKG data it queries.

The European Olfactory Knowledge Graph has its own licence: its dump is published on Zenodo under CC BY 4.0 by Pasquale Lisena, Thibault Ehrhart and Raphaël Troncy (EURECOM) for the Odeuropa project, https://doi.org/10.5281/zenodo.10709702. Individual sources carry their own licence in the graph.

Available Tools

10 tools
eokg_find_conceptseokg_find_conceptsA
Read-onlyIdempotent

Find smell-source, space and gesture concepts by label, in any language. Matches labels in de, en, fr, it, nl or sl; a trailing * is added unless the query already has one. By default searches the three vocabularies linked to smells: olfactory-objects (what smells), fragrant-spaces (where) and olfactory-gestures (how people smelled). Pass a concept id to eokg_get_concept or eokg_smell_profile; vocab "all" also searches the descriptive vocabularies, which are not linked to smells. Alternatively pass iconclass (a notation such as 25G41(ROSE), e.g. from an Iconclass or Rijksmuseum server) instead of query, to find the concepts Odeuropa mapped to that notation or to broader or narrower ones.

Inputs: lang, limit, query, vocab, +1 more. Returns: query, results, has_more, warnings, +1 more

eokg_find_visual_smellseokg_find_visual_smellsA
Read-onlyIdempotent

Find paintings and prints in which a smell source or gesture appears. Lists image sources linked to an olfactory-objects or olfactory-gestures concept, best box score first: images with hand-drawn boxes (score 1) come first, then images ranked by the object detector's confidence, then catalogue-only links with no box. Images whose boxes all score below min_score (default 0.7) are hidden and counted; boxes and best_score count only the boxes shown. Images are linked to the objects they show, so substances often have none; try a related object concept. Year filters use the artwork date and exclude undated works. Pass a result id to eokg_inspect_image to look at it.

Inputs: concept (required), limit, offset, year_to, +2 more. Returns: limit, total, offset, concept, +7 more

eokg_get_concepteokg_get_conceptA
Read-onlyIdempotent

Get a concept: labels in up to six languages, hierarchy, and usage counts. For olfactory-objects, fragrant-spaces and olfactory-gestures concepts, also returns how many smells (and, for objects and gestures, image sources) the knowledge graph links to it, and the curated Iconclass notation where Odeuropa assigned one. A notation ending in (...) is an Iconclass placeholder for a name; the candidate with the name filled in is unverified, so check it with an Iconclass server before using it.

Inputs: id (required). Returns: id, image, label, vocab, +12 more

eokg_get_smelleokg_get_smellA
Read-onlyIdempotent

Get one smell reference: its source text or image, excerpt and extracted roles. Roles are machine-extracted: smell source (vocabulary concept plus the words used), carrier (vocabulary concept in carriers, the words used in carrier_mentions), gesture, time, place, perceiver, emotions, qualities. A carrier id works in eokg_smell_profile, which counts that concept as a smell source or space, not as a carrier. Emotions are inferred by a classifier, not stated in the text. Ids come from eokg_search_smells, eokg_get_source or eokg_find_visual_smells.

Inputs: id (required). Returns: id, times, places, source, +13 more

eokg_get_sourceeokg_get_sourceA
Read-onlyIdempotent

Get a source text or image: its metadata and a page of the smells it contains. Smells are listed in no meaningful order (the graph keeps no position within the document), each with its vocabulary concepts, any gestures and a short excerpt. For an image source, also lists the objects the detector found, with bounding boxes; call eokg_inspect_image to see the picture.

Inputs: id (required), limit, offset. Returns: id, url, date, type, +19 more

eokg_inspect_imageeokg_inspect_imageA
Read-onlyIdempotent

Look at an image source, with the smell-related objects detected in it. Returns the picture itself plus each annotated object (vocabulary concept, bounding box as % of width/height from the top-left, and origin: manual boxes were drawn by the Odeuropa team, detector boxes come from an object detector with a confidence score). Detector boxes can be wrong; compare them with what you see. Use these boxes rather than estimating coordinates yourself. The picture is for your own analysis; to show it to the user, call eokg_view_image, and never embed an image URL as a Markdown image (). Takes a source id from eokg_get_source, eokg_get_smell (source.id) or eokg_find_visual_smells.

Inputs: id (required), min_score. Returns: id, url, date, title, +11 more

eokg_list_datasetseokg_list_datasetsA
Read-onlyIdempotent

List the source corpora (datasets) in the knowledge graph, with smell counts. Counts are a dated snapshot; each dataset name is a valid dataset filter for eokg_search_smells.

Inputs: no named parameters. Returns: datasets, total_smells, snapshot_date

eokg_search_smellseokg_search_smellsA
Read-onlyIdempotent

Full-text search of smell excerpts and source titles, ranked by relevance. Matching is on the extracted excerpt text (OCR, unnormalised spelling). Language, year and dataset filters are applied after ranking, to a window of the most relevant hits, so a filtered search reports how many hits it scanned and may miss rarer matches; the result says when. Year filters use the document date; undated sources are kept. One passage can contain several smells; each is its own result with its own id and concept, so the same excerpt can appear more than once. Follow up with eokg_get_smell for a full record.

Inputs: text (required), in, limit, offset, +4 more. Returns: limit, query, offset, results, +8 more

eokg_smell_profileeokg_smell_profileA
Read-onlyIdempotent

Profile a smell source, fragrant space or gesture across the whole graph. Counts smells linked to an olfactory-objects, fragrant-spaces or olfactory-gestures concept (from eokg_find_concepts) by 20-year period of document date (bucket_years changes it), language, dataset, qualities, emotions and fragrant spaces; emission dates, raw place labels and carriers (vocabulary concepts mixed with raw words) on request. The languages facet counts text smells only; image smells are in the total and the timeline but have no language. The emission date is extracted from the text but in almost every record equals the document date, so emission_timeline rarely differs from timeline. All values are machine-extracted: dates include OCR noise (reported as out_of_range), and emotions are inferred by a classifier that was not run on medical-heritage, royal-society-corpus, old-bailey-corpus or text-annotation and has no German or Slovenian model. Gesture smells come from texts (Perfuming, mostly French) or from images (Holding one's nose); check the datasets facet. year_from and year_to restrict the profile to a period by document date; undated sources drop out, and images can be a large share of a period's smells. include_narrower adds sub-concepts (e.g. all flowers) but takes 15–30 s per facet. Facets that time out or do not fit the time budget are listed in failed_facets, also without include_narrower; request each once more on its own, and if it fails again, make the query smaller as the warning says.

Inputs: concept (required), top, facets, year_to, +4 more. Returns: places, concept, year_to, carriers, +14 more

eokg_view_imageeokg_view_imageA
Read-onlyIdempotent

Show an artwork image to the user in an interactive viewer they can zoom. The viewer appears beside this result in clients that support MCP Apps (Claude, ChatGPT and others). Object boxes start hidden, and the user can turn them on and off with the viewer's Boxes button. Set show_boxes true only when the user asks to see them, since many boxes carry the wrong label. When boxes are on, the user can select one, and the selection is shared with you. Nothing is returned for you to look at; use eokg_inspect_image to see the picture yourself. If the user says no viewer appeared, give them the Record and Image links from the result as plain links. Takes a source id from eokg_search_smells (source_id), eokg_get_source or eokg_find_visual_smells.

Inputs: id (required), min_score, show_boxes. Returns: id, url, date, title, +8 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct action+resource: full-text search (search_smells) vs. image lookup by concept (find_visual_smells), single-record fetch (get_smell, get_source), vocabulary lookup (find_concepts vs. get_concept), and aggregate statistics (smell_profile). The two potentially confusable pairs — inspect_image vs. view_image (agent analysis vs. user viewer) and get_concept vs. smell_profile (curated labels vs. corpus counts) — are explicitly separated in their descriptions with 'use X to..., call Y to...' guidance.

    Naming Consistency4/5

    All names share the eokg_ prefix and predominantly follow a verb_noun pattern (list_datasets, get_smell, find_concepts, search_smells, get_source, inspect_image, view_image, find_visual_smells). The single deviation is eokg_smell_profile, which drops the verb in favour of a noun_noun form, a minor inconsistency in an otherwise predictable scheme.

    Tool Count5/5

    Ten tools sit comfortably in the well-scoped range and map cleanly onto the domain's distinct operations: discovery (search, find), retrieval (get), inspection (inspect, view), and aggregation (profile). No tool looks redundant or like a thin wrapper over another.

    Completeness4/5

    The surface covers discovery, drill-down, vocabulary navigation, image inspection and corpus-wide profiling, which is strong lifecycle coverage for exploratory research. The notable gap is that there is no direct 'list smells for a concept/time/place' enumeration — smell_profile gives counts and facets but to obtain the underlying records an agent must fall back on full-text search or walk sources, which is awkward.

    Maintenance

    ActivityNo data
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to European cultural heritage collections and artworks, allowing users to search for items, get detailed information about specific artworks, browse collections by institution, and receive AI-powered recommendations based on interests.
      1
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Provides structured access to a temporal knowledge platform for searching historical events and browsing a causal graph of over 2,000 years of history. It enables users to generate rich historical scenes, interact with period-appropriate characters, and run complex temporal simulations.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables researchers to search, count, cross-tabulate, and trace the provenance of roughly 64,000 objects in the SKKG digital collection, and to inspect and view their images along with licence and copyright information. Natural-language queries are translated into German vocabulary searches over a local read-only snapshot, with no load on SKKG's servers.
      12
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to query and analyze 74,000+ articles from Diderot and d'Alembert’s Encyclopédie through structured tools for semantic and textual search, idiom usage analysis, and author and cross-reference network exploration.
      MIT