ClimateTraceKMP
About
Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data.
Details
- Author
- joreilly
- GitHub stars
- 337
- Downloads
- 414
- Categories
- Other
Jump to
- Built with Kotlin Multiplatform and Compose Multiplatform.
- Runs on iOS, Android, Desktop, Web (Wasm), and Kotlin Notebook.
- Exposes MCP tools for per‑country emission data.
- Uses the Kotlin MCP SDK for model context protocol integration.
- Shared emission‑details screen composed in Compose Multiplatform.
- Country list screen can use SwiftUI or Compose on iOS.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
ClimateTraceKMPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
To use the MCP server with Claude Desktop, run the Gradle shadowJar task to build a fat JAR, then add a configuration entry in Claude Desktop’s Developer Settings (pointing to the built JAR with --stdio). The server provides a tools endpoint that returns per‑country emission data.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"climatetracekmp": {
"kotlin-peopleinspace": {
"command": "java",
"args": [
"-jar",
"/Users/john.oreilly/github/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
"--stdio"
]
}
}
}
}
McpServers
{
"kotlin-peopleinspace": {
"command": "java",
"args": [
"-jar",
"/Users/john.oreilly/github/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
"--stdio"
]
}
}
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
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).
Related posts:
Kotlin MCP 💜 Kotlin Multiplatform
Initial exploration of using Koog for developing Kotlin based AI agents
Using Google's Agent Development Kit for Java from Kotlin code
Android (Compose)
iOS (SwiftUI/Compose)
Compose for Desktop
Compose for Web (Wasm)
Kotlin Notebook
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.
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": {
"kotlin-peopleinspace": {
"command": "java",
"args": [
"-jar",
"/Users/john.oreilly/github/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
"--stdio"
]
}
}
}
Full set of Kotlin Multiplatform/Compose/SwiftUI samples
PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
GalwayBus (https://github.com/joreilly/GalwayBus)
Confetti (https://github.com/joreilly/Confetti)
BikeShare (https://github.com/joreilly/BikeShare)
FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
GeminiKMP (https://github.com/joreilly/GeminiKMP)
MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
StarWars (https://github.com/joreilly/StarWars)
WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
Chip-8 (https://github.com/joreilly/chip-8)
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



