Skip to main content
Glama
jagan-shanmugam

Climatiq MCP Server

Climatiq MCP 服务器

许可证:MIT

一个模型上下文协议 (MCP) 服务器,用于访问 Climatiq API 来计算碳排放量。这使得 AI 助手能够实时计算碳排放量并提供气候影响洞察。

演示

https://github.com/user-attachments/assets/c253d6d1-ccf6-4c14-965e-6023ba2a0296

https://github.com/user-attachments/assets/d61c1181-acf6-4d9f-9a48-537fc64ac4c3

Related MCP server: RL-MCP

特征

该 MCP 服务器与 Climatiq API 集成,为 AI 助手提供碳排放计算:

工具

  • set-api-key :配置用于身份验证的 Climatiq API 密钥

  • 电力排放:计算电力消耗产生的碳排放量

  • travel-emission :计算汽车、飞机或火车旅行的碳排放量

  • search-emission-factors :在 Climatiq 数据库中搜索特定的排放因子

  • 自定义排放计算:使用特定的排放因子执行自定义计算

  • cloud-computing-emission :计算云计算资源使用产生的排放量

  • 货运排放:计算货运排放量

  • 采购排放:计算采购支出的排放量

  • 酒店排放:计算酒店住宿产生的排放量

  • travel-spend :计算旅行费用的排放量

资源

  • 碳计算结果以climatiq://calculation/{id} URI 方案的形式公开为资源

  • 每个资源都包含有关排放因子和计算结果的详细信息

提示

  • 气候影响解释:生成关于特定排放计算对气候影响的自然语言解释

安装

来自源

本项目使用uv进行虚拟环境和依赖管理。请确保先安装 uv 。

# Clone the repository
git clone https://github.com/your-org/climatiq-mcp-server.git
cd climatiq-mcp-server

# Create a virtual environment
uv venv

# Activate the virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate

# Install dependencies with development extras
uv sync --dev --extra all

使用 uv

uv pip install climatiq-mcp-server

API 密钥配置

服务器需要 Climatiq API 密钥才能运行。您可以通过多种方式提供密钥:

  1. 环境变量:在启动服务器之前设置CLIMATIQ_API_KEY环境变量

    export CLIMATIQ_API_KEY=your_climatiq_api_key
  2. 安装期间的配置:

    CLIMATIQ_API_KEY=your_climatiq_api_key uv pip install climatiq-mcp-server
  3. set-api-key 工具:使用set-api-key工具在 AI 助手运行时进行配置

  4. 配置文件:在项目目录中创建一个.env文件:

    CLIMATIQ_API_KEY=your_climatiq_api_key

要获取 Climatiq API 密钥:

  1. 在app.climatiq.io注册

  2. 按照获取 API 密钥中的说明进行操作

运行服务器

可以直接从命令行启动服务器:

climatiq-mcp-server

AI助手中的设置

克劳德桌面

在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": {
  "climatiq-mcp-server": {
    "command": "climatiq-mcp-server",
    "env": {
      "CLIMATIQ_API_KEY": "your_climatiq_api_key"
    }
  }
}

示例和实用程序

示例目录

examples/目录包含:

  • climatiq.ipynb :一个 Jupyter 笔记本,演示了如何使用 Climatiq 直接使用 API

  • simple_test.py :一个简单的实用程序,用于在没有 MCP 协议的情况下直接测试 API 集成

# Run the simple test
python examples/simple_test.py

实用程序脚本

utils/目录包含几个有用的脚本:

测试客户端

test_client.py脚本测试所有工具、提示和资源:

python utils/test_client.py

LLM 示例客户端

llm_example_client.py脚本演示了大型语言模型(如 Claude)如何与 Climatiq MCP 服务器交互:

python utils/llm_example_client.py

主要特点:

  • 具有错误处理和超时管理的完整 API 包装器

  • 资源和结果缓存以保存计算历史

  • 示例提示展示如何生成自然语言解释

  • 展示电力排放、交通排放和排放因子搜索功能

CLI 工具

无需 MCP 服务器复杂性,即可直接访问 API 的命令行界面工具:

# For electricity emissions
python utils/climatiq_cli.py electricity --energy 1000 --unit kWh --region US

# For travel emissions
python utils/climatiq_cli.py travel --mode car --distance 100 --unit km --region US

运行 MCP 服务器脚本

使用run_mcp_server.py脚本直接运行服务器,无需安装:

python utils/run_mcp_server.py

关键概念

活动 ID

