Icelandic Morphology MCP Server
Click on "Deploy 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., "@Icelandic Morphology MCP Server What is the dative plural of the word 'kona'?"
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.
Icelandic Morphology MCP Server
An MCP (Model Context Protocol) server that provides Icelandic word inflection lookups using BinPackage.
This server enables LLMs to query the Database of Icelandic Morphology (BÍN) to answer questions about Icelandic word inflections, such as:
"Hvernig beygist orðið hestur?" (How does the word hestur inflect?)
"Hvað er þágufall fleirtölu af kona?" (What is the dative plural of kona?)
"Er síamskattarkjóll rétt orð?" (Is síamskattarkjóll a correct word?)
Installation
pip install icelandic-morphology-mcpOr install from source:
git clone https://github.com/mideind/icelandic-morphology-mcp
cd icelandic-morphology-mcp
pip install -e .Related MCP server: icelandic-grammar-mcp
Tools
The server exposes three tools:
lookup_word
Look up an Icelandic word form and return all matching entries.
lookup_word("færi")
# Returns all interpretations: verb forms of "fara", "færa", noun "færi", etc.get_variant
Get a specific grammatical variant of a word.
get_variant("hestur", "kk", ["ÞGF", "FT"])
# Returns: "hestum" (dative plural)
get_variant("fallegur", "lo", ["EVB", "KVK"])
# Returns: "fallegasta" (superlative weak, feminine)get_lemma
Find the lemma(s) and word class(es) for a word form.
get_lemma("hestana")
# Returns: [{"lemma": "hestur", "word_class": "kk"}]Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"icelandic-morphology": {
"command": "icelandic-morphology-mcp"
}
}
}Or if running from source:
{
"mcpServers": {
"icelandic-morphology": {
"command": "python",
"args": ["-m", "icelandic_mcp.server"],
"cwd": "/path/to/icelandic-morphology-mcp"
}
}
}Grammatical Tags
The server uses standard BÍN grammatical tags:
Tag | Meaning |
| Cases: nominative, accusative, dative, genitive |
| Number: singular, plural |
| Article: definite, indefinite |
| Gender: masculine, feminine, neuter |
| Class: verb, adjective, noun |
| Adjective degree/form |
| Voice: active, middle |
| Mood: indicative, subjunctive, infinitive |
| Tense: present, past |
| Person: 1st, 2nd, 3rd |
For full documentation, see BÍN tagset.
License
MIT License. See LICENSE for details.
The underlying BÍN data is licensed under CC BY-SA 4.0 by The Árni Magnússon Institute for Icelandic Studies.
Credits
BinPackage by Miðeind ehf.
Database of Icelandic Morphology (BÍN) by The Árni Magnússon Institute
Available Tools
3 toolsget_lemmaA
Find the lemma(s) and word class(es) for an Icelandic word form.
Given any inflected form, this returns all possible base forms (lemmas)
and their word classes.
Args:
word: The word form to analyze (e.g., "hestana", "laga", "færi")
Returns:
A dict with:
- lemmas: List of possible lemmas, each with lemma and word_class
Inputs: word (required).
get_variantA
Get a specific grammatical variant of an Icelandic word.
This converts a word to a different case, number, person, tense, etc.
For example, convert "hestur" to dative plural, or "fallegur" to superlative.
Args:
word: The base word to convert (e.g., "hestur", "fallegur", "fara")
word_class: The word class to disambiguate the word. Common values:
- "kk" (masculine noun), "kvk" (feminine noun), "hk" (neutral noun)
- "no" (any noun)
- "so" (verb)
- "lo" (adjective)
target_form: List of grammatical feature tags to request. Examples:
- ["ÞGF"] - dative case
- ["ÞGF", "FT"] - dative plural
- ["NF", "FT", "gr"] - nominative plural with definite article
- ["nogr"] - indefinite form (no article)
- ["EVB", "KVK"] - superlative weak form, feminine
- ["FH", "NT", "3P"] - indicative, present tense, 3rd person
Returns:
A dict with:
- variants: List of matching variants, each with inflection_form,
grammatical_tag, and lemma
Inputs: word (required), word_class (required), target_form (required).
lookup_wordA
Look up an Icelandic word form and return all matching entries from BÍN.
This finds all possible interpretations of a word form, including its
lemma(s), word class(es), and grammatical tags.
Args:
word: The Icelandic word form to look up (e.g., "hestur", "færi", "hestana")
at_sentence_start: If True, also check lowercase forms when the word
is capitalized (useful for words at the start of sentences)
Returns:
A dict with:
- found: Whether any matches were found
- search_key: The actual search key used (may differ if z->s replacement occurred)
- entries: List of matching entries, each with lemma, word_class, domain,
inflection_form, and grammatical_tag
Inputs: word (required), at_sentence_start.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap. get_lemma finds base forms from inflections, get_variant generates specific grammatical variants, and lookup_word provides comprehensive dictionary-style lookups. An agent can easily distinguish between analyzing forms, generating variants, and looking up entries.
All three tools follow a consistent verb_noun pattern (get_lemma, get_variant, lookup_word) with clear, descriptive names. The naming convention is uniform throughout the set, making the tools predictable and easy to understand.
Three tools is reasonable for a morphology server, covering analysis, generation, and lookup operations. While slightly minimal, each tool serves a distinct and essential function. A few additional tools (like batch processing or error handling) could enhance completeness, but the current count is appropriate for the core functionality.
The tool set covers the essential workflows for Icelandic morphology: analyzing inflected forms, generating grammatical variants, and looking up word entries. Minor gaps exist, such as batch processing or handling edge cases like compound words, but agents can work effectively with the provided tools for most tasks.
Maintenance
Related MCP Connectors
Grounds LLMs in real Old Norse: lemmas, mediopassive paradigms, English→Old Norse lookup.
Grounds LLMs in real Old English: lemmas, strong/weak paradigms, English→Old English lookup.
Read-only Old English (Anglo-Saxon) dictionary over MCP: headword lookup with senses, etymology and inflections; full declension and conjugation tables; inflected-form identification; Modern English to Old English reverse lookup; and Beowulf citations with line numbers.
AI-assisted English lexical records. Stored-only batch lookup; coverage and quality vary.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides read-only access to the buildingSMART Data Dictionary (bSDD), enabling AI assistants to search and retrieve construction classifications, classes, properties, and relations through natural language.124 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Icelandic grammar checking and proofreading by connecting to Miðeind's Málfríður API, allowing users to submit Icelandic text and receive corrections and suggestions directly from their local machine.MIT
- AlicenseAqualityBmaintenanceProvides AI agents with local Dutch spelling and word validation using OpenTaal/hunspell, plus detailed word information from woordenlijst.org. It enables checking full texts or individual words and retrieving linguistic details for Dutch writing tasks.5MIT
- FlicenseNot gradedqualityCmaintenanceProvides LLM agents and editors read-only access to an Old English dictionary, enabling headword lookup, inflection tables, inflected-form identification, Modern English to Old English reverse lookup, and Bēowulf verse occurrences with citable URLs.-