This is a guest post by Frédérick Madore. The author bio is below.
When one searches a typical digital database, the system matches as a string of letters without context or consideration for spelling variants and transliterations. Although filters and Boolean operators can narrow results, they assume users are familiar with the collection. In the Islam West Africa Collection (IWAC), an open-access digital database of multilingual materials from six countries, hadj can refer to the pilgrimage to Mecca or the honorific El Hadj. As of October 2026, a search for hadj in IWAC returned 7,083 results: 7,057 content records and 26 entities. The results included the topic Hadj, organisations responsible for the pilgrimage, and people named El Hadj.

Figure 1. A website search for hadj returns pilgrimage material alongside people such as El Hadj Babily Dembélé.
To offer another route into the collection, I built the IWAC MCP server using the Model Context Protocol (MCP), an open standard that lets AI assistants connect to external data and tools. The model translates search terms, works across languages, and returns answers with links to IWAC records. These capabilities can produce more specific and better contextualised answers than the chatbot could generate from its training data. A standard web search with ChatGPT or Gemini may occasionally surface an IWAC record, alongside miscellaneous blog posts and less reliable sources. However, such chatbots do not know how the database is organised, which filters are valid, or how to systematically search its source types.
Since 2021, I’ve developed and maintained IWAC’s nearly 21,500 records, including news clippings, Islamic periodicals, archival documents, photographs, audiovisual recordings, and academic references. Large language models (LLMs) already assist with optical character recognition and named-entity recognition and description. Having used AI to process the collection, I turned to making the IWAC easier to navigate. The aim is to use AI for tasks it handles well: quickly surveying records, working across languages, and summarising selected material. Grounding should also limit hallucinations, source-free generalisations, and invented citations. Claims should point to identifiable IWAC records readers can access.
A Common Door for AI Assistants
MCP servers connect AI assistants to information and actions beyond the scope of the model. With permission, an assistant can access emails, calendars, databases, or current programming documentation. Libraries are implementing the protocol. In October 2026, Yale Library opened an AI connector to 15 million catalogue records for community testing. The Bibliothèque nationale de France also created a prototype server for its digital library, Gallica (Casemajor and Moreux 2026).
Cohen (2025) compares MCP to the International Image Interoperability Framework (IIIF): just as IIIF allows cultural institutions to share and combine images while maintaining the originals, MCP lets them decide what and how an AI assistant accesses the material. The Collections as Data movement has long argued digital collections should be “always already computational,” accessible through programmatic interfaces rather than search boxes alone (Padilla et al. 2023). MCP carries this principle into the conversational interfaces users increasingly expect.
IWAC MCP server’s 39 read-only tools can find and retrieve records, look up people or organisations, compare coverage across countries or years, map specific locations, show which subjects appear together, and analyse whole result sets. Four of these tools search by intended meaning rather than by matching words. For example, when asked about relations between the state and religion, the tools retrieved French articles on laïcité from Benin, Burkina Faso and Côte d’Ivoire. Compatible assistants can generate interactive timelines, maps, topic charts, and country comparisons. They also graph three AI-generated classifications: polarity (very negative to very positive), subjectivity (very objective to very subjective), and centrality (how prominently a subject appears). IWAC’s authoritative records remain on the Omeka S website. The server works from a public copy of the data and links each result to its record on islam.zmo.de. The AI access page provides setup instructions.
Grounded Answers and their Limits
Sternfeld (2026) compared how chatbots answered historical questions with and without access to a museum’s collection. He asked ChatGPT, which had no such access, about the historical significance of Tulip Mania (1634-1637): the rise and collapse of tulip-bulb prices in the Dutch Republic, often considered a ruinous speculative bubble. ChatGPT’s summary reflected recent scholarship, but it illustrated its answer with images of tulip artwork that it could neither identify nor date. Sternfeld also connected Claude to the Rijksmuseum via an MCP server and requested works featuring tulips. Claude located fourteen works in the museum’s collection and displayed four with their catalogue information. The IWAC server offers the same safeguard as its answers start with retrieved records. This reduces citation hallucinations such as invented titles, dates, and links. The safeguard relies on the quality of the underlying metadata, since incomplete or inconsistent descriptions limit what the server can retrieve, compare, and cite.
However, valid records do not guarantee sound interpretation. Sternfeld next asked Claude for a middle school art lesson built around three of the still lifes, without mentioning Tulip Mania. Claude framed the lesson around the tulip craze and repeated the largely debunked story of widespread economic collapse. The museum supplied accurate artwork data, but the historical narrative appears to have come from the model’s training data. Distinguishing database evidence from model additions is particularly important for histories, languages, and publications from sub-Saharan Africa, which are underrepresented in the training data.
Further complicating matters, because IWAC at times lacks permission to publish newspaper articles online, the full text is retrieved only when relevant and available. Also, OCR text is public for only 45% of newspaper articles and 86% of Islamic periodicals. Regardless, titles, subjects, and AI summaries are searchable for every record. This trade-off allows the assistant to survey more material and provide more detailed answers.
Writing Down the Curator’s Method
Access alone doesn’t explain how the collection was assembled. Its press corpus is 96% French and geographically uneven. While Burkina Faso and Côte d’Ivoire are well represented, there is one Niger state newspaper and none from Nigeria. Pre-1991, the press corpus drew on a limited number of sources, mainly one or two state-owned newspapers per country, all under single-party or military regimes. Islamic periodicals were almost entirely absent, except for Burkina Faso’s private daily newspaper, L’Observateur. The democratic transitions of the early 1990s brought a more varied private press and broader coverage of Muslim public life. Mainstream papers generally observe Muslim communities from outside, whereas Islamic publications document internal debates and religious instruction. Differences across countries, periods, or sources may therefore reflect the collection’s composition as much as historical change.
I record this knowledge in the IWAC MCP skill. A skill is a reusable set of instructions stored in a Markdown file. The assistant loads it when a request matches its purpose and receives task-specific guidance without retraining. The open Agent Skills format lets compatible assistants reuse the same versioned file.
The MCP server also guides assistants that do not use the skill. Each connection receives shorter collection-level instructions, and each tool describes its search scope, filters, and cautions. The skill adds a full research method: scope the collection, search systematically, read selected items in full, triangulate across source types, and synthesise with attribution and confidence grades.
The skill limits the influence of a model’s training biases by encoding my knowledge as the collection’s historian and curator. Its evidence ledger records the basis of each claim: close reading of full texts, assessment of AI summaries, or aggregate counts. As the skill is public and versioned, its situated historical method is open to scrutiny, enabling users to challenge and refine it. Future versions could offer different research perspectives, each with a distinct focus and approach to evidence. These lenses would be developed in collaboration with historians, Islamic and media studies specialists, and scholars and imams from the countries covered by IWAC.
From Question to Evidence: The Hajj in Togo and Côte d’Ivoire
To test the method on a substantive question, I connected ChatGPT to the server and selected GPT-5.6 Sol with reasoning effort set to “High”. The interface reported 4 minutes and 17 seconds of reasoning before producing the report. I used the following prompt:
Using the IWAC MCP skill, select Extended mode and write a comparative research report on how the pilgrimage to Mecca has been organised in Togo and Côte d’Ivoire over time. Compare the institutions and actors involved, the practical and political problems they faced, changes in state involvement, and differences between mainstream and Islamic press perspectives. Ground the report in IWAC records and link to the evidence.

