Summary
Swiss Official Gazette of Commerce (SHAB/FOSC/FUSC) and cantonal gazettes on amtsblattportal.ch, no API key: search commercial register entries, bankruptcies, debt enforcement, calls to creditors and other legal notices by company UID, name, rubric, canton and date, and read a publication in full or as signed PDF.
Guided setup
Connect SHAB Swiss Official Gazette of Commerce to ChatGPT in 2 minutes
Start a free trial on AnythingMCP Cloud, connect SHAB Swiss Official Gazette of Commerce in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.
Try asking
Example prompts for SHAB Swiss Official Gazette of Commerce
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → SHAB Swiss Official Gazette of Commerce, install it with no key, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
SHAB Swiss Official Gazette of Commerce + ChatGPT
Swiss Official Gazette of Commerce (SHAB/FOSC/FUSC) and cantonal gazettes on amtsblattportal.ch, no API key: search commercial register entries, bankruptcies, debt enforcement, calls to creditors and other legal notices by company UID, name, rubric, canton and date, and read a publication in full or as signed PDF.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
(none: public data, no API key)
Step 1 — Set up the connector
Public data, no key: setup takes under a minute. The connector reads the open API of the Swiss official gazettes portal (amtsblattportal.ch, run by the State Secretariat for Economic Affairs SECO): the Swiss Official Gazette of Commerce (SHAB in German, FOSC in French, FUSC in Italian, SOGC in English) and the cantonal official gazettes that publish there. Every commercial register entry in Switzerland, bankruptcies, debt enforcement, composition proceedings, calls to creditors and other legal notices appear here. No account, API key or sign-in is needed.
- In the connector store, pick SHAB Swiss Official Gazette of Commerce and install it. There is nothing to paste and no Authorize with Provider step.
- Check it with
shab_search_publications, a company name inkeywordandtenantset toshab: it lists that company's publications in the federal gazette.
Cloud and self-hosted work the same way: there is nothing to configure in either.
Where to start: shab_search_publications follows a company by its UID (uids, for example CHE-123.456.789, the most precise) or by name (keyword), or watches a market with rubrics and sub_rubrics, cantons and a date range (date_start, date_end, YYYY-MM-DD): for example every new bankruptcy (sub-rubric KK02) in canton ZH this week. Set tenant to shab to stay in the federal gazette, or to a cantonal gazette code such as kabzh. shab_get_publication with the meta.id of a result returns the full text and structured content, and shab_get_publication_pdf the signed PDF.
Rubrics: HR commercial register entries (HR01 new entry, HR02 change, HR03 deletion), KK bankruptcies (KK01 prior notice, KK02 publication and call to creditors, KK03 suspension for lack of assets, up to KK08 property auction), SB debt enforcement, NA composition proceedings, LS calls to creditors after liquidation, SR other calls to creditors (mergers, capital reductions), UP notices to company members (UP04 invitation to the general meeting) and more. Cantonal gazettes have their own rubrics with a canton suffix.
Reading the data: a commercial register entry carries the daily journal number and date, the official text, and the company with name, UID, seat, legal form (for example 0106 AG/SA, 0107 GmbH/Sàrl, 0108 co-operative, 0110 foundation), purpose, capital and the people whose signing rights changed; on a change, the previous values are included too. Texts are in German, French or Italian depending on the canton; titles also come in English.
Read-only: every tool only reads published notices, so there is nothing to confirm and no tool is switched off at install.
Limits: page starts at 0 and size goes up to 2,000, but items are large, so the AI keeps 20 to 100. Only published notices are available without an account. The operator does not guarantee the completeness or accuracy of API data: only the signed PDF of a publication is legally binding.
Not included: the Zefix central business name index (company search with current register data) is a separate federal API that needs credentials from the Federal Office of Justice. Use the SHAB commercial register publications here instead.
The connector does not publish notices and does not change anything in the commercial register.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in ChatGPT
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.
- Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
- Enter a name, e.g. Name:
SHAB Swiss Official Gazette of Commerce. - Under Connection, enter the Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Available tools
| Tool | What it does |
|---|---|
shab_search_publications | Search published notices of the Swiss Official Gazette of Commerce (SHAB/FOSC/FUSC) and the cantonal official gazettes on… |
shab_get_publication | Get one publication with its full content (the XML export, returned as structured data): meta (rubric, sub-rubric, publication number and… |
shab_get_publication_pdf | Download one publication as the PDF document attached to the result |
Example prompts
- "Show all SHAB publications for the company with UID CHE-123.456.789 in the last two years."
- "List the new bankruptcies (KK02) published in canton Zurich this week."
- "What changed in the commercial register for our supplier in its latest HR02 entry: board, signing rights or capital?"
- "Find invitations to the general meeting (UP04) published this month in the federal gazette."
- "Download the signed PDF of the latest commercial register entry for this company."
FAQ
Can it search companies like Zefix? No. Zefix is a separate federal API that needs credentials. This connector finds companies through their SHAB publications, by UID or by name.
Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.
Next steps
Was this guide helpful?