活动 ID 是 Climatiq API 中的一个关键概念,它将相似的排放因子分组在一起:

  • Climatiq 数据库中的每个排放因子都有一个活动 ID

  • 活动 ID 将描述跨地区、跨年份、跨来源等的相同活动的排放因子分组。

  • 示例: electricity-supply_grid-source_residual_mix (电力)、 passenger_vehicle-vehicle_type_car (汽车出行)

计算方法

Climatiq MCP 服务器支持多种计算方法:

  1. 基于距离的出行排放方法

  2. 使用出发地-目的地对进行高级旅行计算

  3. 当您只有支出数据时**,采用基于支出的方法**

  4. 使用特定排放因子直接计算

故障排除

API 密钥问题

  1. 确保在您的环境或 .env 文件中正确设置CLIMATIQ_API_KEY

  2. 验证 API 密钥在 Climatiq 仪表板中是否处于活动状态

  3. 使用examples/simple_test.py检查你的 API 密钥是否正常工作

高级用法

有关使用特定工具和高级功能的详细文档,请参阅docs/README.md文件。

关于Climatiq

Climatiq 提供强大的碳智能 API,让您能够计算电力使用、交通运输、采购等领域的排放量。该 MCP 服务器通过模型上下文协议 (MCP) 将这些功能提供给 AI 助手。

有关 Climatiq 的更多信息,请访问climatiq.io 。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

Available Tools

10 tools
cloud-computing-emissionC

Calculate emissions from cloud computing services by provider, service type, and region to assess digital carbon footprint.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (aws, azure, gcp)
serviceYesCloud service (e.g., compute, storage, database)
regionYesCloud region (e.g., us-east-1, europe-west1)
usage_amountYesAmount of cloud resources used
usage_unitYesUnit for cloud resource (e.g., kWh, GB-hours, CPU-hours)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the calculation function but lacks details on permissions, rate limits, error handling, or output format. For a tool with 5 required parameters and no output schema, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary details. Every word contributes to explaining the tool's function, making it appropriately sized and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a 5-parameter tool with no annotations and no output schema, the description is incomplete. It fails to explain return values, error conditions, or behavioral traits, leaving the agent with insufficient information to effectively invoke the tool beyond basic parameter input.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, clearly documenting all 5 parameters. The description adds minimal value beyond the schema by listing provider, service type, and region as key inputs, but it does not provide additional context like valid examples or constraints, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('calculate') and resource ('emissions from cloud computing services'), and it mentions key parameters (provider, service type, region) to assess digital carbon footprint. However, it does not explicitly differentiate from sibling tools like 'custom-emission-calculation' or 'search-emission-factors', which might handle similar emission calculations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions assessing digital carbon footprint but does not specify scenarios, prerequisites, or exclusions compared to sibling tools such as 'electricity-emission' or 'procurement-emission', leaving the agent without clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

custom-emission-calculationB

Calculate emissions using any specific emission factor identified by its activity_id, allowing for precise and flexible carbon calculations.

ParametersJSON Schema
NameRequiredDescriptionDefault
activity_idYesEmission factor activity ID (found via search-emission-factors)
valueYesActivity value (amount of the activity)
unitYesActivity unit (e.g., kWh, km, kg, etc.)

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it states the tool calculates emissions, it doesn't describe what the calculation returns (units, format), whether it requires authentication (though set-api-key is a sibling), rate limits, error conditions, or how it handles invalid inputs. For a calculation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that conveys the core purpose without unnecessary words. It's front-loaded with the main action ('Calculate emissions') and includes a qualifying phrase about flexibility. However, it could be slightly more structured by explicitly separating purpose from context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a calculation tool with potential complexity, the description is incomplete. It doesn't explain what the tool returns (e.g., emissions in CO2e, units), prerequisites (e.g., needing an API key via set-api-key), or error handling. The schema covers inputs well, but the overall context for agent usage is lacking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all three parameters well-documented in the schema. The description adds minimal value beyond the schema, mentioning 'activity_id' and 'carbon calculations' but not explaining parameter relationships or providing additional context like example values or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions using any specific emission factor identified by its activity_id'. It specifies the verb ('calculate'), resource ('emissions'), and mechanism ('using emission factor identified by activity_id'). However, it doesn't explicitly distinguish this general-purpose calculation tool from its more specific sibling tools like 'electricity-emission' or 'travel-emission'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through 'allowing for precise and flexible carbon calculations' and references 'activity_id (found via search-emission-factors)' in the schema. This suggests this tool is for custom calculations after finding factors via search-emission-factors, but it doesn't explicitly state when to use this vs. the specialized sibling tools (e.g., electricity-emission for electricity-specific calculations).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

electricity-emissionC

Calculate carbon emissions from electricity consumption based on energy amount and regional grid mix.

