mcpField
T
tafsiri-mcp

tafsiri-mcp

Local
github.com/gabrielmahiaLegal & Government0Updated 2d ago

About tafsiri-mcp

tafsiri-mcp is an MCP server offering small reference glossaries and language guides for Kenyan civic and legal terminology. It is intended for people navigating public processes across Swahili, English, Kikuyu, and Luo; its material is not certified translation.

Key features

  1. 01Translate civic terms between Swahili and English
  2. 02Look up Kikuyu phrases and language information
  3. 03Look up Luo phrases and language information
  4. 04Find standard terms for official documents
  5. 05Identify Kenyan languages in text samples
  6. 06Retrieve Swahili terms for government processes

Use cases

  1. 01Check the meaning of a civic term in Swahili or English
  2. 02Look up phrases in a Kikuyu or Luo language guide
  3. 03Find terminology used for an official document
  4. 04Identify the language of a Kenyan text sample

MCP support

It exposes six glossary and language-guide tools to MCP clients, covering civic terminology, official documents, language references, and language identification. Responses include a source field; reference material is not certified translation.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gabrielmahia-tafsiri": {
"command": "uvx",
"args": [
"tafsiri-mcp"
]
}
}
}
Run commanduvx tafsiri-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypitafsiri-mcp0.1.9

Tools

6

Saved tool list · updated 6d ago

ParameterTypeRequiredDescription
termanyNoSwahili or English term to look up e.g. 'kaunti', 'serikali', 'maji', 'shule'. Leave empty for full civic glossary.

Details

From the project README

tafsiri-mcp

Why This Exists

Kenyan civic and legal life happens in Swahili, Kikuyu, Luo and English at once, but the terminology that matters — what a succession petition is called, what a gazette notice means — rarely appears in general translation tools. Getting a civic term wrong in the wrong language has consequences a mistranslated menu does not.

Install

pip install tafsiri-mcp

Tools (6)

  • swahili_english_glossary — Translate civic and government terminology between Swahili and English.
    args: term
  • kikuyu_language_guide — Return linguistic information and key phrases for the Kikuyu language.
    args: term
  • luo_language_guide — Return linguistic information and key phrases for the Luo language.
    args: term
  • official_document_glossary — Return standard terminology for Kenya official documents and certificates.
    args: document_type
  • language_detection_guide — Identify which Kenyan language a text sample is written in.
    args: text_sample
  • civic_terminology_swahili — Return Swahili terminology for Kenya government processes and civic interactions.
    args: process

Example

from tafsiri_mcp.server import swahili_english_glossary

result = swahili_english_glossary(term='urithi')
# civic term, translation, how it is used, documents needed

Claude Desktop Integration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tafsiri-mcp": {
      "command": "python",
      "args": ["-m", "tafsiri_mcp.server"]
    }
  }
}

Data & Disclaimers

Glossaries are reference material for civic navigation, not certified translation. For court filings or official submissions, use a sworn translator.

Every tool response carries a source field. Responses labelled DEMO are illustrative reference data, not a live feed — verify against the authority named in the response before acting on it.

Part of the East Africa Coordination Stack

This MCP server is part of the Kenya coordination infrastructure. Connect it to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

pip install africa-coord-bus

All servers: pypi.org/user/gmahia Live demo: coord-cascade-demo

IP & Collaboration

MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Demo data is labeled DEMO and is not suitable for operational decisions. Full policy: docs/architecture/IP_POLICY.md. Security reports: see SECURITY.md.

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.