ClimateTraceKMP MCP Server

Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data.

Local serverstdio

What is the ClimateTraceKMP MCP server?

Connect ClimateTraceKMP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data. The climatetracekmp mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • composeApp — shared Kotlin Multiplatform code (data layer, view models and Compose Multiplatform UI) along with desktop and web entry points
  • androidApp — Android app
  • iosApp — iOS app (SwiftUI + shared Compose UI)
  • mcp-server — MCP server that exposes emissions data as MCP tools (using the Kotlin MCP SDK)
  • agents — Kotlin based AI agent built using Google's Agent Development Kit (ADK)
  • Android — open the project in Android Studio, or run ./gradlew :androidApp:installDebug
  • iOS — open iosApp/iosApp.xcodeproj in Xcode and run
  • Desktop — ./gradlew :composeApp:run
  • Chip — 8 (https://github.com/joreilly/chip-8)

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. ClimateTraceKMP's toolset — composeApp, androidApp, iosApp and 6 more — is a fair guide to whether it matches your workflow. It is maintained by joreilly; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against ClimateTraceKMP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch ClimateTraceKMP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
composeAppshared Kotlin Multiplatform code (data layer, view models and Compose Multiplatform UI) along with desktop and web entry points
androidAppAndroid app
iosAppiOS app (SwiftUI + shared Compose UI)
mcp-serverMCP server that exposes emissions data as MCP tools (using the [Kotlin MCP SDK](https://github.com/modelcontextprotocol/kotlin-sdk))
agentsKotlin based AI agent built using Google's [Agent Development Kit](https://github.com/google/adk-java) (ADK)
Androidopen the project in Android Studio, or run ./gradlew :androidApp:installDebug
iOSopen iosApp/iosApp.xcodeproj in Xcode and run
Desktop./gradlew :composeApp:run
Chip8 (https://github.com/joreilly/chip-8)

How to install the ClimateTraceKMP MCP server

{
  "mcpServers": {
    "climatetrace": {
      "command": "java",
      "args": [
        "-jar",
        "/path/to/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
        "--stdio"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use ClimateTraceKMP to composeApp.
  • Use ClimateTraceKMP to androidApp.
  • Use ClimateTraceKMP to iosApp.

Frequently asked questions

The MCP server exposes a tools endpoint that returns emission data per country, sourced from ClimateTrace.