Figure 2. The prompt and opening of GPT-5.6 Sol’s comparative report in ChatGPT. The full conversation is publicly available.
Having worked closely with these sources, I was impressed by the report’s scope. It produced a sustained historical comparison supported by 33 distinct IWAC records, acknowledged that Islamic-periodical coverage is thinner for Togo than Côte d’Ivoire, and concluded with three academic references indexed in the collection. Its treatment of the Ivorian government’s contribution of 230 million CFA francs to the 1995 pilgrimage was especially effective. The state-owned Fraternité Matin presented the contribution as welcomed government assistance by Muslims, whereas the Islamic publication Plume Libre questioned its electoral motives and focused on pilgrims’ practical and religious needs.
The answer didn’t fully follow the skill’s instructions on transparency. It remained unclear which documents ChatGPT read in full, whether it assessed AI summaries or tables of contents, and what it knew from search results. The citations allow readers to inspect the evidence, but they don’t show how the model used it.

Figure 3. Claude Opus 5.0, with reasoning effort set to “High”, answered the same question with greater emphasis on aggregate counts, visualisations, and sentiment analysis. Its report also foregrounded auditability by documenting null results, tool limitations, and confidence levels. The full conversation is publicly available.
Who Controls Access and Interpretation?
The test makes the central trade-off concrete. Connecting ChatGPT and Claude to IWAC produced a source-rich answer without making the path from retrieval to interpretation fully visible. Therefore, who designs that path matters as much as who controls the data.
Yékú (2026) describes a dilemma for African archives: material absent from digital corpora remains invisible to LLMs, while digitisation exposes it to extractive scraping and can legitimize an incomplete corpus. MCP can’t stop crawlers. Over the past two to three years, IWAC has had heavy automated traffic from IP addresses in China and the United States. The protocol does, however, let the institution maintain an access point with adjustable tools, fields, and granularity, while keeping the model choice open. I therefore plan to reuse these tools in a conversational assistant on the IWAC website, powered by an open-weight language model that doesn’t require a commercial AI account or subscription.
Porting the tools to the website leaves open which method the assistant should follow. The current skill reflects my training as a historian, with its emphasis on chronology, named actors, and source criticism. Researchers in Islamic or media studies would ask different questions of the same sources. Scholars and imams from the countries IWAC covers, together with the collection’s users, should help decide what information the public assistant retrieves and emphasises.
A grounded answer should show which records support its claims and how the model interpreted them. I therefore see MCP servers as a promising way for digital collections to work with AI. Distinguishing hadj the pilgrimage, from El Hadj the honorific, requires a capable model and trained individuals who document the corpus, search logic, and limits.
References
Nathalie Casemajor and Jean-Philippe Moreux, “Agentic AI in Data Commons and GLAM: What Role for the Model Context Protocol?,” Proceedings of the Paris Institute for Advanced Study 27 (2026), https://paris.pias.science/article/agentic-ai-in-data-commons-and-glam-what-role-for-the-model-context-protocol.
Dan Cohen, “AI and Libraries, Archives, and Museums, Loosely Coupled,” Humane Ingenuity, August 18, 2025, https://newsletter.dancohen.org/archive/ai-and-libraries-archives-and-museums-loosely-coupled/.
Thomas Padilla, Hannah Scates Kettler, and Yasmeen Shorish, Collections as Data: Part to Whole. Final Report (Zenodo, 2023), https://doi.org/10.5281/zenodo.10161976.
Joshua Sternfeld, “Model Context Protocol and a Vision of Historical Research and Collections Access,” Encoding the Past, January 15, 2026, https://encodingthepast.substack.com/p/model-context-protocol-and-a-vision.
James Yékú, “My Unpackable Library: AI Erasures and the African Archive,” James Yékú, April 16, 2026, https://jamesyeku.com/2026/04/16/my-unpackable-library-ai-erasures-and-the-african-archive/.
A.I. Disclosure: The IWAC MCP server described in the post was developed using AI-assisted coding (Claude Code and OpenAI Codex). I specified the design, reviewed the code, and tested the outputs of the tools against the underlying Omeka S records.
Frédérick Madore is a historian and digital humanist at the University of Bayreuth (Germany) who has spent fifteen years studying Islam in francophone West Africa, with extensive fieldwork in Benin, Burkina Faso, Côte d’Ivoire, and Togo. He created and directs the Islam West Africa Collection. As Data Curator at the Cluster of Excellence “Africa Multiple,” he develops research data infrastructure, including the Africa Multiple Interactive Research Atlas (AMIRA). As Co-Principal Investigator of “Islam’s ‘Peripheries’” (2026–28), a Volkswagen Foundation project with Aksana Ismailbekova, he develops open-source AI tools for cross-language and conversational search of two multilingual digital collections, from West Africa and Central Asia. He coordinates an international initiative on digital humanities and AI in African Studies, whose work will appear in a co-edited volume with Bielefeld University Press and a special issue of the Journal of the Digital Humanities Association of Southern Africa.
