Skip to main content
All providers

Wikimedia Commons

Reference

api.wikimedia.org

File metadata from Wikimedia Commons: the licence, author and preferred attribution for a media file.

Runs on your machine under the source's own terms

The crw MCP on your computer calls Wikimedia Commons directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:

Capabilities (20)

wikimedia/featuredFree, runs locally

Wikipedia's whole front page for one calendar date in one language: the featured article with extract and image, the picture of the day, the most-read articles with view counts, and the In The News items.

languageyearmonthday
wikimedia/fileFree, runs locally

Everything about one Commons file: its canonical title, description page URL, uploader and timestamp of the latest version, and direct URLs plus pixel dimensions, duration and byte size for the thumbnail, preview and original renditions.

title
wikimedia/history-countsFree, runs locally

A single integer counting one class of activity on a page - total edits, distinct editors, bot edits, anonymous edits, minor edits or reverted edits - plus a flag saying whether the server's counting limit was hit.

projectlanguagetitletypefrom?to?
wikimedia/onthisdayFree, runs locally

Historical events tied to one calendar day - selected anniversaries, births, deaths, general events and holidays - each with a year, a text summary and the linked Wikipedia pages with extracts and thumbnails.

languagetypemonthday
wikimedia/page-bareFree, runs locally

The lightweight record for one wiki page: id, key, title, content model, licence, the latest revision id and timestamp, and an html_url pointing at the rendered page, with no article body.

projectlanguagetitle
wikimedia/page-descriptionFree, runs locally

The one-line short description of a page, the same string that appears under the title in the mobile apps and in search suggestions.

projectlanguagetitle
wikimedia/page-historyFree, runs locally

A segment of 20 revisions of one page, newest first, each with revision id, timestamp, editor, byte size, delta, comment and minor flag, plus older/newer links for paging.

projectlanguagetitleolder_than?newer_than?filter?
wikimedia/page-htmlFree, runs locally

The page metadata together with the fully rendered Parsoid HTML of the article in a JSON envelope, so templates, infoboxes and tables arrive already expanded.

projectlanguagetitle
wikimedia/page-language-linksFree, runs locally

Every other-language version of one page, each with its language code, autonym, localised title and full URL.

projectlanguagetitle
wikimedia/page-mediaFree, runs locally

Every image, video and audio file used on one page, each with its title, media type, original and thumbnail URLs, dimensions, byte size and the structured artist, credit and licence fields from its Commons description.

projectlanguagetitle
wikimedia/page-sourceFree, runs locally

The full raw wikitext of one wiki page plus its metadata: id, key, title, latest revision, content model and licence.

projectlanguagetitle
wikimedia/pageviewsFree, runs locally

A time series of how many times one article was viewed, one data point per day or month, filtered by platform and by human-versus-bot traffic.

wikiaccessagentarticlegranularitystartend
wikimedia/pageviews-aggregateFree, runs locally

A time series of total pageviews for an entire wiki, one point per hour, day or month, split by platform and traffic type.

wikiaccessagentgranularitystartend
wikimedia/pageviews-topFree, runs locally

The thousand most viewed articles on one wiki for a given day or month, ranked, with each article's title, rank and view count.

wikiaccessyearmonthday
wikimedia/revisionFree, runs locally

One specific revision of a page: its wikitext as it stood at that moment, plus the editor, timestamp, comment, byte size, delta and the id of the revision it replaced.

projectlanguageid
wikimedia/revision-bareFree, runs locally

The record for one revision without its content: page id and title, editor, timestamp, comment, byte size, delta, minor flag and a link to the HTML.

projectlanguageid
wikimedia/revision-compareFree, runs locally

A structured diff between two revisions of the same page: an array of changed ranges with the old and new text, change type, line numbers and character offsets, plus both revisions' metadata.

projectlanguagefromto
wikimedia/searchFree, runs locally

Full-text search of Wikimedia Commons file and category pages, returning page id, key, title, a highlighted excerpt, the short description and a thumbnail URL for each hit.

qlimit?
wikimedia/search-pageFree, runs locally

Full-text search across the content of one wiki, returning page id, key, title, a highlighted excerpt, the short description and a thumbnail for each hit.

projectlanguageqlimit?
wikimedia/search-titleFree, runs locally

Pages whose titles start with the given prefix, each with id, key, title, short description and thumbnail - the typeahead index rather than a content search.

projectlanguageqlimit?

Licence

Per-page or per-file Wikimedia licence

https://commons.wikimedia.org/wiki/Commons:Licensing

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attributionText.

Source: Wikimedia; each page's or file's licence and authors are in the response