prawo-pl-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PRAWO_PL_MCP_API_KEY | No | ASGI mode only: require this API key (dual-channel). | |
| PRAWO_PL_MCP_TIMEOUT | No | Seconds per tool call after startup. | 90 |
| PRAWO_PL_MCP_AUDIT_DIR | No | Where the JSONL audit log goes. | ~/.matematic/audit |
| PRAWO_PL_MCP_INIT_TIMEOUT | No | Seconds allowed for a connector's first start (includes package download). | 180 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pl_list_sourcesA | List available Polish/EU legal data sources, or inspect one source's live tool schemas. Without arguments: full catalog (id, coverage, capabilities, native tool names,
and Errors: |
| pl_searchA | Unified search across any registered source (SAOS, NSA, ISAP, EUREKA, KIO, UODO...). Common parameters are translated to the source's native names (dateFrom vs
date_from, 0- vs 1-based pages - handled here; Errors: |
| pl_get_documentA | Fetch the full document (judgment, act text, register extract...) from a source.
Errors: |
| pl_callA | Escape hatch: call any native tool of any registered source. For operations the unified tools do not cover: citator (saos_cite_check),
DPA statistics (uodo_stats), procurement-article search (kio_by_pzp_article),
board composition (get_board), regulation comparison (eu_compare), tax
category dictionary (list_categories)... Errors: |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool occupies a distinct layer: discovery (pl_list_sources), search (pl_search), retrieval (pl_get_document), and native access (pl_call). No overlap; pl_call is explicitly for operations not covered by the unified tools.
All tools share a consistent 'pl_' prefix with clear verb-based names (list_sources, search, get_document, call). The pattern is uniform and predictable, with no mixing of conventions.
Four tools is well-scoped for an aggregator server: it provides the essential operations plus an escape hatch for source-specific features, without bloat.
The tool set covers the full lifecycle of legal data access: discover sources, search, fetch documents, and call any native tool for specialized operations. The escape hatch ensures no dead ends.