ParametersJSON Schema
NameRequiredDescriptionDefault
energyYesAmount of energy consumed
energy_unitYesEnergy unit (kWh, MWh, etc.)
regionNoRegion code (e.g., US, GB, FR) representing the electricity grid locationUS

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the calculation action but lacks details on permissions, rate limits, error handling, or output format. For a tool with no annotation coverage, this leaves significant gaps in understanding its operational traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. Every part of the sentence contributes directly to explaining what the tool does, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an emission calculation tool with no annotations and no output schema, the description is incomplete. It doesn't explain the return values, error conditions, or behavioral aspects like data sources or accuracy, which are crucial for proper usage in this context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters (energy, energy_unit, region) with descriptions. The description adds marginal value by mentioning 'energy amount and regional grid mix', which aligns with the parameters but doesn't provide additional syntax or format details beyond what the schema offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('calculate') and resource ('carbon emissions from electricity consumption'), and it mentions the key inputs ('energy amount and regional grid mix'). However, it doesn't explicitly differentiate from sibling tools like 'custom-emission-calculation' or 'search-emission-factors', which might handle similar calculations differently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose it over sibling tools such as 'custom-emission-calculation' for broader scenarios or 'search-emission-factors' for looking up data, nor does it specify prerequisites or exclusions for usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

freight-emissionC

Calculate emissions from freight transportation across different modes (truck, rail, ship, air) based on weight and distance.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeYesFreight mode (truck, rail, ship, air)
weightYesWeight of goods transported
weight_unitNoWeight unit (t, kg)t
distanceYesDistance transported
distance_unitNoDistance unit (km, mi)km

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does (calculates emissions) but doesn't describe behavioral traits like whether it's a read-only calculation, what units the output uses, error conditions, or any rate limits. For a calculation tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose upfront. There's no wasted language or unnecessary elaboration. However, it could be slightly more structured by separating purpose from scope or adding a brief note about output.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with 5 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what the output represents (e.g., CO2 equivalent, units), whether it uses specific emission factors, or how the calculation is performed. The lack of output schema means the description should ideally cover return values, which it doesn't.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description mentions 'based on weight and distance' which aligns with the schema but adds no additional semantic meaning beyond what's in the parameter descriptions. It doesn't explain relationships between parameters or calculation methodology.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions from freight transportation' with specific resources (freight transportation) and modes (truck, rail, ship, air). It distinguishes from some siblings like 'electricity-emission' or 'hotel-emission' by focusing on freight, but doesn't explicitly differentiate from 'travel-emission' which might also involve transportation. The verb 'calculate' is specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'custom-emission-calculation' or 'search-emission-factors' that might be relevant for emission calculations. There's no context about prerequisites, limitations, or scenarios where this tool is preferred over others in the server.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

hotel-emissionB

Calculate carbon emissions from hotel stays based on the number of nights stayed and the location of the hotel.

ParametersJSON Schema
NameRequiredDescriptionDefault
hotel_nightsYesNumber of nights stayed
locationYesLocation of the hotel
yearNoYear of the hotel stay

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the calculation purpose but lacks details on what the calculation returns (units, format), whether it's an estimate or exact, data sources, accuracy limitations, or error handling. For a calculation tool with zero annotation coverage, this is a significant gap in behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose and key parameters without any wasted words. Every element earns its place, making it appropriately sized and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an emission calculation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., CO2 equivalent in kg), how results are derived, or any assumptions/limitations. For a tool that likely involves environmental data and calculations, this leaves significant gaps for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds minimal value by mentioning nights and location as key inputs, but doesn't provide additional syntax, format details, or constraints beyond what the schema provides. The baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('calculate carbon emissions') and resource ('from hotel stays'), with explicit parameters ('based on the number of nights stayed and the location of the hotel'). It distinguishes from sibling tools like 'travel-emission' or 'electricity-emission' by focusing specifically on hotel stays.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through its parameter focus (nights and location), but does not explicitly state when to use this tool versus alternatives like 'travel-emission' or 'custom-emission-calculation'. No exclusions or prerequisites are mentioned, leaving usage guidance at an implied level.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

procurement-emissionB

Calculate Scope 3.1 emissions from procurement spending using economic input-output life cycle assessment methods.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYesAmount of money spent
currencyNoCurrency code (e.g., USD, EUR, GBP)USD
countryNoCountry code where purchases were madeUS
categoryYesProcurement category (e.g., electronics, food, construction)

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. While it explains the calculation method, it doesn't describe what the tool returns (emissions in what units?), whether it makes external API calls, error handling, or performance characteristics. For an emission calculation tool with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for the tool's complexity and gets straight to the point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what the tool returns (emissions values, units, confidence intervals), how results should be interpreted, or any limitations of the economic input-output method. Given the complexity of emission calculations, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage, so all parameters are documented in the schema itself. The description adds no additional parameter information beyond what's already in the schema descriptions. This meets the baseline of 3 when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Calculate'), the target ('Scope 3.1 emissions from procurement spending'), and the method ('using economic input-output life cycle assessment methods'). It distinguishes this tool from siblings like 'electricity-emission' or 'freight-emission' by focusing specifically on procurement emissions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'custom-emission-calculation' or 'search-emission-factors'. It doesn't mention prerequisites, limitations, or typical use cases beyond the basic purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search-emission-factorsB

Search Climatiq's database for emission factors by keyword, category, region, year, source, and other metadata to find appropriate factors for calculations.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query for emission factors (e.g., 'electricity', 'flight', 'truck')
categoryNoCategory of emission factors (e.g., 'Energy', 'Transport')
regionNoRegion code to filter results (e.g., 'US', 'EU')
yearNoYear of emission factors
sourceNoSource organization of emission factors (e.g., 'IPCC', 'EPA', 'BEIS')
data_versionNoData version of emission factors
unit_typeNoUnit type of emission factors (e.g., 'energy', 'distance', 'weight')

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It describes the search functionality but lacks behavioral details: it doesn't mention whether this is a read-only operation, how results are returned (e.g., pagination, format), rate limits, authentication requirements, or error handling. For a search tool with 7 parameters and no annotation coverage, this leaves significant gaps in understanding how the tool behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose. It avoids redundancy by not repeating schema details. However, it could be slightly more structured by separating the action from the goal (e.g., 'Search for emission factors... Use this to...'), but overall it's concise and well-focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (7 parameters, no annotations, no output schema), the description is adequate but incomplete. It covers the basic purpose and parameters but lacks behavioral transparency and clear usage differentiation from siblings. Without an output schema, it doesn't describe return values, which is a gap for a search tool. It meets minimum viability but has clear room for improvement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all 7 parameters well-documented in the schema. The description adds minimal value beyond the schema by listing the same parameters (keyword, category, region, year, source, other metadata) without providing additional context like examples beyond 'query' or explaining interactions between parameters. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Search Climatiq's database for emission factors by keyword, category, region, year, source, and other metadata to find appropriate factors for calculations.' It specifies the action (search), resource (emission factors database), and scope (by various metadata). However, it doesn't explicitly distinguish this general search tool from the more specific sibling tools like 'electricity-emission' or 'travel-emission' that appear to target specific domains.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through 'to find appropriate factors for calculations,' suggesting this is for discovery before calculation. However, it provides no explicit guidance on when to use this tool versus the more specific sibling tools (e.g., 'electricity-emission' for electricity-related factors), nor does it mention prerequisites like API key setup (though 'set-api-key' exists as a sibling). The guidance is present but incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

set-api-keyA

Set the Climatiq API key for authentication. This allows the server to make authorized requests to the Climatiq API.

ParametersJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour Climatiq API key obtained from app.climatiq.io

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly indicates this is a configuration/mutation tool (setting an API key) and explains the authentication purpose. However, it doesn't address important behavioral aspects like whether this persists across sessions, if it overwrites existing keys, what happens on failure, or any rate limits/security implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description consists of two focused sentences that directly address the tool's purpose and usage. Every word earns its place with zero redundancy or fluff. The information is front-loaded and efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter authentication tool with no annotations and no output schema, the description provides adequate basic context about what the tool does and why. However, it lacks details about behavioral consequences (persistence, error handling) and doesn't explain what 'success' looks like since there's no output schema to document return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the single parameter 'api_key' well-documented in the schema itself. The description doesn't add any additional parameter semantics beyond what the schema already provides (it mentions 'API key' but doesn't elaborate on format, validation, or source requirements). This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Set') and resource ('Climatiq API key for authentication'), with the explicit purpose of enabling authorized API requests. It distinguishes this from sibling tools that perform emission calculations or searches, making it immediately clear this is an authentication configuration tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: 'for authentication' and 'to make authorized requests to the Climatiq API.' It implies this should be used before calling other emission calculation tools that require authentication, providing clear contextual guidance without needing to list specific alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

travel-emissionC

