Legal
Data source: PRH (Patentti- ja rekisterihallitus / Finnish Patent and Registration Office)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/prh/
claude_desktop_config.json
{
"mcpServers": {
"gnist-prh": {
"url": "https://context.gnist.ai/mcp/prh/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/prh/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "lookup_prh_company", "arguments": {"business_id": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/prh/
4 endpoints available:
GET /rest/prh/lookup_prh_companyGET /rest/prh/search_prh_companiesGET /rest/prh/get_prh_financial_periodsGET /rest/prh/report_feedback
Shell
curl "https://context.gnist.ai/rest/prh/lookup_prh_company?business_id=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/prh/lookup_prh_company",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"business_id": "example"
},
)
print(resp.json())
Command Line
Command
gc prh
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
lookup_prh_companyLook up a Finnish company by its business ID (Y-tunnus).
| Parameter | Type | Required | Description |
|---|---|---|---|
business_id | string | required | Finnish business ID (Y-tunnus) — format "1234567-8" (e.g. "0112038-9" for Nokia). |
search_prh_companiesSearch the Finnish Trade Register by name, location, company form, or industry.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | any | optional | Company name or partial name to search for. |
location | any | optional | Town or city (e.g. 'Helsinki', 'Espoo', 'Tampere'). |
company_form | any | optional | Company form code: 'OY' (private limited), 'OYJ' (public limited), 'KY' (limited partnership), 'OK' (cooperative), 'AY' (general partnership). |
business_line | any | optional | TOL 2008 industry code or text (e.g. '62010' for software development). |
max_results | integer | optional | Maximum number of results to return (1-50, default 10). (default: 10) |
get_prh_financial_periodsList available digital financial statement periods for a Finnish company.
| Parameter | Type | Required | Description |
|---|---|---|---|
business_id | string | required | Finnish business ID (Y-tunnus) — format "1234567-8". |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |