1Discuss it in Wisp Study first
Open the 2025 Nature Communications paper Orthologous marker groups and switch to “Ask”. It compares the cell clusters of two species with a statistical test. First get the test clear:
AskHow does this paper decide whether cell clusters of two species are the same cell type? Which numbers does its test compare? Write the formulas and give the page and the exact sentence.
It is Fisher's exact test: how many marker groups a pair of clusters shares (X) is compared with how many each of them shares with the other clusters (Y, Z, W). Note the paragraph below the formulas: the expression for W came out of the PDF garbled, the assistant put the minus signs in by sense, and it tells you to check. Keep that for later.
Then ask “What is the significance threshold? How do the authors make sure that the similarity is not due to chance?” The answer: a corrected p value (q value) below 0.01. The method is clear now, and the next step is to write it as code.
2Start the MCP server
Open “Settings › General”, scroll down to “MCP server” and click “Start”. The line under “Local MCP server” turns green and reads “Running: http://127.0.0.1:4878/mcp”, and “Copy config” and “Stop” appear on the right:
- Only programs on this computer can connect, and they have to carry the token. It is made the first time the server starts and stays the same.
- The server is off by default and stops when the app quits; with the window closed and the app left in the background it goes on serving. If you use it every day, turn on “Start with Wisp Study”.
- If another program already uses port 4878, enter another one under “Port”, stop the server and start it again, and change the port in the client too.
- “Reopen where you left off” on the same page is on by default. Leave it on: it is how the client knows which library, paper and conversation the window has open.
3Add it to Claude Code
Click “Copy config”. This is what you get, with your token in place of …:
{
"mcpServers": {
"wisp-study": {
"type": "http",
"url": "http://127.0.0.1:4878/mcp",
"headers": {
"Authorization": "Bearer …"
}
}
}
}
Claude Code reads this form as it is: save it as .mcp.json in the folder you work in. Other clients have their own configuration files and may name the fields differently, so see their documentation. With Claude Code a command does it too; take the token from the configuration above:
$ claude mcp add --transport http wisp-study http://127.0.0.1:4878/mcp --header "Authorization: Bearer …"
Added this way it holds for the current folder only; to have it in every folder, add --scope user.
4Pick up the discussion
Click “Back” in Wisp Study so that the conversation stays in the window. Then open Claude Code in the folder for your code and say what you want:
To Claude CodePick up the discussion I just had in Study. Write that test as a Python function, the way the paper does it. Before you write it, check the original text on page 9 and compare the formulas term by term. Then make up a small example and run it.
It was given neither the paper's name nor any pasted text. These are the tools it called, in order (the first time each is used, Claude Code asks whether you agree):
list_libraries
# openLibrary: L-1794919865367-65179074 Plant single-cell transcriptomics
# openPaper: P-1794919877582-dc124f18 the paper open in the window
# openConversation: C-1796355155199-51a09a6515752558
read_conversation C-1796355155199-51a09a6515752558
# two questions, two answers, the paper ID, page and sentence of each source
read_fulltext P-1794919877582-dc124f18 page 9, pages 1
# the text of page 9
get_paper P-1794919877582-dc124f18
# the record, and where the PDF is on this computer
On page 9 it met the same garbled line: the extracted text is W = XN, M j, i = 1 OMG½i, j X Y Z, without minus signs. So it went to the PDF file itself, at the place get_paper gave. Its own PDF reading needs a program this computer does not have, so it drew page 9 as a picture with a Python library that was already there, looked at it, and found the three minus signs.
Then it wrote omg_test.py, made up an example of three clusters against three and ran it, all in a little over a minute:
pair shared p q (BH) q<0.01
q_xylem / r_xylem 40 1.47e-12 6.62e-12 yes
q_cortex / r_xylem 15 9.99e-01 1.00e+00 no
q_cortex / r_cortex 35 5.09e-10 1.53e-09 yes
q_hair / r_hair 30 4.66e-13 4.20e-12 yes
Its final answer has a table that sets the paper's formulas against the code, term by term. More worth reading is its list of “choices I made, and limits”:
- The paper only says that an FDR correction was applied, not which one; it used Benjamini–Hochberg.
- It takes the top 200 genes first and maps them to groups afterwards; several genes of a cluster in the same orthologous group count once. Page 9 does not spell this out.
- On page 9 the letter N is the number of clusters in species 2, on page 2 the number of marker genes; the code calls the latter
top_n.
It also said what it had not done: R is not installed on this computer, so the function was not compared with the fisher.test the paper uses. Do that once before you rely on it.
5Back to the window for a look at the page
Both assistants said the same thing: the line for W is garbled in the extracted text. One read it by sense, the other from a picture of the page. The last look is yours. Open the PDF in the window, go to page 9 and zoom to 200%:
All three minus signs are there, and under the sums of Y and Z stand j ≠ J and i ≠ I, as in the code. The paragraph that follows says “an FDR correction” and indeed not which one.
6What it can read and what it can change
- Conversations are read-only. The client can read your conversations but not write into them, and what you discuss in Claude Code does not come back into a conversation in Wisp Study.
- Libraries can be changed. The server has the same tools as
wisp mcp, including those that change data, such as creating a library, importing and writing a manuscript. When the client calls one, it is done; Wisp Study does not ask you again. When the client itself asks, read the tool's name before you agree. - If it should only read, do not use the server the window starts but
wisp mcp --read-only; Keep up with new papers shows how to set it up. It can read conversations too. - What it cannot read: of pictures sent with a question it gets only the number, not the picture; and a conversation on the home page that has not become a library yet is not handed over as the one open.
Recap
- Under “Settings › General › MCP server” click “Start”, then “Copy config”, and paste it into the client; only programs on this computer that carry the token can connect.
- Tell the client “pick up the discussion I just had in Study”: it learns from
list_librarieswhat the window has open, reads the conversation and its sources withread_conversation, and then the original text by page. - This time it wrote the paper's test as a function and said which points the paper leaves open and it decided itself.
- Text extracted from a PDF loses symbols of its formulas; for a formula, go back to the window and look at the page.
- The server the window starts can change libraries; for reading only, use
wisp mcp --read-only.