Calculate emissions from passenger travel via car, plane, or train, with options for vehicle types and passenger count.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeYesTravel mode (car, plane, train)
distanceNoDistance traveled (optional if origin and destination are provided)
distance_unitNoDistance unit (km, mi)km
passengersNoNumber of passengers (for car travel)
vehicle_typeNoFor car: small/medium/large; For plane: short/medium/long-haul/domestic/international; For train: electric/dieselmedium
fuel_typeNoFor car: regular/electric/hybridregular
originNoOrigin location for travel API (allows automatic distance calculation)
destinationNoDestination location for travel API (allows automatic distance calculation)
yearNoYear of travel for more accurate emission factors
car_detailsNoDetailed car specifications for more accurate calculations
air_detailsNoDetailed flight specifications for more accurate calculations

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does (calculates emissions) but doesn't describe important behavioral aspects: whether this is a read-only calculation or has side effects, what the output format looks like, whether it requires authentication (like 'set-api-key' sibling suggests), or any rate limits. The description is minimal and lacks operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose and key features without waste. It's appropriately sized for a calculation tool and front-loads the essential information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 11 parameters, nested objects, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns, how results are formatted, whether calculations are real-time or cached, or how it integrates with sibling tools like 'set-api-key'. The description leaves too many operational questions unanswered given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 11 parameters thoroughly. The description adds minimal value beyond the schema - it mentions 'options for vehicle types and passenger count' which are covered in the schema, but doesn't provide additional context about parameter interactions or usage patterns. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate emissions from passenger travel via car, plane, or train' - a specific verb (calculate) with resource (emissions) and scope (passenger travel). It distinguishes from siblings like 'freight-emission' and 'hotel-emission' by focusing on passenger travel, though it doesn't explicitly differentiate from 'travel-spend' which might be related.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions 'options for vehicle types and passenger count' but doesn't specify when to choose this over sibling tools like 'custom-emission-calculation' or 'search-emission-factors', nor does it mention prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

travel-spendC

Calculate carbon emissions from travel-related spending based on spend type, amount, currency, location, and year.

ParametersJSON Schema
NameRequiredDescriptionDefault
spend_typeYesType of travel spending (air, road, rail, sea, hotel)
moneyYesAmount of money spent
money_unitYesCurrency unit for the spent money
spend_locationYesLocation of the travel spending
spend_yearNoYear of the travel spending

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It describes what the tool does (calculation) but doesn't mention important behavioral aspects: whether it's a read-only operation, what format the output takes, whether it requires authentication (like 'set-api-key'), accuracy limitations, or rate limits. For a calculation tool with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose. It lists all parameters without unnecessary elaboration. While it could potentially be more structured, every word serves a purpose and there's no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a calculation tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (emissions in what units?), how accurate the calculation is, what data sources are used, or whether authentication is required despite 'set-api-key' being a sibling tool. The agent lacks crucial context for proper tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description lists the same parameters ('spend type, amount, currency, location, and year') but doesn't add meaningful semantic context beyond what's in the schema descriptions. It doesn't explain how these parameters interact or affect the calculation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Calculate carbon emissions from travel-related spending' with specific parameters listed. It uses a clear verb ('calculate') and identifies the resource ('carbon emissions'), but doesn't explicitly differentiate from sibling tools like 'travel-emission' or 'hotel-emission' which might have overlapping functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives. The description lists parameters but doesn't indicate prerequisites, appropriate contexts, or when to choose this over sibling tools like 'travel-emission' or 'custom-emission-calculation'. The agent must infer usage from the parameter list alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updates
    • First observedcloud-computing-emission
    • First observedcustom-emission-calculation
    • First observedelectricity-emission
    • First observedfreight-emission
    • First observedhotel-emission
    • First observedprocurement-emission
    • First observedsearch-emission-factors
    • First observedset-api-key
    • First observedtravel-emission
    • First observedtravel-spend

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose targeting specific domains like cloud computing, electricity, freight, hotel stays, procurement, travel, and emission factor search. There is no overlap in functionality, and the descriptions precisely differentiate each tool's scope, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent hyphenated pattern with a clear noun-emission or action-emission structure (e.g., cloud-computing-emission, search-emission-factors, set-api-key). This uniformity enhances readability and predictability across the tool set.

Tool Count5/5

With 10 tools, the server is well-scoped for carbon emission calculations across various domains. Each tool earns its place by covering distinct aspects like transportation, energy, procurement, and authentication, providing a comprehensive yet manageable surface for the Climatiq API.

Completeness5/5

The tool set offers complete coverage for carbon emission calculations, including key domains (electricity, travel, freight, procurement), a search tool for emission factors, a custom calculation option, and authentication via set-api-key. There are no obvious gaps, enabling agents to handle full workflows from data lookup to emission assessment.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers