🏹 Mithlond / Agent Tools & Skills
Dual-Protocol Live Service

Connect AI Assistants to the Tolkien Lexicon

Empower your coding agents, IDEs, and LLMs with authentic Quenya, Sindarin, and Adûnaic vocabulary, sound-law neologisms, and neural pronunciation synthesis via Model Context Protocol (MCP) and Agent2Agent (A2A).

22,700+ Lexicon Words Diachronic Derivations Kokoro Neural TTS

Exposed MCP Tools

5 Atomic Tools • ReadOnly • Dual-Emit

The Eldamo server implements the Model Context Protocol (MCP) over Streamable HTTP and SSE, providing agents with low-latency structured queries, diachronic etymology trees, and speech synthesis. All tools return dual-emit payloads (human-readable Markdown and strongly typed JSON structuredContent).

enquire_lexicon Search

Search Lexicon

Full-text and prefix search across 22,700+ words, English glosses, grammatical forms, and etymological notes. Returns ranked results capped at 50 entries.

Arguments
query (required): search string
language: 'q' (Quenya), 's' (Sindarin), etc.
speech: part of speech (noun, verb, etc.)
category: semantic domain filter
get_word_details Lookup

Word Details

Fetches full linguistic entry metadata, historical corpus attestations, phonetic spellings, inflections, cognates, and editorial notes by unique Eldamo ID.

Arguments
id (required): unique entry page ID (e.g. "word-2508883201")
get_derivations Etymology

Derivation Tree

Traverses diachronic evolution trees: trace roots back to Primitive Quendian ancestors or explore branching descendant paths across daughter languages.

Arguments
id (required): unique entry page ID
direction: "ancestors" or "descendants"
get_root_anchors Lineage

Root Anchors

Retrieves attested proper nouns (character names, places, weapons, celestial bodies) historically derived from a specific root to anchor new word creations.

Arguments
id (required): root or base entry ID
render_elvish_audio Audio TTS

Pronounce Elvish

Performs phonological G2P transcription and invokes the neural Kokoro voice pipeline to generate authentic WAV/audio pronunciations with accurate syllable stress and vowel lengths.

Arguments
text (required): Elvish text
voice: sarah, bella, adam, emma, +9 voices
speed: float (default: 0.8)
Built-in MCP Prompts

Pre-configured guided workflows sharing single-source rules with A2A skills: tolkien-translation, tolkien-name-generator, and neologism-builder.

Read-Only MCP Resources

Inspect live server state and capabilities via standard URIs: eldamo://agent-card (agent capabilities JSON) and eldamo://lexicon/stats (in-memory word and index counts).

Linguistic Agent Skills (A2A)

A2A Protocol • /a2a

While MCP provides low-level lexicon retrieval, our Agent2Agent (A2A) surface enables interactional tasks orchestrating sound-laws, grammar, and LLM reasoning.

1

Elvish Name Generator

Generates grammatically authentic Quenya or Sindarin personal, place, or weapon names by compounding historical roots with phonological mutations.

Example Prompts
"name star silver quenya"
"name grey flame sindarin"
2

Elvish Translator

Translates modern English text into Quenya or Sindarin, applying authentic case morphology (allative, genitive, locative) with Vertex AI Gemini grounding.

Example Prompts
"translate farewell my friend to quenya"
"translate to sindarin: the grey havens"
3

Neologism Builder

Coins new Elvish vocabulary for modern concepts following historical Primitive Elvish roots and diachronic Sound Laws (both practical and poetic paths).

Example Prompts
"neologism hover-board quenya"
"coin a word for chaos sindarin"
# 1. Discover the agent card
a2acli discover -u https://candir.mithlond.com

# 2. Invoke a skill directly (with your OAuth Bearer JWT)
a2acli send "Generate a name for a star in Quenya" \
  -u https://candir.mithlond.com \
  --token "$MITHLOND_ACCESS_TOKEN" \
  --wait --output text
