GnistAI GnistAI
Log in

PRH (Finnish Company Registry)

Finnish company registry — business details, legal form, industry codes, financial statement periods from PRH open data.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 Legal

Data source: PRH (Patentti- ja rekisterihallitus / Finnish Patent and Registration Office)

MCP 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"}}}'

API REST API

API Root https://context.gnist.ai/rest/prh/

4 endpoints available:

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())

OpenAPI Spec  ·  Full API Docs

CLI 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_company
Look up a Finnish company by its business ID (Y-tunnus).
ParameterTypeRequiredDescription
business_idstringrequiredFinnish business ID (Y-tunnus) — format "1234567-8" (e.g. "0112038-9" for Nokia).
search_prh_companies
Search the Finnish Trade Register by name, location, company form, or industry.
ParameterTypeRequiredDescription
nameanyoptionalCompany name or partial name to search for.
locationanyoptionalTown or city (e.g. 'Helsinki', 'Espoo', 'Tampere').
company_formanyoptionalCompany form code: 'OY' (private limited), 'OYJ' (public limited), 'KY' (limited partnership), 'OK' (cooperative), 'AY' (general partnership).
business_lineanyoptionalTOL 2008 industry code or text (e.g. '62010' for software development).
max_resultsintegeroptionalMaximum number of results to return (1-50, default 10). (default: 10)
get_prh_financial_periods
List available digital financial statement periods for a Finnish company.
ParameterTypeRequiredDescription
business_idstringrequiredFinnish business ID (Y-tunnus) — format "1234567-8".
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related