Yhteentoimivuusagentti — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Yhteentoimivuusagentti (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server that integrates with Finland's Yhteentoimivuusalusta (Interoperability Platform) to assist with design documentation by ensuring proper use of standardized Finnish terminology, data models, and code values.
This tool helps when writing design documents, technical specifications, or architecture descriptions for Finnish government or building industry projects by:
This program is coded, poorly, by someone who has absolutely no idea what they are doing. The code is also heavily AI assisted. Use at your own risk and if possible, via Docker.
| Platform | URL | Content |
|---|---|---|
| Sanastot | sanastot.suomi.fi | ~90 terminologies and vocabularies |
| Tietomallit | tietomallit.suomi.fi | ~170 data models and schemas |
| Koodistot | koodistot.suomi.fi | 700+ code lists and classifications |
Docker provides sandboxed execution with minimal attack surface:
# Clone and build
git clone https://github.com/yaskael/yhteentoimivuusagentti.git
cd yhteentoimivuusagentti
docker build -t yhteentoimivuusalusta-mcp:latest .
# Test the build
docker run --rm yhteentoimivuusalusta-mcp:latest python -c "import yhteentoimivuusalusta_mcp.server; print('OK')"See docs/DOCKER.md for detailed Docker setup instructions.
# Clone the repository
git clone https://github.com/yaskael/yhteentoimivuusagentti.git
cd yhteentoimivuusagentti
# Install in development mode
pip install -e .
# Or with uv
uv pip install -e .# For improved fuzzy matching
pip install rapidfuzz
# For Finnish NLP (lemmatization)
pip install voikkoCopy the example configuration file and adjust as needed:
cp config.yaml.example config.yaml# config.yaml
cache:
enabled: true
directory: ~/.cache/yhteentoimivuusalusta
rate_limit:
requests_per_second: 10.0
# API endpoints (defaults shown)
apis:
sanastot:
base_url: https://sanastot.suomi.fi/terminology-api
tietomallit:
base_url: https://tietomallit.suomi.fi/datamodel-api
koodistot:
base_url: https://koodistot.suomi.fi/codelist-api/api/v1python -m yhteentoimivuusalusta_mcp.serverOption 1: Automatic Setup (Recommended)
Run the setup script to automatically configure Claude Desktop:
python scripts/setup_claude_desktop.pyThis will detect your OS, find the correct config location, and add the MCP server configuration.
To preview without writing:
python scripts/setup_claude_desktop.py --print-onlyOption 2: Manual Configuration
Add to your Claude Desktop configuration (claude_desktop_config.json):
| OS | Config Location |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": {
"yhteentoimivuusalusta": {
"command": "python",
"args": ["-m", "yhteentoimivuusalusta_mcp.server"],
"cwd": "/path/to/yhteentoimivuusagentti"
}
}
}Option 3: Docker (Sandboxed)
For enhanced security, run the MCP server in a Docker container:
{
"mcpServers": {
"yhteentoimivuusalusta": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--memory=512m", "--cpus=1.0",
"-v", "yhteentoimivuusalusta-cache:/app/cache",
"yhteentoimivuusalusta-mcp:latest"
]
}
}
}This provides:
Option 4: Install as Desktop Extension (MCPB)
This project includes a manifest.json (v0.3) for MCPB desktop extensions:
# Create the bundled extension
python scripts/create_bundle.py
# This creates:
# - build/yhteentoimivuusalusta-0.1.0.mcpb (bundled)
# - build/unpacked/ (for unpacked installation)To install the extension:
build/yhteentoimivuusalusta-0.1.0.mcpb to Claude Desktopbuild/unpacked/ directory npm install -g @anthropic-ai/mcpb
mcpb install ./build/yhteentoimivuusalusta-0.1.0.mcpbAfter installation, restart Claude Desktop.
The server provides 13 MCP tools across three categories:
| Tool | Description |
|---|---|
search_terminology | Search for terms across vocabularies with fuzzy matching |
get_concept_details | Get detailed information about a specific concept |
list_vocabularies | List all available vocabularies |
| Tool | Description |
|---|---|
search_datamodel | Search for data models by name or description |
get_datamodel_classes | Get all classes from a specific data model |
get_model_vocabulary_links | Find vocabularies linked to a data model |
| Tool | Description |
|---|---|
search_codelist | Search for code lists by name or description |
get_codes | Get all codes from a specific code list |
export_codes_csv | Export codes to CSV format |
| Tool | Description |
|---|---|
validate_terminology | Validate text against standardized vocabularies |
unified_search | Search all three platforms simultaneously |
suggest_references | Analyze text and suggest relevant standards to reference |
get_codelist_for_attribute | Find appropriate code lists for data model attributes |
Tool: search_terminology
Arguments: { "query": "rakennus", "vocabulary_id": "rakymp" }Tool: validate_terminology
Arguments: {
"text": "Rakennuksen kerrosala lasketaan ulkoseinien ulkopintojen mukaan.",
"vocabulary_ids": ["rakymp"]
}Tool: unified_search
Arguments: {
"query": "kaava",
"platforms": ["sanastot", "tietomallit", "koodistot"],
"limit": 5
}Tool: suggest_references
Arguments: {
"text": "Järjestelmä käsittelee rakennuslupahakemuksia ja niiden liitteitä.",
"include_vocabularies": true,
"include_datamodels": true,
"include_codelists": true
}rakymp - Built environment vocabulary (Rakennetun ympäristön sanasto)jhka - Public administration architecture (Julkisen hallinnon kokonaisarkkitehtuuri)oksa - Education vocabulary (Opetus- ja koulutussanasto)kela - Social security vocabulary (Kelan sanasto)rytj-kaava - Spatial planning data modelraktkk - Physical building data modeldigione - Education data modelsrakennustieto - Building information codeskoulutus - Education codesjulkishallinto - Public administration codesyhteentoimivuusalusta-mcp/
├── src/
│ └── yhteentoimivuusalusta_mcp/
│ ├── __init__.py
│ ├── server.py # MCP server entry point
│ ├── tools/
│ │ ├── terminology.py # Sanastot tools
│ │ ├── datamodel.py # Tietomallit tools
│ │ ├── codelist.py # Koodistot tools
│ │ ├── validation.py # Text validation
│ │ └── unified.py # Cross-platform tools
│ ├── clients/
│ │ ├── base.py # Base HTTP client
│ │ ├── sanastot.py # Sanastot API client
│ │ ├── tietomallit.py # Tietomallit API client
│ │ └── koodistot.py # Koodistot API client
│ ├── models/
│ │ └── schemas.py # Pydantic models
│ └── utils/
│ ├── cache.py # Caching utilities
│ ├── config.py # Configuration loader
│ └── fuzzy.py # Fuzzy matching
├── docs/
│ └── DOCKER.md # Docker setup guide
├── tests/
├── Dockerfile # Docker build configuration
├── docker-compose.yml # Docker Compose configuration
├── pyproject.toml
└── config.yaml.examplepytest tests/ruff format src/ tests/
ruff check src/ tests/MIT License
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.