Mukoko News

Registre officiel Marketing et ventes

Pan-African news & analytics for Zimbabwe and 15 African countries: briefings and trends.

Que pouvez-vous faire avec Mukoko News ?

  • Pan-African coverage — see Coverage for what that claim means
  • Discover — browse by country, category, or source
  • NewsBytes — TikTok-style vertical swipe feed for quick headlines
  • Search — full-text search across all articles
  • Dark mode — respects system preference
  • Embed widgets — drop a news feed into any site with one <script> tag
  • MCP server — AI assistants can query Pan-African news at news.mukoko.dev/mcp
  • Accessible — Radix UI primitives, WCAG AAA contrast, Schema.org structured data

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http mukoko-news 'https://news.mukoko.dev/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mukoko-news": {
            "type": "http",
            "url": "https://news.mukoko.dev/mcp"
        }
    }
}
NPM package @nyuchi/mukoko-news-mcp
Claude Code
claude mcp add mukoko-news -- npx -y @nyuchi/mukoko-news-mcp@1.2.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mukoko-news": {
            "command": "npx",
            "args": [
                "-y",
                "@nyuchi/mukoko-news-mcp@1.2.0"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Mukoko News
  2. What is this?
  3. Features
  4. Coverage
  5. Contributing
  6. Tech stack
  7. Embed widget
  8. MCP server
  9. Project structure
  10. Security
  11. Licence

Mukoko News

Pan-African news, in one place.

"Mukoko" means beehive in Shona — where the community gathers and stores knowledge. Mukoko News aggregates hundreds of African newsrooms into one feed, so a reader in Harare can follow Lagos, Nairobi and Dakar without opening twenty tabs.

All 54 African Union member states are in scope. How many are live is a number the app measures rather than asserts — see Coverage.

Version: 4.58.0 · Live: news.mukoko.com

**Read the news →** · **Join the Discord →** · **Contribute →**


The sibling repos. This one is the reader-facing web app. The gateway is the public API and MCP server; the pipeline does the ingestion and enrichment. Issues land in whichever repo owns the code.


What is this?

This repository is the Next.js 15 frontend for Mukoko News, deployed on Vercel. It is one part of a three-repo platform:

RepoRole
mukoko-dev/mukoko-news (this repo)Web frontend — Next.js 15, Vercel
mukoko-dev/mukoko-news-gatewayPublic API + MCP server — Cloudflare Workers
mukoko-dev/mukoko-ingestion-pipelineData pipeline — Fly.io + Cloudflare

The frontend reads news data directly from MongoDB Atlas via Next.js Server Actions.


Features

  • Pan-African coverage — see Coverage for what that claim means
  • Discover — browse by country, category, or source
  • NewsBytes — TikTok-style vertical swipe feed for quick headlines
  • Search — full-text search across all articles
  • Dark mode — respects system preference
  • Embed widgets — drop a news feed into any site with one <script> tag
  • MCP server — AI assistants can query Pan-African news at news.mukoko.dev/mcp
  • Accessible — Radix UI primitives, WCAG AAA contrast, Schema.org structured data

Coverage

All 54 African Union member states are in scope. The number that is live is a query, not a constant.

getLiveCoverageAction() counts the countries that actually cleared the publishing bar in the last 30 days, and coverageFragment(n) / coverageClaim(n) in src/lib/constants.ts are the only sanctioned wording — every page, meta tag and JSON-LD blurb interpolates one of them. So a country that starts producing appears on its own, and one that goes quiet drops off on its own, with no code change and nobody editing a number in a file.

This README deliberately does not print the current figure. A hard-coded count in a document nothing tests is exactly how the app came to claim "16 African countries" on nine surfaces that had each drifted apart. src/lib/__tests__/coverage-claim.test.ts enforces the rule for src/; here it is enforced by not writing one down.

Contributing

We welcome contributions to the frontend — UI improvements, new features, bug fixes, accessibility, tests, and documentation are all fair game. You do not need a database connection to contribute: the whole suite runs against mocked data, and most UI work can be done with the dev server pointed at the live API.

See CONTRIBUTING.md for the full guide, and come say hello in **the Discord** — it is the fastest way to get a question answered or to find out whether someone is already on the issue you picked.

Quick start for contributors
# Prerequisites: Node.js 20+, pnpm 10+
git clone https://github.com/mukoko-dev/mukoko-news.git
cd mukoko-news
pnpm install

# Run the test suite — no credentials needed
pnpm test

# Start the dev server (reads from the live API by default)
cp .env.example .env.local
pnpm dev

Open http://localhost:3000.

What you can work on without credentials
  • All React components in src/components/
  • Page layouts and routing in src/app/
  • The embed widget script in public/embed/
  • Any of the unit and integration tests — they all mock the data layer
  • Documentation and accessibility improvements
Running tests
pnpm test             # full suite
pnpm test:watch       # watch mode
pnpm test:coverage    # with coverage report

Tech stack

LayerTechnology
FrameworkNext.js 15, App Router, React 19
StylingTailwind CSS 4, CSS variables
ComponentsRadix UI (accessible primitives)
IconsLucide React
Themenext-themes
AuthWorkOS AuthKit
DataMongoDB Atlas via Server Actions
TestsVitest, React Testing Library
DeployVercel
Design system

Mzizi is the upstream source for the palette, the background scale and the type ramp. Be precise about how that binding works, because it is looser than "read from Mzizi" suggests:

  • src/app/globals.css holds this app's copy of the values. Nothing is fetched at build time or at runtime — there is no Mzizi package dependency and no network call.
  • src/app/__tests__/design-tokens.test.ts parses that stylesheet and asserts every value against a SNAPSHOT object literal inside the test file itself. There is no separate snapshot artefact.
  • That snapshot is a copy of what mzizi_get_tokens returned on a dated, recorded refresh. It is updated deliberately, by a human re-querying the MCP in a reviewed change — never by relaxing an assertion.

So CI catches globals.css drifting away from the frozen copy. It does not catch Mzizi itself moving; that is what the deliberate refresh is for.

Mzizi's full palette is 21 colour families — seven minerals, seven heritage, seven experimental. This app uses the seven minerals; these four are the ones you meet first:

RoleLightDarkMineral
--primary#4B0082#B388FFTanzanite
--secondary#0047AB#00B0FFCobalt
--success#004D40#64FFDAMalachite
--surface#EEEEEC#131211(Mzizi surface — a background step, not a mineral)

Fonts: Noto Serif (display/headings), Noto Sans (UI/body), JetBrains Mono (data and labels) — self-hosted via next/font.


Embed widget

Add a Mukoko News feed to any website:

<script src="https://news.mukoko.com/embed/widget.js"
        data-layout="cards"
        data-feed="latest"
        data-country="ZW">
</script>

Layouts: cards · compact · hero · ticker · list
Feeds: top · featured · latest · location
Country: any ISO 3166-1 alpha-2 code (e.g. ZW, KE, ZA, NG)


MCP server

AI assistants and agents can query Pan-African news via the Model Context Protocol:

{
  "mcpServers": {
    "mukoko-news": {
      "type": "http",
      "url": "https://news.mukoko.dev/mcp"
    }
  }
}

The read tools answer anonymously. The server itself lives in mukoko-dev/mukoko-news-gateway and is deployed to news.mukoko.dev, not to this app — news.mukoko.com serves no /mcp route.


Project structure

src/
├── app/              # Pages (Next.js App Router)
├── components/
│   ├── ui/           # Primitives (Button, Card, Skeleton, ErrorBoundary, …)
│   ├── layout/       # Header, footer, mobile nav
│   └── *.tsx         # Feature components (ArticleCard, HeroCard, ShareModal, …)
├── contexts/         # PreferencesContext, CoverageContext (theme via next-themes)
└── lib/
    ├── actions/      # Server Actions — all database reads go through here
    ├── mongodb/      # MongoDB query helpers
    ├── constants.ts  # Countries, categories, URL utilities
    └── utils.ts      # Formatting + security helpers
public/
└── embed/            # Self-contained widget script

Security

We take security seriously. Report vulnerabilities by email to <security@nyuchi.com> — please do not open a public GitHub issue. See SECURITY.md for details.


Licence

This repository ships no LICENSE file, and package.json declares no license field. Despite the wording below, no licence is currently granted — a LICENSE file needs adding before the "open-source contributors" framing is accurate.

© Nyuchi Africa (PVT) Ltd.


"Ndiri nekuti tiri" — I am because we are

Built by Nyuchi Web Services and contributors.

Questions fréquentes

Qu'est-ce que Mukoko News ?

Pan-African news & analytics for Zimbabwe and 15 African countries: briefings and trends.

Comment installer Mukoko News ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http mukoko-news 'https://news.mukoko.dev/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Mukoko News ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Mukoko News est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient Mukoko News ?

Il est publié par nyuchi. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.