theses-mcp
MCP server that enables searching and retrieving Czech university theses from theses.cz, including full-text search, metadata, and direct PDF downloads with optional cookie-based authentication.
README
theses-mcp
MCP server for theses.cz — the Czech national registry of university theses (~1M records from most Czech universities, operated by the Faculty of Informatics, Masaryk University).
Gives any MCP client full-text search over Czech bachelor/master/doctoral theses, their metadata, and direct links to the publicly readable PDFs.
Tools
| Tool | What it does |
|---|---|
search(query, limit=10) |
Search records and thesis full texts. Supports theses.cz operators (AND, OR, "phrase"). Paginates by 10, max 50. |
detail(id_or_url) |
Full record: author, CS/EN title and abstract, keywords, supervisor and opponent, defense date, full-text availability, school archive link, related theses. |
fulltext(id_or_url) |
Follows the record into the school's own repository and lists the downloadable files — the thesis PDF plus supervisor/opponent reports. |
search returns two kinds of hits:
kind="record"— a catalogue record;urlpoints to the detail pagekind="fulltext"— a match inside the thesis PDF;pdf_urlis a direct link to the full text, which your client can read directly
Getting the PDF
theses.cz stores metadata only — the files live in each school's own system. 64
institutions are registered, but they are not 64 different problems: the large majority run
the same IS software as theses.cz itself (is.muni.cz, is.slu.cz, is.ambis.cz,
is.vsfs.cz, is.jamu.cz, …), with vskp.vse.cz and a few others alongside. fulltext
follows the record into whichever one it is and lists the documents on offer:
{
"access": ["světu"],
"archive_url": "https://is.muni.cz/th/avwwh/",
"files": [
{"label": "Plný text práce", "url": "https://is.muni.cz/th/avwwh/Moutelik_Bakalarska_Prace_Final.pdf"},
{"label": "Posudek vedoucího", "url": "https://is.muni.cz/th/avwwh/posudek_vedouciho_Minjarikova.pdf"}
]
}
access does not decide what you can download. It describes the copy held by
theses.cz, not the school's own policy. The VŠE thesis pl09jx is marked "autentizovaným
zaměstnancům ze stejné školy/fakulty" on theses.cz while vskp.vse.cz links its 7.2 MB
PDF to anyone — so always look at files, not at access.
That link had no .pdf in the URL; the filename was only in the link text. Files are
therefore matched by href and by label, and extensionless URLs are confirmed with a
HEAD request (confirmed, content_type) rather than optimistically reported as PDFs.
What actually comes back
Measured over ~500 records from 20 unrelated subject searches, covering 17 distinct repository hosts:
| repository | schools | result |
|---|---|---|
is.muni.cz |
Masaryk University | works — full text, both reviewer reports, often DOCX and TXT |
vskp.vse.cz, www.vse.cz |
VŠE Praha | works — thesis, appendix, both reports (extensionless /zp/ URLs) |
hdl.handle.net |
DSpace repositories, e.g. VŠB-TUO | works — handle redirects to the repository, bitstreams confirmed |
is.ambis.cz, is.vsfs.cz, is.slu.cz, is.caritas-vos.cz, is.vstecb.cz, is.vszdrav.cz, is.cevro.cz, is.ucp.cz, is.jamu.cz, is.jabok.cz |
AMBIS, VŠFS, SU Opava, CARITAS, VŠTE, VŠ zdravotnická, CEVRO, UCP, JAMU, JABOK | CAPTCHA for anonymous visitors |
is.vsh.cz, is.vshe.cz |
VŠH, VŠHE | broken TLS certificate (hostname mismatch) |
evskp.uhk.cz |
Hradec Králové | different system, not implemented |
stag.upol.cz, portal.ujep.cz |
UPOL, UJEP | STAG portal, not implemented |
theses.cz lists 64 participating institutions; roughly twenty never appeared in the sample, so their repositories are untested rather than known-good.
The CAPTCHA is not bot detection — is.muni.cz serves this same client fine. Those
schools gate anonymous access, and a human in a browser meets the same wall. This server
reports it and does not try to defeat it.
Using your own login
The way past a gate is to be someone entitled to pass it. Theses marked "všem autentizovaným" (any authenticated user) and repositories that gate anonymous visitors both open up once you are logged in. Log in through your browser, copy the session cookie and hand it over per host:
THESES_COOKIES='{"theses.cz": "__Host-issession=…", "is.vsfs.cz": "__Host-issession=…"}'
Cookies are scoped to their own domain and are never sent to any other host. This gets you what your account is entitled to — nothing more.
Known gaps
- STAG portals (
stag.upol.cz, same software at ZČU, UPCE, JČU, TUL) put the download behind a session-bound portlet flow withpc_phsand_csrfparameters, and UPOL does not expose the STAG web service at the usual/ws/services/rest2/path. evskp.uhk.czandportal.ujep.czare their own systems, unparsed.is.vsh.cz,is.vshe.czserve certificates that do not match their hostname. The session verifies TLS and so refuses them; turning verification off would fix the symptom and remove the guarantee that you are talking to the school at all.
PRs welcome.
Install
Claude Code:
claude mcp add theses -s user -- uvx --from git+https://github.com/koprjaa/theses-mcp theses-mcp
Any other client, in mcpServers:
{
"theses": {
"command": "uvx",
"args": ["--from", "git+https://github.com/koprjaa/theses-mcp", "theses-mcp"]
}
}
From a clone, use pip install -e . and command: "theses-mcp".
Example
> find Czech theses about Midjourney and copyright
search("midjourney AND autorství") → 12 hits, incl. public PDFs
detail("c5uqln") → abstract, keywords, supervisor, defense date
fulltext("7lfo74") → PDF, DOCX and both reviewer reports
Notes
theses.cz is scraped, not queried through an API — it has no public one. Two consequences:
- Session bootstrap. The first request returns a 117-byte
<meta refresh>stub; the server retries once with the__Host-issessioncookie it just received. - Markup drift breaks parsing.
python theses_mcp.py --selftestruns a live check against known records and fails loudly when the selectors stop matching. Run it first when results look empty.
Be a decent citizen with request rates.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。