Tools & how-to

Eliminate AI agent hallucinations about primary sources, papers and patents. The MCP server that checks sources

Published 8 min read

Ask an AI assistant about papers, patents or laws, and the answer may include a paper title that does not exist or a number that is not real. This is what people call a hallucination. In this article, we show a way to work where Factdock runs behind your usual AI agent and brings back deep primary sources when you need them. You will not be misled by hallucinations, and you can choose and check the primary sources yourself.

A smartphone with an AI assistant open, standing in front of a computer

Introduction: AI is useful, but some tasks need sources

ChatGPT, Claude, Perplexity, Gemini, Qwen. AI assistants are very useful for research and for summarizing text. For general questions, they give fast and clear answers.

But in the situations below, you need to check each part of the answer against primary sources.

  • Before you cite a paper, you want to check that it really exists and that the numbers are right
  • You want to check a patent number or the content of an application in the official gazette
  • You want to check that the text of a law is the correct version that is in force today
  • You want to reach deep primary sources, the kind that sit on page 10 of the search results

AI builds its answers from what it learned and from the pages that rank near the top. So checking sources one by one, or tracing back to official documents deep in the web, is more reliable with a separate tool.

A person typing instructions into an AI tool on a laptop and a monitor

Different strengths: AI for summaries, Factdock for primary sources

Factdock specializes in finding primary sources that are hard for AI to reach. It does not compete with your usual AI. It is a tool that works behind your usual AI agent. You keep talking to your usual AI, and only when needed, Factdock brings back deep primary sources.

  • Your usual AI — general research, summarizing text, organizing your thoughts
  • Factdock — finding primary sources where mistakes are not acceptable, such as papers, patent gazettes, statutes, and public statistics and registers, as official originals with sources

Factdock does not replace what it finds with a summary. It returns the original text and the source URL as they are. Translations and summaries are only placed next to the original. So you can later check the basis of the AI's answer in the original.

Another difference is how the answer is delivered. An AI agent pulls out information, summarizes it and gives you one answer. Factdock shows what it found as a list with sources. While looking at the list, you can choose the information you really need and open the original to check it.

For general, broad topics, AI agents such as Claude and ChatGPT are the better fit. They find answers quickly and summarize them clearly. Factdock, on the other hand, uses a proprietary search engine with a patent pending and finds deep information by a different method from AI agents.

So we recommend this split. For everyday searches, ask your usual AI agent. When you need deep information, or information where accuracy matters, use Factdock. Factdock is easy to call from within your AI agent, so you can switch without leaving the conversation.

Records from real comparisons

Factdock publishes records where we asked the same question to Factdock, general web search and AI search, and compared the results. Here are a few (the counts are the number of results that matched the question, found on that day).

  • Research on mold toxins (aflatoxins) in maize and beans in Rwanda (asked in Kinyarwanda) — Factdock 8 papers / general web search 0 (mostly news and encyclopedias) / AI search 2
  • Latest figures on Cameroon's policy rate and inflation (asked in French) — Factdock 17 / general web search 8 / AI search 0
  • Importers and distributors of Japanese cosmetics in Vietnam (asked in Japanese) — Factdock 19 companies / general web search 1 / AI search 11. Of these, 17 companies were found only by Factdock
  • Registration, shareholder and enforcement records of a state-owned logistics company in India (asked in Malayalam) — Factdock 30 / general web search 7 / AI search 2

None of these records means that AI agents are bad. AI agents are good at summarizing clearly based on the information that ranks near the top. Factdock is good at going, in the local language, to deep primary sources such as papers and official documents. Their strengths are different, so using them together is the most reliable way.

Each record shows the search results on its date. Even for the same question, the results may change from day to day.

Connect Factdock to your usual AI with MCP

MCP (Model Context Protocol) is a way to give external "tools" to an AI assistant. When you connect the Factdock MCP server, your usual AI agent calls Factdock search behind the scenes when needed. The AI receives primary sources with citations before it answers, so you can choose and check the primary sources behind the answer.

  • Claude — Connect it as a custom connector by pasting the connection URL
  • ChatGPT — Connect an external MCP server from developer mode (creating an app). For the plans that support it, please check OpenAI's guidance
  • Perplexity — Connect an external MCP server as a custom connector. For the plans that support it, please check Perplexity's guidance
  • Gemini CLI and Qwen Code — Add the MCP server to the settings of these developer tools