Sample AgentCard Discovery Response (GET /.well-known/agent-card.json)
{
  "name": "Eldamo Elvish Agent",
  "version": "0.2.0",
  "description": "Agentic access to Paul Strack's Eldamo Tolkien-language lexicon. Skills: Quenya/Sindarin name generation (deterministic, lexicon-grounded), morphologically-guided translation (LLM-backed, streaming), and dual-path neologism construction with phonotactic scoring (LLM-backed, two artifacts).",
  "supportedInterfaces": [
    {
      "url": "https://candir.mithlond.com/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": true,
    "extendedAgentCard": true
  },
  "defaultInputModes": ["text"],
  "defaultOutputModes": ["text"],
  "skills": [
    {
      "id": "name-generate",
      "name": "Elvish Name Generator",
      "description": "Generates grammatically authentic Quenya or Sindarin names by searching the Eldamo lexicon for roots matching concept keywords and applying historical compounding rules.",
      "tags": ["linguistics", "names", "quenya", "sindarin", "tolkien"],
      "examples": [
        "name star silver quenya",
        "name grey flame sindarin",
        "name ocean wisdom feminine sindarin",
        "name strong mountain masculine quenya"
      ]
    },
    {
      "id": "translate",
      "name": "Elvish Translator",
      "description": "Translates English text into Quenya or Sindarin, applying correct morphology, case endings, and consonant mutations. LLM-backed (Vertex AI Gemini or a local llama.cpp/mlx_lm.server Gemma model) with Eldamo lexicon context.",
      "tags": ["linguistics", "translation", "quenya", "sindarin", "tolkien"],
      "examples": [
        "translate farewell my friend to quenya",
        "translate to sindarin: the grey havens",
        "translate a star shines on the hour of our meeting to quenya"
      ]
    },
    {
      "id": "neologism",
      "name": "Elvish Neologism Builder",
      "description": "Constructs new Elvish words for modern concepts using two stylistic paths (Practical and Poetic), the Anchorage Protocol, phonotactic constraints, and a 100-point scoring matrix.",
      "tags": ["linguistics", "neologism", "quenya", "sindarin", "tolkien"],
      "examples": [
        "neologism hover-board quenya",
        "coin a word for artificial intelligence sindarin",
        "invent: blockchain in quenya"
      ]
    },
    {
      "id": "echo",
      "name": "Echo",
      "description": "Diagnostic: echoes the supplied text back. Requires only agent:invoke.",
      "tags": ["diagnostic"]
    }
  ],
  "securitySchemes": {
    "mithlond-oauth": {
      "oauth2SecurityScheme": {
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://www.mithlond.com/mcp-auth",
            "tokenUrl": "https://candir.mithlond.com/api/oauth/token",
            "pkceRequired": true,
            "scopes": {
              "agent:invoke": "Send messages to the Eldamo A2A agent",
              "lexicon:read": "Search and read the Eldamo Tolkien lexicon",
              "audio:generate": "Synthesize Elvish pronunciation audio via the TTS proxy",
              "skill:name-generate": "Use the Elvish name-generation skill",
              "skill:translate": "Use the Elvish translation skill",
              "skill:neologism": "Use the Elvish neologism-builder skill"
            }
          }
        }
      }
    }
  }
}

Neural Pronunciation Synthesis

Kokoro-rs • render_elvish_audio

Hear authentic Elvish cadence and vowel length. The render_elvish_audio MCP tool executes grapheme-to-phoneme (G2P) transcription and synthesizes streaming audio via the Kokoro neural voice pipeline.

Try Live in Pronunciation Sandbox →
text (required)

The Elvish word, phrase, or poem (up to 2,000 chars, e.g. "Elen síla lúmenn’ omentielvo").

voice (optional)

13 Kokoro voices: sarah (default), bella, nicole, adam, michael, plus British voices (emma, alice, daniel, george, etc.).

speed (optional)

Playback speed (0.5–2.0): defaults to 0.8 for optimal phonetic clarity.

Sample Pronunciations

Frodo's Greeting (Quenya) "Elen síla lúmenn’ omentielvo"
Galadriel's Lament (Quenya) "Namárië"

Connect Your Assistant

MCP Streamable HTTP / SSE

Cursor (IDE)

Settings → Models → MCP → Add New MCP Server

SSE / HTTP
Server Name: eldamo-remote
Transport Type: SSE
Endpoint URL: https://candir.mithlond.com/sse
HTTP Headers: Authorization: Bearer <MITHLOND_ACCESS_TOKEN>

Save settings and start querying the Eldamo lexicon directly inside Cursor chat (e.g. "Search the lexicon for 'star'").

Stateless OAuth 2.1 Security Model

The Mithlond server enforces zero-trust security with stateless signed HMAC-SHA256 JWT access tokens (MITHLOND_ACCESS_TOKEN). During active queries, lookups are validated entirely in-memory for sub-millisecond response times.

Access & Authorization Model

1. Authorized Users Allowlist: To prevent unauthorized API consumption, logging in with Google is verified against the server's authorized_users allowlist. Sign in at the Access & Request Portal to submit an access request or check your account's authorization status.

2. Tiered Scope Model (Baseline vs. Upgrade): Newly approved accounts receive the Baseline Tier (lexicon:read, agent:invoke, skill:name-generate), enabling full lexicon search and deterministic name generation immediately. Cost-bearing capabilities (audio:generate, skill:translate, skill:neologism) are granted per account on upgrade.

• Issuer: candir.mithlond.com • RFC 9728 Protected Resource Metadata • RFC 8252 Dynamic Loopback Port Agnostic