Yhteentoimivuusalusta MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yhteentoimivuusalusta MCP Serversearch for term 'rakennus' in sanastot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yhteentoimivuusalusta MCP Server
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.
Overview
This tool helps when writing design documents, technical specifications, or architecture descriptions for Finnish government or building industry projects by:
Suggesting correct standardized terms from relevant vocabularies
Referencing appropriate data models for data structure descriptions
Providing valid code list values for enumerations
Validating terminology consistency across documentation
Related MCP server: @shuji-bonji/ifc-core-mcp
Warning
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.
Supported Platforms
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 |
Installation
Prerequisites
Python 3.11 or higher
pip or uv package manager
Docker (optional, recommended for sandboxed execution)
Option 1: Docker (Recommended)
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.
Option 2: Install from source
# 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 .Optional dependencies
# For improved fuzzy matching
pip install rapidfuzz
# For Finnish NLP (lemmatization)
pip install voikkoConfiguration
Copy the example configuration file and adjust as needed:
cp config.yaml.example config.yamlConfiguration options
# 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/v1Usage
Running the server
python -m yhteentoimivuusalusta_mcp.serverClaude Desktop Integration
Option 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 |
|
Windows |
|
Linux |
|
{
"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:
Isolated filesystem (no access to host files)
Memory and CPU limits
Non-root execution
Persistent cache via Docker volume
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:
Bundled (.mcpb): Double-click or drag
build/yhteentoimivuusalusta-0.1.0.mcpbto Claude DesktopUnpacked (development): In Claude Desktop settings, add the extension pointing to
build/unpacked/directoryUsing MCPB CLI:
npm install -g @anthropic-ai/mcpb mcpb install ./build/yhteentoimivuusalusta-0.1.0.mcpb
After installation, restart Claude Desktop.
Available Tools
The server provides 13 MCP tools across three categories:
Terminology Tools (Sanastot)
Tool | Description |
| Search for terms across vocabularies with fuzzy matching |
| Get detailed information about a specific concept |
| List all available vocabularies |
Data Model Tools (Tietomallit)
Tool | Description |
| Search for data models by name or description |
| Get all classes from a specific data model |
| Find vocabularies linked to a data model |
Code List Tools (Koodistot)
Tool | Description |
| Search for code lists by name or description |
| Get all codes from a specific code list |
| Export codes to CSV format |
Cross-Platform Tools
Tool | Description |
| Validate text against standardized vocabularies |
| Search all three platforms simultaneously |
| Analyze text and suggest relevant standards to reference |
| Find appropriate code lists for data model attributes |
Examples
Search for a term
Tool: search_terminology
Arguments: { "query": "rakennus", "vocabulary_id": "rakymp" }Validate terminology in a document
Tool: validate_terminology
Arguments: {
"text": "Rakennuksen kerrosala lasketaan ulkoseinien ulkopintojen mukaan.",
"vocabulary_ids": ["rakymp"]
}Unified search across all platforms
Tool: unified_search
Arguments: {
"query": "kaava",
"platforms": ["sanastot", "tietomallit", "koodistot"],
"limit": 5
}Suggest standards for documentation
Tool: suggest_references
Arguments: {
"text": "Järjestelmä käsittelee rakennuslupahakemuksia ja niiden liitteitä.",
"include_vocabularies": true,
"include_datamodels": true,
"include_codelists": true
}Common Resource IDs
Vocabularies (Sanastot)
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)
Data Models (Tietomallit)
rytj-kaava- Spatial planning data modelraktkk- Physical building data modeldigione- Education data models
Code Registries (Koodistot)
rakennustieto- Building information codeskoulutus- Education codesjulkishallinto- Public administration codes
Features
Caching
Persistent disk cache with configurable TTL
Automatic cache invalidation
Offline mode support with stale cache fallback
Performance
Rate limiting (token bucket algorithm, 10 req/sec default)
Parallel API requests where possible
Response caching to minimize API calls
Reliability
Automatic retry with exponential backoff
Graceful degradation when APIs are unavailable
Offline mode returns cached data when network fails
Project Structure
yhteentoimivuusalusta-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.exampleDevelopment
Running tests
pytest tests/Code formatting
ruff format src/ tests/
ruff check src/ tests/License
MIT License
References
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jrastas/yhteentoimivuusagentti'
If you have feedback or need assistance with the MCP directory API, please join our Discord server