ClimateTrace MCP Server

ClimateTrace MCP Server

climatetracekmp•byjoreilly

An MCP server module in the ClimateTraceKMP project that exposes climate-related country emissions data as MCP tools, built with the Kotlin MCP SDK and sharing Kotlin Multiplatform code.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes tools for countries, emissions, rankings, sources, population, and data coverage over an MCP endpoint returning per-country emission data.
  • •Emissions tools exclude the forestry and land use sector by default, with an optional includeForestry argument for net figures.
  • •Can run as a stdio server for Claude Desktop or as a Streamable HTTP server consumed by an ADK-based agent.

BEST FOR

  • •Querying country-level climate emissions data from an MCP-compatible assistant such as Claude Desktop.
  • •Powering LLM-based agents that need emissions tools, including the repository's own Koog and ADK agents.

ABOUT CLIMATETRACEKMP

ClimateTrace MCP Server is cataloged as an MCP server attributed to joreilly. An MCP server module in the ClimateTraceKMP project that exposes climate-related country emissions data as MCP tools, built with the Kotlin MCP SDK and sharing Kotlin Multiplatform code. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for ClimateTrace MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What kinds of emissions data can the server return?

It returns per-country totals with rank, per-person emissions, global share, year-on-year change, sector and subsector breakdowns, monthly emissions, top rankings, and individual source details including owners and locations.

Can net emissions including forestry and land use be retrieved?

Yes. Totals exclude forestry and land use by default, but the emissions tools accept an optional includeForestry argument for net figures.

Upstream README

View this exact version on GitHub

README.md · b13df35c503b · Fetched 2026-11-13 09:36:25 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

ClimateTraceKMP

kotlin-version

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

Running on

  • iOS (SwiftUI + shared Compose Multiplatform UI)
  • Android
  • Desktop
  • Web (Wasm)
  • Kotlin Notebook
  • MCP Server
  • AI Agents (Koog + Google ADK)

The iOS client as mentioned includes shared Compose Multiplatform UI code. It also includes option to use either SwiftUI or Compose code for the Country List screen (in both cases selecting a country will navigate to shared Compose emissions details screen).

Screenshot 2024-04-29 at 21 13 54

Related posts:

Project structure

  • 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), which connects to mcp-server as an MCP client

Uses, amongst other things, Ktor, Koin, kstore, Voyager, KoalaPlot and Koog.

Building and running

  • 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
  • Web (Wasm): ./gradlew :composeApp:wasmJsBrowserDevelopmentRun
  • MCP server: ./gradlew :mcp-server:shadowJar (see MCP Server section below)
  • ADK agent Dev UI: ./gradlew :agents:startDevUI (see AI Agents section below; requires the MCP server to be running)

Android (Compose)

Screenshot_20260524_101722

iOS (SwiftUI/Compose)

Simulator Screenshot - iPhone 17 Pro - 2026-05-24 at 10 18 46

Compose for Desktop

Screenshot 2026-05-24 at 10 11 18 Screenshot 2026-05-24 at 10 12 37

Compose for Web (Wasm)

Screenshot 2026-05-24 at 10 10 29

Kotlin Notebook

See ClimateTrace.ipynb

Screenshot 2023-12-14 at 20 33 45

MCP Server

The mcp-server module uses the Kotlin MCP SDK to expose an MCP tools endpoint (returning per country emission data) that can for example be plugged in to Claude Desktop as shown below. That module uses same KMP shared code.

The tools it exposes are:

ToolReturns
get-data-coverageWhich years have data, whether the latest is still in progress, and the data release
get-countriesEvery country with its ISO alpha-3 code
get-emissionsTotal emissions for countries in a year, with rank, per-person emissions, global share and year-on-year change
get-country-asset-emissionsEmissions by sector and subsector for countries in a year
get-monthly-emissionsMonth-by-month emissions for countries in a year
get-rankingsTop emitting countries in a year, by total or per person
get-country-sourcesThe largest individual emission sources in a country, with ids and locations
get-source-detailsOne source's owners, location, yearly and monthly emissions
get-populationA country's population

Totals exclude the forestry and land use sector by default, matching climatetrace.org; the emissions tools take an optional includeForestry argument for net figures. The in-app Koog agent has the same tools, sharing the same code.

Screenshot 2025-07-06 at 17 24 20

To integrate the MCP server with Claude Desktop for example you need to firstly run gradle shadowJar task and then select "Edit Config" under Developer Settings and add something like the following (update with your path)

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

AI Agents

The app includes an Agents screen, built using Koog, that allows querying emissions data using an LLM based agent.

The agents module also includes a Kotlin based agent built using Google's Agent Development Kit for Kotlin (ADK). Rather than depending on the shared KMP code directly, it acts as an MCP client and connects to the mcp-server module (over the Streamable HTTP transport) to fetch emissions data as tools.

To run it, first start the MCP server in Streamable HTTP mode, then the ADK Dev UI (in a separate terminal):

./gradlew :mcp-server:run --args="--streamable-http-server 8080"
./gradlew :agents:startDevUI

The Dev UI is then available at http://localhost:8081. A gemini_api_key entry in local.properties (the same one used by the Koog agent) is picked up automatically; alternatively set a GEMINI_API_KEY/GOOGLE_API_KEY environment variable.

There's also a ./gradlew :agents:runAdkAgent task that runs the agent once against a fixed prompt from the console.

UI tests

There's a Maestro UI test flow shared by the Android and iOS clients, run by CI on an emulator and a simulator (e.g. maestro test -e APP_ID=dev.johnoreilly.climatetrace maestro/ClimateTraceKMP.flow).

Full set of Kotlin Multiplatform/Compose/SwiftUI samples

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for ClimateTrace MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/climatetracekmp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research