Smart Library connects Claude or ChatGPT to a library of Czech insolvency law. The assistant searches and reads the library, then backs each claim with a link to the original document. This page explains how to connect it, what it can do and what data it handles.
What’s in the library
- Statutes in their current wording from e-Sbírka: the Insolvency Act, Civil Code, Civil Procedure Code and Business Corporations Act, plus explanatory memoranda and Ministry of Justice guidance.
- Case law: decisions of the Supreme Court, the high courts and the regional courts, and Constitutional Court rulings on insolvency.
- The insolvency register (ISIR): court decisions and filings, cleaned up and searchable even where the original is a scan.
That’s over 100,000 documents, all in Czech. You can ask in English, but the passages and citations are in Czech. The home page has the exact counts.
Smart Library helps you research the law. It isn’t legal advice.
What you need
- A Smart Library account. You create one by signing in with Google or Apple. The first 14 days are free.
- Claude on any plan, or ChatGPT on a paid plan. Claude Free allows one custom connector.
Connect to Claude
This works in claude.ai and the Claude Desktop app. Once it’s connected, the mobile app has it too.
- Open Settings › Customize › Connectors and choose + Add › Add custom connector. You can also use this link, which opens the dialog already filled in.
- Enter Smart Library as the name and
https://smart-library-legal.swehq.com/mcpas the URL. Leave the advanced settings empty. - Click Continue. Sign in to Smart Library with Google or Apple, then click Povolit (Allow) on the approval page.
Team and Enterprise plans: an Owner adds the connector for the whole organization under Organization settings › Connectors. Each member then clicks Connect and signs in with their own Smart Library account.
Connect to ChatGPT
- On the web, open chatgpt.com/plugins and choose Add › Add custom MCP server.
- Enter Smart Library as the name and
https://smart-library-legal.swehq.com/mcpunder Connection, and keep OAuth as the authentication. - Tick I understand and want to continue and click Create as a plugin. On the plugin page, click Connect and sign in to Smart Library.
Try it
Ask the way you’d ask a colleague. For example:
- “Look up in Smart Library whether an insolvency administrator can challenge invoices the debtor paid to a supplier a few months before insolvency.”
- “What must a proof of claim in Czech insolvency proceedings contain?”
- “Find Czech Supreme Court decisions on debt relief for a debtor who used to run a business.”
If the assistant answers without searching, mention Smart Library in your question.
Tools
- Search by meaning (
search_czech_law) finds passages by what they mean, not by their exact words. It takes up to five topics at once and can be narrowed to a kind of source, a court or a year. - Exact search (
search_czech_law_exact) finds case numbers, reference numbers, sections (§) and the names of laws and documents. - Document outline (
czech_law_document_outline) lists the chapters of a long document. - Read a document (
read_czech_law_document) reads one page of a document, one chapter, or the passages that contain certain words. - Feedback (
send_feedback) tells us what the library was missing or got wrong, or what you said about the answer.
The first four only read. The feedback tool stores a short note for us and never changes or deletes anything. Because it stores something, Claude may ask you to confirm each use.
Citations
Every passage comes with a link to the original document in Smart Library. The link opens the document at the cited passage and highlights it. If you aren’t signed in to Smart Library in your browser, the link asks you to sign in first.
Security and access
- Sign-in uses OAuth 2.1 with PKCE. The assistant registers itself with Smart Library, so there’s no key to copy or store.
- Approval: before anything connects, you see the approval page. It shows which app is asking, which address it will return to, and what it may do.
- Permissions: the connector has one scope,
library:read, to search and read the library. It can’t change the library. It can’t see your files, other connectors, or your conversation beyond what the assistant sends with each tool call. - Sessions: an access token lasts one hour, and refresh tokens change with every use. A connection ends 30 days after you approve it, and then you approve it again.
- Revoking access: remove the connector in Claude or ChatGPT. To also cut it off on our side, email us. If we block an account, all its connections end at once.
- Infrastructure: every connection is encrypted, and the service runs on servers in the EU.
Data we receive
We don’t see your conversation with the assistant. We only get what it sends when it uses a tool:
- what it searched for or read,
- a short note on why it’s using the library (we ask the assistant to leave out names of people), and the name of the model,
- a conversation label, so we can tell which calls belong together,
- feedback it sends us.
We also record which documents it received (not their text), how long each call took, technical details of the connection such as the IP address and the app’s name, and which document you opened from a link. We delete these records after 90 days.
Search terms of the search by meaning go to OpenAI, which converts them into embeddings so we can compare them with the library’s text. OpenAI doesn’t use them to train its models. The privacy policy has the full details.
Troubleshooting
- The assistant doesn’t use the library. Check that the connector is turned on for this chat, and mention Smart Library in your question.
- You’re asked to sign in again. A connection lasts 30 days. Approve it again and carry on.
- A link asks you to sign in. Use the same Google or Apple account you connected with.
- Claude asks to confirm feedback. That’s the feedback tool. You can allow it or deny it.
Support
Email smart-library@swehq.com about connection problems, wrong results or missing documents. Smart Library is run by SWEHQ s.r.o., Prague.