# IWAC MCP Server

- **Years:** Since 2026
- **Methods:** TypeScript, Model Context Protocol, LLM, Prompt Engineering, Agent Skills, DuckDB, Hugging Face, Embeddings, Semantic Search, Docker
- **Web page:** https://www.frederickmadore.com/digital-humanities/iwac-mcp-server

*An open-source connector that lets AI assistants such as Claude and ChatGPT search, read and analyse the Islam West Africa Collection, with every answer linked back to its sources.*

Search the [*Islam West Africa Collection*](https://islam.zmo.de/s/westafrica/) for "hadj" and you get articles about the pilgrimage to Mecca mixed with every man honoured as "El Hadj". A single imam can appear under more than twenty spellings. And a search for "hajj" misses articles that only say "pèlerinage à La Mecque". Keyword search, the default way into most digital archives, struggles with a corpus like this one.

The IWAC MCP server offers another way in. It lets an AI assistant you already use, such as Claude or ChatGPT, query the collection on your behalf, in any language. The assistant translates your question into suitable searches, reads the relevant records and writes a synthesis in which every claim links back to its source in IWAC, so you can check it yourself.

## What an assistant can do with it

The server works through the [Model Context Protocol](https://modelcontextprotocol.io/) (MCP), an open standard for connecting AI assistants to outside sources. It offers nearly forty read-only tools, which let an assistant:

- **Search** newspaper articles, Islamic publications, archives, recordings, photographs and academic references, by keyword or by meaning
- **Read** full texts and transcriptions, or just the passages around a keyword
- **Count and compare**: coverage across countries, newspapers and decades, the topics and places a set of articles dwells on, and even how coverage rises in Ramadan and around Tabaski
- **Weigh press attitudes**: how five AI models read the tone of each article, and where they disagree (all five agree on fewer than a third)
- **Export** a selection as a bibliography for Zotero or BibTeX

In Claude, many of these answers appear as interactive charts rather than tables of figures.

## A method, not only data

The server gives access; a companion [research skill](https://github.com/fmadore/iwac-mcp-server/tree/main/.agents/skills/iwac-mcp) teaches the assistant how to use it well. It works like an archivist's checklist: first establish what the collection holds, then search French sources with their spelling and transliteration variants (Maouloud, Mawlid), read the key records closely, compare different kinds of material, and report the evidence with its limits. The skill also tells the assistant where the collection is thin, so it does not present partial coverage as the whole story.

## Connecting, and its limits

Anyone can add the hosted connector to Claude or ChatGPT without a download, sign-up or API key; the collection's [Ask with AI page](https://islam.zmo.de/s/westafrica/page/ai-access) walks through the setup. Claude Desktop users can also install it in one click, with semantic search running on their own computer.

The server's own guarantees are modest. It only reads, so it cannot change the archive, and by default it serves only the public dataset, which leaves out the full text IWAC may not redistribute. Every answer points back to its source records.

Beyond that, control stops at the server. Whatever the assistant retrieves travels to the company that runs it, and whether that company keeps or trains on the conversation depends on its terms and the user's settings, not on IWAC. The public dataset is openly downloadable in any case, by researchers and AI developers alike. Because MCP is an open standard, the same tools also work with open-weight models run locally, the one set-up in which the conversation never leaves the user's computer. For African collections, long subject to extractive knowledge practices, those trade-offs need saying plainly.

## Addresses

- [islam.zmo.de/s/westafrica/page/ai-access](https://islam.zmo.de/s/westafrica/page/ai-access)
- [github.com/fmadore/iwac-mcp-server](https://github.com/fmadore/iwac-mcp-server)
- [Software DOI (Zenodo)](https://doi.org/10.5281/zenodo.21805837)
