wikicitation-mcp
Integrates with Wikipedia to fetch edit histories, analyze citations, compute SciScore, and extract DOIs, ISBNs, and references from article content.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wikicitation-mcpShow top cited papers in 'mRNA vaccine'."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wikicitation-mcp
Wikipedia citation-science tools for Claude — pure Python, no R required.
An MCP server that exposes 40 tools to
Claude Code, Claude Desktop, and claude.ai.
Ask Claude to fetch Wikipedia edit histories, analyse citations, score
scientific quality, and annotate DOIs and ISBNs — all without leaving the chat.
What you can do
Category | Examples |
Edit history | Full revision history, first/latest wikitext, category-wide sweeps |
Citation analysis | Count DOIs/refs/ISBNs, extract CS1 templates, compute SciScore |
DOI & ISBN annotation | Enrich DOIs via CrossRef / EuropePMC / Altmetric; books via Google Books / Open Library |
Related MCP server: Wikipedia MCP Server
Installation
Option A — PyPI (recommended)
No clone needed. uvx downloads and runs the package in one step:
# Requires uv (https://docs.astral.sh/uv/)
uvx wikicitation-mcpOr install permanently with pip:
pip install wikicitation-mcp
wikicitation-mcp # starts the stdio serverOption B — From source
git clone https://github.com/jsobel1/wikicitation-mcp.git
cd wikicitation-mcp
uv sync
uv run python server.pyConnect to Claude
Claude Code (CLI) — PyPI
claude mcp add wikilite -- uvx wikicitation-mcp
claude mcp listClaude Code (CLI) — from source
# Run from inside the cloned directory
claude mcp add wikilite -- uv run python server.pyClaude Desktop — PyPI
Edit ~/.claude/claude_desktop_config.json
(Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"wikilite": {
"command": "uvx",
"args": ["wikicitation-mcp"]
}
}
}Claude Desktop — from source
{
"mcpServers": {
"wikilite": {
"command": "uv",
"args": [
"run", "python",
"/ABSOLUTE/PATH/TO/wikicitation-mcp/server.py"
],
"cwd": "/ABSOLUTE/PATH/TO/wikicitation-mcp"
}
}
}Restart Claude Desktop — the wikilite server appears in the toolbar.
claude.ai (web, HTTP transport)
uvx wikicitation-mcp --transport streamable-http --port 8000
# Then in claude.ai → Settings → Connections → Add MCP server
# URL: http://localhost:8000/mcpQuick start
Once connected, try these prompts in Claude:
Fetch all edits to the Wikipedia article "Circadian clock" up to today.Count all DOIs, references, and ISBNs in this wikitext: [paste wikitext]Calculate the SciScore for "Sleep deprivation".Extract all citations from "CRISPR" — how many are journals vs websites vs books?Show me the top 20 most-cited papers in the Wikipedia article "mRNA vaccine".Annotate these DOIs with CrossRef metadata:
10.1038/nature12373, 10.1016/j.cell.2020.01.001Usage notes
date_limit is an upper bound
date_limit controls the newest revision returned, not the oldest.
To retrieve edits "since 2023", pass today's date as the limit and filter
the returned rows by timestamp.
SciScore
get_sci_score returns two metrics:
Field | Formula | Meaning |
| journal citations ÷ total CS1 citations | Proportion of references that are peer-reviewed journal articles |
Range 0 to 1; higher = more scientifically sourced.
Altmetric
Altmetric returns attention scores without an API key for most DOIs and ISBNs.
If a DOI or ISBN is not indexed, altmetric_score will be null.
For production use, set the ALTMETRIC_KEY environment variable.
Tool reference
Group 1 — History & metadata (14 tools)
Tool | Key arguments | Returns |
|
| revision table (revid, user, timestamp, size, comment) |
|
| metadata + full wikitext |
|
| first-ever revision metadata + wikitext |
|
| pageid, title, byte length |
|
| initial + recent + history + info in one call |
|
| list of article titles |
|
| structured page table (pageid, title, type) |
|
| direct subcategories |
|
| subcategories for N categories |
|
| recursive subcategories |
|
| pages for N categories |
|
| revision table for a list of articles |
|
| metadata + wikitext for a list of articles |
|
| creation-revision metadata for a list of articles |
Group 2 — Citation counting, extraction & quality (19 tools)
Tool | Key arguments | Returns |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| list of CS1 template strings |
|
| list of |
|
|
|
|
|
|
|
| list of regex matches from live article |
|
| all built-in pattern matches (doi, url, isbn, pmid, …) |
|
| structured citation rows (cite_type, doi, author, year, title) |
|
| long-form table: one row per citation field |
|
| citation counts by CS1 type |
|
| citation counts by CS1 type from raw wikitext |
|
|
|
|
| top 40 DOIs annotated via EuropePMC |
|
| revert-tagged edit counts by article (≤30-day window) |
Group 3 — DOI & ISBN annotation (7 tools)
Tool | Key arguments | Returns |
|
| title, journal, pubYear, citedByCount, isOpenAccess, … |
|
| title, authors, journal, year, publisher, citation count |
|
| Altmetric score, tweet count, news mentions, … |
|
|
|
|
| title, authors, publisher, publishedDate, description |
|
| title, authors, publishers, publish_date, page count |
|
| Altmetric score per ISBN |
Running tests
# Unit tests — no network required
uv run pytest tests/ -m "not integration" -v
# Integration tests — require internet
uv run pytest tests/ -m integration -v
# Full suite
uv run pytest tests/ -vTroubleshooting
uvx: command not found
Install uv first:
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"Server not appearing in Claude Code
claude mcp remove wikilite
claude mcp add wikilite -- uvx wikicitation-mcp
claude mcp listModuleNotFoundError: No module named 'mwparserfromhell'
The venv is missing a dependency. Run uv sync inside the cloned repo, or
reinstall via pip install wikicitation-mcp.
get_revert_counts returns no results
The Wikipedia recentchanges API only retains ~30 days of history. Requests
for date ranges older than that will return empty results.
Related projects
These three projects share the same core analysis logic at three different levels of interactivity — pick the one that matches how you want to work.
Project | Interface | When to use |
wikicitation-mcp (this repo) | MCP server for Claude Desktop / Claude Code / claude.ai | You want to ask Claude questions in natural language and have it call the tools for you. Pure Python, no R required. |
R package | You want a programmable pipeline in R / R Markdown / Quarto with full access to revision tables, citation parsers, and ggplot2 / plotly / visNetwork output. | |
Shiny web app (built on | You want a point-and-click GUI: per-article tabs (History Flow, Citations, Authorship, Stability with SciScore-over-time, Vandalism & Wars, WikiWho-powered Revision Inspector) and a Corpus Analysis mode (multi-corpus timeline, per-article + per-corpus SciScore, co-citation / publication / wikilink networks, batched EuropePMC + Google Books annotation, multi-sheet XLSX exports). |
External references
Model Context Protocol — MCP specification
FastMCP — Python MCP framework used here
mwparserfromhell — wikitext parser
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsobel1/wikicitation-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server