Listed from the MCP registry; nobody on Odel publishes it.
Check that a quoted passage appears word for word in its cited source (URL, DOI or PubMed ID).
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx quotecheck-mcp
MCP client config
{
"mcpServers": {
"quotecheck": {
"command": "uvx",
"args": [
"quotecheck-mcp"
]
}
}
}Does the quoted passage actually appear in the source?
AI agents (and people) often cite real sources but misstate what those sources
say: real references, wrong claims. quotecheck fetches the cited source and
checks that the quoted text is really there, word for word, and tells you where.
$ quotecheck "Mulberry trees" "https://en.wikipedia.org/wiki/Morus_(plant)"
{
"status": "EXACT",
"char_start": 9271,
"char_end": 9285,
"similarity": 1.0,
"snippet": "Mulberry trees",
"source_final_url": "https://en.wikipedia.org/wiki/Morus_(plant)",
"reason": null
}
Built by Feenmile.
| status | meaning |
|---|---|
EXACT | The quote appears in the source text after normalizing whitespace, curly quotes and dash styles. Matching is case-sensitive. |
NEAR | No exact match, but a passage with similarity >= 0.90 exists (difflib SequenceMatcher ratio). snippet holds the source's actual wording. |
NOT_FOUND | Nothing in the retrievable text is close enough. similarity shows the best score found. |
SOURCE_UNAVAILABLE | The source could not be fetched or read; reason says why. |
char_start / char_end are Python string indices (end exclusive) into the
plain text quotecheck extracted from the source, which you can get with
quotecheck.fetch_source(source).text.
Read NEAR carefully. A NEAR result means the wording differs. A changed
number ("43,548" vs "43,549") or a dropped "not" can still score above 0.90.
Use the returned snippet as the quotation, or rephrase as a paraphrase.
https://... or http://... URLsdoi:10.xxxx/... (resolved through https://doi.org, following the publisher redirect)pmid:12345 (the PubMed abstract, via NCBI E-utilities efetch, plain text)The PyPI distribution is named quotecheck-mcp; the import package and the
command are still quotecheck.
pip install quotecheck-mcp # library + CLI, no dependencies
pip install "quotecheck-mcp[mcp]" # also the MCP server (needs the official mcp SDK)
Python 3.10 or newer.
quotecheck "<quote>" <source>
quotecheck "the exact words" doi:10.1371/journal.pone.0000308
quotecheck --strict "the exact words" pmid:33301246 # exit 1 unless EXACT
echo "a long passage" | quotecheck - https://example.org/article
python -m quotecheck --help
Output is always JSON on stdout. Exit status is 0 when a verdict was printed
(1 with --strict unless EXACT) and 2 for usage errors such as an empty quote.
import quotecheck
result = quotecheck.check("pmid:33301246", "A total of 43,548 participants underwent randomization")
print(result.status, result.char_start, result.char_end, result.similarity)
print(result.to_dict())
# Already have the text? Skip the fetch.
quotecheck.check_text(text, quote, near_threshold=0.90)
The core library uses only the Python standard library.
The server speaks MCP over stdio and exposes one tool, check_quote(quote, source).
{
"mcpServers": {
"quotecheck": {
"command": "quotecheck-mcp"
}
}
}
If the script is not on your PATH, use "command": "python", "args": ["-m", "quotecheck.mcp_server"].
The tool description tells the agent to call it before presenting text as a direct quotation, and how to act on each verdict.
quotecheck fetches URLs that came from model output, so it treats them as untrusted:
http and https; URLs with embedded credentials are refused;quotecheck/0.1 (+https://feenmile.com);SOURCE_UNAVAILABLE with the reason
pdf not supported in v0.1. Many DOIs resolve to a landing page whose
abstract is HTML; the full text may only be in a PDF.SOURCE_UNAVAILABLE) or incomplete (NOT_FOUND).NOT_FOUND or
SOURCE_UNAVAILABLE, which does not mean the quote is wrong.pmid: checks the abstract text, not the full paper.python -m unittest discover -s tests -t .
python scripts/mutation_check.py
The tests are offline. They run a local http.server fixture. Because the
SSRF guard blocks loopback, tests exempt specific fixture (ip, port) pairs
with quotecheck._testing.allow_loopback_endpoints, a test-only switch that is
off unless a test turns it on. A second fixture server is never exempted, so
the tests can prove that a redirect into loopback is refused.
scripts/mutation_check.py copies the project to a temporary directory,
disables the address check, and confirms the suite fails.
MIT. See LICENSE.