wikimedia
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WIKIMEDIA_USER_AGENT | No | Override the HTTP User-Agent sent to Wikimedia. Include a contact URL in a custom value. | Iconography-Wikimedia/0.1 (https://github.com/deathrashed) |
| WIKIMEDIA_DOWNLOAD_DIR | No | Enable MCP downloads under this directory when no --download-dir is passed. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wikimedia_search_mediaB | Search Commons files, ranked by relevance. limit 1–50; offset 0–10000; width 0–4096. Returns metadata, licenses and continuation (gsroffset). |
| wikimedia_get_fileA | Resolve one exact Commons File: title with original/optional preview URL, artist, license, restrictions, upload timestamp and SHA1. width 0–4096. |
| wikimedia_list_categoryB | List direct file members of a Commons category (not recursive). limit 1–50. Pass continuation.gcmcontinue as cursor for the next page. |
| wikimedia_reference_fileB | Resolve a Commons file and generate an escaped reference plus separate attribution. width requests an actual API preview; height affects HTML display only. |
| wikimedia_download_fileA | Download one exact Commons file with provenance JSON/SHA256 beneath the configured download root. Never overwrites. width selects preview; max_mb 1–2048. Requires --download-dir or WIKIMEDIA_DOWNLOAD_DIR. |
| wikipedia_searchA | Search Wikipedia article titles/content. language is a Wikipedia code; limit 1–50. Returns plain snippets, URLs, total hits and continuation.sroffset. |
| wikipedia_get_articleB | Fetch a Wikipedia introduction or full plain text, optional revision wikitext, Wikidata ID, disambiguation flag and revision-specific citation URL. |
| wikipedia_list_imagesA | List image titles used by an article; may include local/non-free files. Resolve on Commons separately. limit 1–50; continuation.imcontinue becomes cursor. |
| wikipedia_reference_articleC | Return a Wikipedia reference identifying the retrieved revision and its source/copyright context. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools are clearly separated by resource (Commons files vs Wikipedia articles) and action (search, get, download, list, reference). Two mild overlaps exist: wikimedia_get_file vs wikimedia_reference_file, and wikipedia_get_article vs wikipedia_reference_article, since both pairs resolve the same object and one adds citation output. The descriptions do distinguish metadata retrieval from reference generation, so misselection risk is low but not zero.
The set follows a consistent verb_noun pattern (list_category, search_media, get_file, download_file, get_article, list_images, reference_article) with a predictable wikimedia_/wikipedia_ domain prefix. The only deviation is wikipedia_search, which omits the noun while its Commons counterpart is wikimedia_search_media, a small inconsistency in an otherwise regular scheme.
Nine tools is well within the ideal 3-15 range and each tool maps to a distinct operation in the media/article workflow. There is no obvious filler or redundant tool for the stated scope.
The surface covers the core lifecycle: search, resolve metadata, download with provenance, and generate citations for Commons files, plus search, fetch, list images, and cite for Wikipedia articles. Minor gaps remain, such as category discovery/traversal beyond listing direct members, and no batch or license-filtered retrieval, but agents can work around these.