voikko-mcp
Finnish language verification MCP server providing spell checking, grammar checking, morphological analysis, hyphenation, and tokenization tools.
README
voikko-mcp
Finnish language verification MCP server powered by libvoikko. Provides spell checking, grammar checking, morphological analysis, hyphenation, and tokenization as MCP tools for any MCP-compatible client (OpenWebUI, OpenCode, Claude Desktop, Cursor, etc.).
Features
- Spell checking — verify single words against libvoikko's Finnish dictionary
- Grammar checking — detect capitalization, word-order, and agreement errors
- Morphological analysis — inspect base form, case, number, possessive suffixes
- Hyphenation — syllable-aware word splitting for line-breaking and pronunciation
- Tokenization — split Finnish text into words, whitespace, and punctuation tokens
- Streamable HTTP transport — runs as a web server, no local process management needed
Prerequisites
- Docker and Docker Compose
Quick start
docker compose up --build
The server starts on http://localhost:8000 with Streamable HTTP transport (endpoint at /mcp).
Tools
| Tool | Parameters | Returns |
|---|---|---|
check_spelling |
word: str |
{word, correct, suggestions} |
suggest_spelling |
word: str |
list[str] — suggested corrections |
check_grammar |
text: str |
list[{start, length, snippet, description, suggestions}] |
verify_text |
text: str |
{text, is_correct, spelling_errors, grammar_errors} |
analyze_word |
word: str |
list[{BASEFORM, CLASS, SIJAMUOTO, ...}] |
hyphenate_word |
word: str |
{word, hyphenated} |
tokenize_text |
text: str |
list[{token_type, token_text, position}] |
All tools include error handling and return empty/fallback values on failure.
Client configuration
OpenWebUI
Settings > MCP Servers > Add:
- Name:
voikko-mcp - Transport: Streamable HTTP
- URL:
http://localhost:8000/mcp
OpenCode
Add to opencode.json:
{
"mcp": {
"voikko-mcp": {
"type": "remote",
"url": "http://localhost:8000/mcp"
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"voikko-mcp": {
"type": "streamableHttp",
"url": "http://localhost:8000/mcp"
}
}
}
Cursor
Add an MCP server entry with Streamable HTTP transport pointing to http://localhost:8000/mcp.
Architecture
Client (OpenWebUI / OpenCode / Claude) ──POST /mcp──▶ uvicorn ──▶ FastMCP ──▶ libvoikko
◀──Streamable HTTP (JSON-RPC)──
- Python 3.11 with FastMCP from the official MCP Python SDK
- libvoikko C++ library via its Python bindings for all linguistic operations
- Streamable HTTP transport over uvicorn, binding
0.0.0.0:8000 - Docker image based on
python:3.11-slimwithlibvoikko-devandvoikko-fi
Credits
- libvoikko — Finnish language processing library by the Voikko project
- MCP Python SDK — Model Context Protocol implementation by Anthropic
- FastMCP — High-level MCP server framework
- Finnish morphological dictionary (voikko-fi) maintained by the Voikko community
License
GNU General Public License v3.0 or later — see LICENSE for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.