GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - prspktvs/suomi-mcp

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
packages
packages
 
 
skills/suomi-mcp
skills/suomi-mcp
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.json
server.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

suomi-mcp

Run a local Model Context Protocol server for Finnish official statistics. The server uses the hosted catalog only for discovery metadata. It retrieves live schemas and data directly from the selected publisher, and performs calculations and numeric checks on your machine.

Quick start

Requires Node.js 22 or later.

npx -y @prspktvs/suomi-mcp

Claude Desktop:

{
  "mcpServers": {
    "suomi-mcp": {
      "command": "npx",
      "args": ["-y", "@prspktvs/suomi-mcp"]
    }
  }
}

Claude Code:

claude mcp add suomi-mcp -- npx -y @prspktvs/suomi-mcp

Cursor and VS Code MCP clients can use the same command and args in their MCP server configuration.

The hosted service remains available at https://agentfinland.fi/mcp. To run the optional local Streamable HTTP transport on loopback:

npx -y @prspktvs/suomi-mcp --http --port 3333

It binds to 127.0.0.1. For browser clients, same-origin requests are required. Set SUOMI_MCP_HTTP_TOKEN to require a bearer token.

Data flow and privacy

Your MCP client
    │ stdio (or optional loopback HTTP)
    ▼
suomi-mcp on your computer ── search text and selected source IDs ──▶ AgentFinland catalog
    │
    ├── live schemas and data ──▶ official publisher PxWeb endpoints
    ├── calculations and numeric checks run locally
    └── evidence rows remain in memory and are not written to disk

The registry normally receives discovery search text and the provider/resource IDs looked up. If the registry is unavailable, rate limited, or its catalog route is not deployed, the local client sends discovery search text to the selected publishers' public PxWeb table-search endpoints. Publishers also receive the schema and data requests needed to answer your selected query. The server sends no prompt transcript, user identity, or analytics. It writes registry metadata and publisher schemas to the OS cache by default; set SUOMI_MCP_CACHE_DIR=off to disable disk caching.

Generated source cards are discovery hints, not official evidence. The inspected live publisher schema and returned data are the evidence used by the workflow.

Data sources

The local server retrieves schemas and data directly from the selected publisher. Discovery metadata comes from the AgentFinland catalog, which indexes publisher catalogs and the Avoindata.fi source index. The selected table's source page and metadata give its exact attribution and reuse terms.

Publisher Source
Statistics Finland StatFin PxWeb and the PxWeb database selector, including Paavo
Finnish Transport and Communications Agency (Traficom) Statistics database
Finnish Tax Administration (Vero) Statistics database and official tax statistics
Visit Finland Statistical database
Kototietokanta Statistical database
Natural Resources Institute Finland (Luke) Statistics database
Finnish Centre for Pensions (ETK) Statistical database
City of Helsinki Helsinki statistical databases

These links are starting points. Availability, dataset coverage, attribution, and reuse terms are determined by each publisher and the selected table.

Configuration

Variable Default Purpose
SUOMI_MCP_REGISTRY_URL https://agentfinland.fi Hosted discovery catalog origin
SUOMI_MCP_API_KEY unset Optional key for a higher catalog rate limit
SUOMI_MCP_PROVIDERS statfin,traficom,vero,vero-web,visitfinland,kototietokanta,luke,etk,helsinki Comma-separated publisher IDs
SUOMI_MCP_HELSINKI 1 Set to 0 to disable Helsinki's beta HTML-form source
SUOMI_MCP_CACHE_DIR OS cache directory Disk cache location; off disables it
SUOMI_MCP_MAX_CELLS 25000 Maximum query cells, from 1 through 120000
SUOMI_MCP_SQL_ENGINE auto node, wasm, or auto (node:sqlite, with a sql.js fallback)
SUOMI_MCP_LOG info Set to debug for structured logs on stderr
SUOMI_MCP_HTTP_TOKEN unset Optional bearer token for local HTTP mode

Anonymous catalog access is rate limited. Resource metadata is cached separately; only discovery searches count against the search quota. Run npx -y @prspktvs/suomi-mcp doctor to check the registry, publisher endpoints, and SQL engine.

Limits

The local server paces publisher requests, retries temporary upstream failures, validates selected dimension IDs and values against the inspected schema, and limits each query to the configured cell count. Publisher availability and terms are controlled by the publishers. Give credit to the provider named by each source and follow the data-specific terms linked in its metadata.

Development

From the repository root:

npm ci
npm run check
npm test

See NOTICE, CONTRIBUTING.md, SECURITY.md, and CHANGELOG.md.

About

No description, website, or topics provided.

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.