ClimateTrace KMP
Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data.
What is ClimateTrace KMP?
ClimateTrace KMP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to kotlin/compose multiplatform project to show climate related emission data from https://climatetrace.org/data.
Kotlin/Compose Multiplatform project to show climate related emission data from https://climatetrace.org/data.
This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Kotlin/Compose Multiplatform project to show climate related
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx climatetracekmpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use ClimateTrace KMP
ClimateTraceKMP is a Kotlin Multiplatform project that surfaces per-country greenhouse gas emission data from the ClimateTRACE dataset (climatetrace.org) through a dedicated MCP server module built with the Kotlin MCP SDK. The mcp-server submodule compiles to a shadow JAR and exposes MCP tools that return structured country-level emissions data, making it usable from Claude Desktop and other MCP-compatible AI clients for environmental analysis and sustainability research. Developers and researchers use it to ask natural language questions about national carbon footprints, compare emissions across countries, and build Kotlin Multiplatform applications targeting Android, iOS, desktop, and web from a single shared codebase.
Prerequisites
- Java runtime (JDK 17 or higher) for executing the shadow JAR
- Gradle build tool for compiling the mcp-server module
- Claude Desktop or another MCP-compatible client
- Git to clone the repository
Clone the repository
Download the ClimateTraceKMP source code from GitHub. The repository includes both the multiplatform UI apps and the mcp-server module.
git clone https://github.com/joreilly/ClimateTraceKMP.git
cd ClimateTraceKMPBuild the MCP server shadow JAR
Run the Gradle shadowJar task to produce a self-contained executable JAR in the mcp-server build output directory. This bundles all dependencies including the Kotlin MCP SDK.
gradle shadowJarVerify the JAR was created
Confirm the output JAR exists at the expected path before configuring your MCP client.
ls mcp-server/build/libs/serverAll.jarConfigure Claude Desktop
Add the ClimateTraceKMP MCP server to your claude_desktop_config.json. The --stdio flag enables standard input/output MCP transport. Update the path to match your local clone location.
{
"mcpServers": {
"climatetrace": {
"command": "java",
"args": [
"-jar",
"/path/to/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
"--stdio"
]
}
}
}Restart Claude Desktop and query emissions data
Reload Claude Desktop. The climatetrace server should appear in the MCP panel. The server exposes tools that return per-country emission data sourced from the ClimateTRACE API at climatetrace.org.
ClimateTrace KMP Examples
Client configuration
Claude Desktop config that runs the compiled ClimateTraceKMP shadow JAR via Java in stdio mode.
{
"mcpServers": {
"climatetrace": {
"command": "java",
"args": [
"-jar",
"/Users/yourname/ClimateTraceKMP/mcp-server/build/libs/serverAll.jar",
"--stdio"
]
}
}
}Prompts to try
Example prompts for querying ClimateTRACE emissions data through the MCP server.
- "What are the total greenhouse gas emissions for Germany?"
- "Compare CO2 emissions between the United States, China, and India."
- "Which countries have the highest per-capita emissions according to ClimateTRACE?"
- "Show me emission data for Brazil and break it down by sector if available."
- "List the top 10 emitting countries ranked by total greenhouse gas output."Troubleshooting ClimateTrace KMP
gradle shadowJar fails with 'task not found'
Ensure you are running the command from the repository root. Try ./gradlew :mcp-server:shadowJar to target the specific submodule. If Gradle is not installed, use the wrapper: ./gradlew instead of gradle.
java.io.FileNotFoundException when Claude Desktop tries to start the server
Double-check the absolute path in your claude_desktop_config.json. The serverAll.jar name may differ between builds — run ls mcp-server/build/libs/ to see the exact filename and update the config accordingly.
MCP tools return empty or stale data
The server fetches data from climatetrace.org at runtime. Confirm you have internet access. If the ClimateTRACE API has changed endpoints, rebuild the JAR from the latest main branch to pick up any SDK or URL updates.
Frequently Asked Questions about ClimateTrace KMP
What is ClimateTrace KMP?
ClimateTrace KMP is a Model Context Protocol (MCP) server that kotlin/compose multiplatform project to show climate related emission data from https://climatetrace.org/data. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install ClimateTrace KMP?
Follow the installation instructions on the ClimateTrace KMP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with ClimateTrace KMP?
ClimateTrace KMP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is ClimateTrace KMP free to use?
Yes, ClimateTrace KMP is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
ClimateTrace KMP Alternatives — Similar Analytics Servers
Looking for alternatives to ClimateTrace KMP? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Muapi CLI
★ 997Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
Browse More Analytics MCP Servers
Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up ClimateTrace KMP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use ClimateTrace KMP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.