kra-mcp
Kenya Revenue Authority (KRA) tax compliance helper exposing 6 MCP tools for PAYE calculations and tax guidance (demo data, estimates only).
paye_calculator— Compute Kenya PAYE and take-home pay fromannual_gross_income_kes, with optional NSSF/SHIF (NHIF) deductions toggleable; returns figures plus assumptions (schema labels it 2025 tax year, while the README cites 2026 rates — verify before relying on results).pin_registration_guide— Step-by-step KRA PIN registration instructions for individuals or companies (applicant_type).vat_guide— VAT registration threshold, rates, and filing deadlines, keyed by a free-textquery.tax_filing_calendar— All Kenya tax filing deadlines in one place (no arguments).withholding_tax_rates— Withholding tax rates by payment type (dividends, royalties, professional fees), optionally filtered bypayment_type.tax_incentives_guide— EPZ, SEZ, tech, pension, and startup tax incentives, optionally filtered bysector.
All outputs are clearly labeled DEMO/estimate data and should be verified with the relevant Kenyan authority before operational use.
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., "@kra-mcp calculate PAYE for a monthly salary of 150,000 KES"
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.
kra-mcp
Install: pip install kra-mcp · Use with any MCP client.
Kenya Revenue Authority tax compliance via MCP — PAYE calculator, VAT guide, PIN registration, tax incentives
Install
pip install kra-mcpRelated MCP server: kazi-mcp
What it does
6 MCP tools covering Kenya tax compliance. 1st world equivalent: TurboTax / HMRC.
Tool | Description |
| Kenya PAYE and take-home pay (2026 figures): NSSF capped at KES 6,480/month, SHIF 2.75%, housing levy 1.5%, 5 bands, KES 2,400 monthly relief. Estimate; see |
| Step-by-step KRA PIN registration (individual and company) |
| VAT registration threshold, rates, filing deadlines |
| All Kenya tax deadlines in one place |
| Rates by payment type: dividends, royalties, professional fees |
| EPZ, SEZ, tech, pension, startup tax incentives |
Usage
# Run as standalone MCP server
kra-mcp
# Or add to Claude Desktop / any MCP client
# Add to your MCP config: {"command": "kra-mcp"}Part of the Kenya Coordination Infrastructure Stack
This is one of the MCP servers covering the coordination infrastructure of East Africa:
Economic: mpesa · mkopo · bima · soko · sifa · remit · kra · faida
Physical: wapimaji · nishati · usafiri · ardhi
Social: afya · afya-ya-akili · elimu · kazi · haki-ya-kazi · kilimo · jumuia
Civic: nyumba · habari · mazingira · civic-agent-kit
→ The Nairobi Stack
→ Full Portfolio
Trust Integrity
All data in this server is clearly labeled DEMO where synthetic. Verify all operational data with the relevant Kenyan government authority before use.
License
MIT © Gabriel Mahia | AI-KungFU | contact@aikungfu.dev
Decision infrastructure for East Africa
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-busAll 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
Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahiaEvaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Available Tools
6 toolspaye_calculatorC
Compute Kenya PAYE income tax for 2025 tax year. DEMO.
Inputs: annual_gross_income_kes (required), include_nhif, include_nssf. Returns: object
pin_registration_guideB
Guide to registering for Kenya Revenue Authority PIN. DEMO.
Inputs: applicant_type. Returns: object
tax_filing_calendarB
Kenya tax filing deadlines and calendar. DEMO.
Inputs: no named parameters. Returns: object
tax_incentives_guideC
Kenya investment tax incentives and reliefs. DEMO.
Inputs: sector. Returns: object
vat_guideC
Kenya VAT registration, rates, and filing guidance. DEMO.
Inputs: query (required). Returns: object
withholding_tax_ratesC
Kenya withholding tax rates by payment type. DEMO.
Inputs: payment_type. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct tax concept: PAYE calculation, PIN registration, VAT, filing calendar, withholding rates, and tax incentives. There is no overlap in purpose, making selection unambiguous.
All names use lowercase snake_case and follow a descriptive noun-based pattern (e.g., paye_calculator, vat_guide). The style is consistent throughout, with no mixing of conventions or ambiguous verbs.
With 6 tools, the server is well-scoped for a Kenya tax information and calculator demo. Each tool covers a core tax area without unnecessary bloat.
The set covers common tax topics like PAYE, VAT, and withholding, but notably lacks tools for corporate income tax, capital gains, or excise duty. As a demo, it is acceptable, but for a comprehensive tax server there are clear gaps.
Maintenance
Related MCP Connectors
Free, cited tax MCP: GST/VAT for 193 countries, US/CA sales tax, income tax 57, company 139, CGT 71.
Mobile money fees, African tax rates, currency conversion and Uganda PAYE for AI agents.
UAE Corporate Tax: CT computation, SBR, penalties, free zone test, TP and health-check.
Take-home pay, PAYE and payroll contributions in Ghana, Kenya, Nigeria and South Africa.
Related MCP Servers
- AlicenseCqualityBmaintenanceProvides tools for Kenyans abroad to navigate dual citizenship, diaspora taxes, homeland investment, document verification, and community resources via MCP.689 PyPIMIT
- AlicenseAqualityBmaintenanceMCP server for Kenya labor market coordination, providing tools for job matching, wage benchmarks, skills gap analysis, informal sector registration, contract templates, and labor rights queries based on the Kenya Employment Act.6234 PyPIMIT
- AlicenseBqualityBmaintenanceProvides Kenya precision agriculture tools via MCP, including crop calendar, fertilizer guide, pest alerts, and KALRO crop variety recommendations.6236 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceMCP server that connects AI agents to 34,500+ Australian Taxation Office documents, providing cited answers, tax deduction discovery, depreciation scheduling, BAS checklists, and audit risk assessment through 13 specialized tools.19AGPL 3.0