Guides

How does MCP for research work from source to report?

Research fails in the handoff, not in the search. The source is found, the claim is written, and the link between them is lost. A working MCP setup keeps that link: every claim carries where it came from and when it was read.

Three facts to cite

FactValueWhy it matters
VersionMesocosm Desktop 0.1.5, verified 2026-10-29; MCP spec revision 2026-07-28The six research services and 37 tools match this build
Permission7 read-only services, 37 tools, 0 write toolsEvidence comes in; the report is stored in the Space, not written back
Limit45s per call, 90s for Supabase, 240s for DeepWiki, 1 MiB per responseA wide query fails on size or time before it fails on truth

The pipeline in seven stages

A research task is a loop, not a straight line, but it has seven identifiable stages.

  1. Question. Write the question and the decision it informs. A vague question produces a board nobody reads.
  2. Retrieve. Search where the evidence is: papers, repositories, docs, internal notes.
  3. Capture. Pull the exact text, row, or file, not a summary of it.
  4. Store. Write into Space data with source, timestamp, and locator. This is the stage most setups skip.
  5. Query. For measured claims, run read-only SQL against the project that owns the data.
  6. Analyze. Compare, weigh, and mark what is still unknown.
  7. Publish. Render the board or draft the report inside the Space; a person signs off.

Stages four to seven are the loop behind Mesocosm's AI deep research tool; this setup adds the read-only data layer around it.

Which service for which stage

StageServiceToolWhat to keep
Retrieve papers and modelsHugging Facepaper_search, model_searchPaper id, title, date, URL
Retrieve repository docsDeepWikiread_wiki_structure, ask_wiki_questionRepo, question, answer, date
Capture code and issuesGitHubget_file_contents, issue_readCommit or file path, line range
Capture internal notesNotionnotion-search, notion-fetchPage id, section, last edited
Capture team contextSlacksearch_public_and_private, read_threadChannel, thread id, message time
Query measured dataSupabaseexecute_sql, list_tablesProject ref, query, row count

Slack is the conditional one. It answers "what does the team already believe", which is useful context and weak evidence. Label it as context in the board, not as a source of fact.

Supabase deserves one warning: the SQL path is read-only and capped at 90 seconds. New findings are written into Space data, not back into Supabase. Research output and production data stay separate.

Ask the Agent to build the board

Tell the Agent what the board should contain; it handles the tools and the build:

"Collect evidence for the pricing question from Notion, DeepWiki, GitHub, and Supabase. Build a research board where every claim has a source, a date, and a quote. Mark anything you cannot verify as unverified."

The Agent calls the tools, stores the results in Space data, and builds the table, the answer block, and the cards. One request, one board; the Agent can refresh it weekly or when someone asks for an update.

That is what MCP alone does not give you. The connectors retrieve; the Agent decides what a board means, what a row contains, and who can re-run it.

Verification: four checks before you cite

A claim is only as good as the record behind it. Check four things, in this order.

  • Source. Does the URL or id resolve to the page you read? A search result is not a source; the page is.
  • Date. When was it read, and when was it last edited? Store the captured date next to the vendor's own updated time, and show both.
  • Citation. Can you point to the sentence or row? Keep a quote of the span, not a paraphrase, or the next reader cannot verify it.
  • Permission. Was this data allowed into the Space? A private Notion page or a private Slack thread may not belong in a shared board.

The fourth check is the one people skip. A board that mixes a public paper with a private channel quote is a permissions problem wearing a research costume.

Two limits to plan around

Source coverage is bounded by the catalog

Seven services cover public research well and internal research unevenly. There is no general web search in the catalog, no paywalled journal access, and no warehouse of analyst reports. DeepWiki only reads public repositories; Hugging Face only covers what your token can see.

Plan the gaps explicitly. If a question needs sources outside the catalog, the honest answer is that this setup gives you the space to record them, not the means to fetch them.

Citations still need a human check

Every tool returns what the vendor returns. A wiki answer can be outdated, an issue can be closed as wrong, and a search result can be a different paper with a similar title. Moving the text into a board does not make it true.

Check the citation against the page before it reaches a reader. The Agent can assemble the evidence; it cannot take responsibility for the claim.

Common questions

Which servers should I use?

Start with two: one for discovery and one for your own material. DeepWiki or Hugging Face for external evidence, Notion for the notes you already trust. Add GitHub when code is the evidence, Supabase when a number must be measured, Slack only for team context.

Can I run this for free?

The vendor side can be free: DeepWiki needs no account, and the other services usually offer a free tier; check current vendor terms. Model usage inside Mesocosm is metered by credits on your plan, and every vendor still applies its own rate limits.

Can it write the report automatically?

It can draft into the Space, render a board, and let you review it. It cannot publish into Notion or Supabase, because the seven services are read-only. Automatic drafting plus human sign-off is the honest description.

How do I keep citations accurate?

Store the URL, the captured date, and a quote for every claim, then cite the stored snapshot rather than a live call. Before publishing, open each source and confirm it still says what the board says. Mark anything you could not reopen as unverified.

Sources