The connection URL is `https://fact-dock.com/mcp`. You sign in with your Factdock account. For detailed steps, see our article on how to connect Factdock to your AI assistant.

Whether you can connect an external MCP server depends on each service's plan, settings and the regions where it is offered. For the latest support status, please check each service's official guidance.

A screen where Factdock search results come back with sources inside an AI assistant conversation

Primary sources you can check from the conversation

Papers: check that they exist and check the DOI

You can search academic papers and medical and veterinary literature. For each paper, Factdock matches the DOI and checks that the title agrees. For medical and veterinary literature, it also recalculates the case counts and percentages stated in the abstract to check that they add up. It never makes up numbers that are not in the abstract.

Patents: check the gazette number and the original text

You can look up patent gazettes with their numbers and original text. In the gazette, you can check whether a number the AI gave really exists and whether the content of the application is right.

Laws: the statutes in force today, in the official original

From the official law databases of national governments, you can look up the original text of the statutes in force today, with their effective dates and amendment history. AI never writes the statute text. Translations are reference translations placed next to the original.

Public data, registers and the local web

You can choose a country and search its local web in its own language. You can also look up company registers, sanctions lists, trade regulations, economic statistics, government tenders, drug databases and more. Everything comes back with the original page and the source URL.

How to check an answer

  • 1. Ask your usual AI — For example: "Find papers showing the outcomes of this treatment, with sources"
  • 2. Confirm the country and language — The AI first confirms which country and which language to search in, then searches
  • 3. Receive results with sources — The AI receives results with the original text, URL, DOI, gazette number and so on
  • 4. Check the original — For anything that concerns you, open the original from the source link and check it

You can also keep the results as a share link, or as a Word, PDF or Markdown document.

What we care about

  • No information without a source — Every result comes with the URL or number of the original page
  • The original is never replaced — Translations and summaries are only placed next to the original. The original is what counts
  • People do the checking — Do not use the AI's answer as it is. Check it against the original source first
  • Confirm the country and language first — Before searching, make clear which country's information you are looking for

Even with Factdock connected, the AI may still rephrase or mix things up when it summarizes the information it received. Before any important decision, always check the original source.

Who we built this for

  • Researchers, physicians and veterinarians — When you want to check a citation against its DOI and original text
  • IP and legal staff — Check patent numbers and statutes against the gazette and the official original
  • People who build AI agents — When you want your agent's answers to carry sources that can be checked
  • People who want to research in their native language — Primary sources in a foreign language, with translations into your language

Pricing

Factdock is available from $3. Searches called through MCP cost the same as in the app and use the credits of your current plan. The tool that returns the price list is free, and each result tells you how many credits it used.

Conclusion

Use your usual AI for general research and summaries. Use Factdock, working behind it, for primary sources where mistakes are not acceptable and for deep information hidden far down. When you split the work by strength and combine the two, you are not misled by hallucinations, and you can choose and check the primary sources yourself.

To start, connect Factdock to the AI you use, and try it with a paper or patent you care about.

What it is

Factdock in 2 minutes 30 seconds

The video is in English. You can choose subtitles in your language from the player settings.

Frequently asked questions

If I connect Factdock, will hallucinations disappear?

We cannot say that mistakes will disappear completely from AI answers. Factdock brings back primary sources as originals with sources, behind your usual AI agent. So you are not misled by hallucinations, and you can choose and check the primary sources yourself. Before any important decision, please check the original source.

Which AI can I connect it to?

You can connect it to AI assistants and developer tools that support MCP. For example, Claude, ChatGPT, Perplexity, Gemini CLI and Qwen Code. Whether you can connect depends on each service's plan and settings, so please check each company's guidance.

How is Factdock different from an AI summary?

AI agents are good at summarizing general, broad topics quickly and clearly. Factdock uses a proprietary search engine with a patent pending to find primary sources such as papers, gazettes, statutes and public data, as originals with sources, by a different method from AI agents. We recommend using AI agents for everyday searches and Factdock when you need deep or accurate information.

Can I use it in English?

Yes. You can receive translations and guidance in English. Besides English, it works the same way in 109 languages, including your native language.

Does it cost anything?

Factdock is available from $3. Searches called through MCP cost the same as in the app and use the credits of your current plan.

Our own patent-pending search engine

Give your AI's answers sources you can check.

Behind your usual AI agent, Factdock brings back papers, patents, statutes and public data as official originals with sources. Available from $3.