
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@matematicsolutions/mcp-krs
Advanced tools
MCP server - Polish KRS registry (Krajowy Rejestr Sadowy) via official MS API
MCP server dla Krajowego Rejestru Sądowego przez oficjalne, darmowe
API Ministerstwa Sprawiedliwości (api-krs.ms.gov.pl/api/krs).
Kancelaria pyta o kontrahenta → Patron zwraca pełne dane rejestrowe: nazwa, forma prawna, NIP, REGON, adres, kapitał, skład zarządu, sposób reprezentacji, prokurenci, główny PKD, status (aktywny / likwidacja / upadłość). Plus URL do wyszukiwarki MS.
Krytyczne dla pracy nad umowami: pytanie „czy ta osoba może sama
podpisać tę umowę za spółkę X" sprowadza się do dwóch ruchów —
krs__get_board z numerem KRS, potem porównanie sposobu reprezentacji
ze stroną podpisującą.
get_entity(krs, rejestr?) — odpis aktualny (pełne dane podmiotu).get_entity_full(krs, rejestr?) — odpis pełny (z historią wpisów).get_board(krs, rejestr?) — skrócona: tylko reprezentacja
(sposób + skład) + prokurenci.Parametry:
krs — 1-10 cyfr, zera wiodące dopełniane automatycznie
(28860 → 0000028860).rejestr — P (przedsiębiorców, default) lub S (stowarzyszeń).Każda zwrotka zawiera structuredContent.citations z polami:
title, url (MS wyszukiwarka), krs, nazwa, nip, regon,
forma_prawna, status, miejscowosc, sad_rejestrowy, rejestr.
Patron czyta pole automatycznie i wystawia w panelu UI jako sekcję „Krajowy Rejestr Sądowy (KRS — MS)".
fetch)@modelcontextprotocol/sdknpm install
npm run build
node dist/index.js
W patron/backend/mcp-servers.json:
{
"name": "krs",
"transport": "stdio",
"command": "node",
"args": ["C:/Users/<TWOJ-UZYTKOWNIK>/mcp-krs/dist/index.js"],
"enabled": true
}
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"s","version":"0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_board","arguments":{"krs":"28860"}}}' \
| node dist/index.js
Powinno zwrócić ORLEN SA, sposób reprezentacji „dwaj członkowie zarządu działający łącznie", skład zarządu, prokurenci + URL.
API MS w odpowiedziach zwraca zamaskowane dane osobowe członków zarządu (gwiazdki w nazwiskach po nowelizacji 2023). Patron przepuszcza to surowo, nie demaskuje. Dla pełnych nazwisk: użytkownik kancelarii otwiera link MS w przeglądarce po zalogowaniu.
Kontrakt API z oficjalnej dokumentacji MS api-krs.ms.gov.pl. Implementacja TS od zera.
MIT.
This server is one of five MCP connectors covering Polish jurisdiction + EU law, used by Patron (AGPL-3.0) and any other MCP-aware legal AI agent.
All five MCP servers share the same structuredContent.citations
contract: each tool returns an array of {title, url, snippet?, ...metadata}
that legal agents can render directly in their citation panel.
See matematicsolutions/.github for the full org profile.
FAQs
MCP server - Polish KRS registry (Krajowy Rejestr Sadowy) via official MS API
The npm package @matematicsolutions/mcp-krs receives a total of 49 weekly downloads. As such, @matematicsolutions/mcp-krs popularity was classified as not popular.
We found that @matematicsolutions/mcp-krs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.