MCP server
The MCP server plugs the Polish Literary Bibliography into your AI assistant. Add it once and ask about Polish literature in plain language: the assistant picks the right searches, and you get answers with authors, titles, journals and PBL record numbers. It's free, it needs no account or key, and it only reads.
Connecting
Step-by-step instructions are in Using PBL with an AI assistant. The short version for Claude: Customize → Connectors → Add custom connector, paste the server address, then on the connector's page set Read-only tools to Always allow so it stops asking before every search.
Claude Code.
claude mcp add --transport http pbl https://patthub-pbl-mcp.hf.space/mcp
ChatGPT. Through developer mode, with no authentication; see the how-to.
Gemini CLI. Add "pbl": {"httpUrl": "https://patthub-pbl-mcp.hf.space/mcp"} under mcpServers in ~/.gemini/settings.json.
Other clients. Technically this is an MCP server (Model Context Protocol), so any client that speaks MCP over Streamable HTTP can use it. Point it at this address:
https://patthub-pbl-mcp.hf.space/mcp
It needs no session state and no sign-in.
What you can ask
- Which reviews of Miłosz's “Świat. Poema naiwne” does PBL record, and who wrote them?
- How many reviews of Wisława Szymborska's books appeared in 1996–1997, and in which journals?
- Which journals wrote about Gombrowicz most often in the 1990s?
- Show me articles about Bruno Schulz published in “Teksty Drugie”.
- Which writers have the most records in the 2004 PBL volume?
- Who reviewed Olga Tokarczuk's books most often?
- How did the number of records about Zbigniew Herbert change from one PBL volume to the next?
Tools
The assistant chooses among seven tools. You don't call them yourself, but knowing they exist helps you ask well.
| Tool | What it does |
|---|---|
search_entities | Find writers, authors, contributors (translators, directors, illustrators), journals, publishers, PBL sections and subject headings by name. Returns their IDs and record counts, most frequent first. |
search_records | Search records by full text (title, people, journal, annotations) and by filters: PBL volume, publication year, record type and kind, writer, author, journal, section, subject heading, publisher. Returns the total number of hits and one page of results, up to 100. |
get_record | Full record: every descriptive field, authors, writers, contributors with their roles, journal with issue and pages, publishers, subject headings, the record it refers to (for a review, the book under review), and how many records refer to it. |
list_related | Records that refer to a given record: reviews and discussions of a book, articles about a work. |
get_entity | Full profile of a writer, author, journal, publisher, section or subject heading, with its record counts by PBL volume and by type. |
group_records | Count records by volume, publication year, type, kind, journal, section, publisher, writer or author, with the same filters as search_records. For overviews and statistics. |
read_docs | A description of the database and its vocabularies: record kinds, contributor roles, subject headings, top-level PBL sections. |
Full-text search takes AND, OR, NOT, quoted phrases, trailing wildcards (Gombrowicz*), and field prefixes: title:, people:, journal:, annotations:, as in people:Szymborska AND title:wiersz*. The data is in Polish, so search terms should be too, but diacritics are optional: “Milosz” finds “Miłosz”. Once the assistant knows a writer's or journal's ID, it filters by that ID, which is more precise than a name in the query.
Data
The Polish Literary Bibliography, compiled by the Institute of Literary Research of the Polish Academy of Sciences (IBL PAN), records publications about literature and literary life in Poland: writers' books and books about them, articles, reviews, literary texts printed in periodicals, as well as theatre productions, radio and TV broadcasts, films and literary events. The server covers about 969,000 records. The 1988–2012 volumes are the most complete. About 97,000 records were created from open data of the National Library of Poland.
A few terms that come up in answers:
- Writer (twórca) is the person a record is about. Author (autor) is who wrote the text, for example a reviewer. The same person can appear in PBL in both roles, under different IDs.
- Volume (rocznik) is the PBL volume a record was registered in. It isn't always the year of publication, which the server can filter by separately.
- Record type:
KSbook,IZAarticle or review,PUliterary text in a periodical,IRevent,SZtheatre,AUradio and TV,FIfilm. Kind (rodzaj) narrows the type down (review, poem, interview and so on).
The server works from a copy of the database taken on 4 November 2026. Changes made in PBL after that date appear with the next update.
What it can't do
- Full text. PBL is a bibliography: the server returns descriptions of publications, not the texts themselves.
- Bulk export. It answers questions; it returns at most 100 records at a time. For counts and overviews, there's
group_records. - Citations. PBL doesn't record who cites whom.
- Editing records. The server is read-only.
Troubleshooting
- The first answer takes a long time. The server goes to sleep after two days without traffic. The first request wakes it up, which can take up to a minute.
- No results for a name that is definitely in PBL. Some people appear under a pseudonym or a cryptonym; ask the assistant to look them up with
search_entities. - An answer looks wrong. Ask for the PBL record numbers it's based on and check them with
get_record. - Claude asks permission for every search. That is Claude's default for every connector. Under Customize → Connectors → PBL, set Read-only tools to Always allow.
Privacy
The server stores no conversation content and no queries. Your assistant sends it only search parameters, and the server sends back results. The published data contains no information about the editorial staff and no internal notes.
Source
The server is open source: huggingface.co/spaces/patthub/pbl-mcp.