{"at":"2026-11-23T03:26:19.077Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:26:19.967Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"leadgreen","version":"0.3.1"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"Tools for the Lead Green Green Tokens index: GPU watt-hours per million output tokens for open-weight LLMs on H100 and B200, with grid carbon intensity by country and GPU hardware reference data. Every figure is from a public source named in the response. Always pass the caveat on: the numbers are GPU-only floors from a busy server. data_source says whether a response came from the live API or the bundled snapshot.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T03:26:19.967Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:26:19.971Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"leadgreen","version":"0.3.1"}},"cacheScope":"private","resultType":"complete","tools":[{"description":"List every model on the Green Tokens index with the GPUs it was measured on.\n\nReturns names, Hugging Face ids, parameter counts and the GPUs available, so\nyou can pick exact arguments for the other tools.\n","inputSchema":{"properties":{},"title":"list_modelsArguments","type":"object"},"name":"list_models"},{"description":"GPU energy per million output tokens for a model, from the index.\n\nArgs:\n    model: model name, slug or Hugging Face id (for example \"Qwen 3 32B\",\n        \"qwen-3-32b\" or \"Qwen/Qwen3-32B\").\n    gpu: optional, \"H100\" or \"B200\". If omitted, every GPU the model was\n        measured on is returned.\n    itl_deadline_ms: optional latency ceiling in milliseconds. If given, each\n        GPU's row is re-selected from every measured configuration: the\n        lowest energy whose median inter-token latency is at or under it.\n        If omitted, the index rows (the index's own ceiling) are returned.\n\nEach row is the most energy-efficient configuration found for that model on\nthat GPU while keeping median inter-token latency under the ceiling, on a\ntext-conversation workload. The response reports the ceiling used.\n","inputSchema":{"properties":{"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"},"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"}},"required":["model"],"title":"energy_per_million_tokensArguments","type":"object"},"name":"energy_per_million_tokens"},{"description":"Estimate GPU energy, and optionally carbon and energy at the meter, for serving a number of output tokens.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    output_tokens: how many output tokens will be generated (for example\n        50_000_000 for fifty million).\n    gpu: \"H100\" or \"B200\". If omitted, the most efficient measured GPU is used.\n    country: optional country name or ISO 3166 code (or \"World\") to convert\n        the energy to kg CO2e using that grid's annual average intensity.\n    running_batch: optional. The average running batch the server will hold:\n        how many requests it decodes at once (vLLM num_requests_running). If\n        given, the estimate uses the measured configuration nearest to it, on\n        the same GPU count as the best row unless num_gpus is set. A small\n        running batch can raise energy per token several-fold.\n    num_gpus: optional. Use configurations on this many GPUs (for example 2\n        for 2 x H100).\n    itl_deadline_ms: optional latency ceiling in milliseconds. The lowest-energy\n        configuration with median inter-token latency at or under it is used.\n        If omitted, the index's own ceiling applies.\n    pue: optional power usage effectiveness of the facility, at least 1.0.\n    system_power_ratio: optional ratio of whole-server power to GPU power, at\n        least 1.0 (a DGX B200 at its 14.3 kW maximum over 8 x 1.0 kW of GPU\n        power is about 1.79).\n    requests_in_flight: the old name for running_batch, still accepted.\n\nReturns energy in Wh and kWh, the configuration used, and, with a country,\nkg CO2e. With pue or system_power_ratio it also returns energy at the meter,\nwhich rests on those assumptions. The measured figures are GPU-only floors;\nsee the caveat.\n","inputSchema":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Country"},"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"},"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"},"num_gpus":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Num Gpus"},"output_tokens":{"title":"Output Tokens","type":"number"},"pue":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pue"},"requests_in_flight":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Requests In Flight"},"running_batch":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Running Batch"},"system_power_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"System Power Ratio"}},"required":["model","output_tokens"],"title":"estimateArguments","type":"object"},"name":"estimate"},{"description":"Compare a model's energy per million output tokens on H100 and B200.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    itl_deadline_ms: optional latency ceiling in milliseconds. If given, each\n        GPU's row is the lowest-energy configuration with median inter-token\n        latency at or under it. If omitted, the index rows are compared.\n\nReturns the best row per GPU and the ratio between them. Models measured on\nonly one GPU return that single row.\n","inputSchema":{"properties":{"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"}},"required":["model"],"title":"compare_gpusArguments","type":"object"},"name":"compare_gpus"},{"description":"Energy per million output tokens at every measured running batch for a model on a GPU.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    gpu: \"H100\" or \"B200\".\n\nThe running batch (avg_running_batch, vLLM num_requests_running) is how many\nrequests the server decodes at once. Energy per token falls as it grows. Use\nthis to see where a lightly loaded deployment sits relative to the index.\n","inputSchema":{"properties":{"gpu":{"title":"Gpu","type":"string"},"model":{"title":"Model","type":"string"}},"required":["model","gpu"],"title":"concurrency_curveArguments","type":"object"},"name":"concurrency_curve"},{"description":"Annual average grid carbon intensity for a country, in g CO2e per kWh.\n\nArgs:\n    country: country name (common names such as \"UK\", \"US\" or \"Turkey\"\n        work), ISO 3166 alpha-3 code, alpha-2 code where the data carries\n        it, or \"World\".\n\ndisplay_name is the short name the site shows; name is the data source's label.\n","inputSchema":{"properties":{"country":{"title":"Country","type":"string"}},"required":["country"],"title":"grid_intensityArguments","type":"object"},"name":"grid_intensity"},{"description":"Manufacturer power ceilings (max TDP), memory, and MIG slice profiles for data-centre GPUs.\n\nArgs:\n    gpu: optional filter such as \"H100\", \"H200\", \"A100\" or \"B200\". Omit for all.\n\nWhole-system ceilings (for example DGX B200) come with the matching GPU; they\nhelp choose a system_power_ratio for estimate.\n","inputSchema":{"properties":{"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"}},"title":"gpu_hardwareArguments","type":"object"},"name":"gpu_hardware"},{"description":"Every source behind the index, with version, retrieval date and licence, plus the API endpoints.","inputSchema":{"properties":{},"title":"sourcesArguments","type":"object"},"name":"sources"}],"ttlMs":0}}}
{"at":"2026-11-23T03:26:20.122Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:26:21.032Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"Tools for the Lead Green Green Tokens index: GPU watt-hours per million output tokens for open-weight LLMs on H100 and B200, with grid carbon intensity by country and GPU hardware reference data. Every figure is from a public source named in the response. Always pass the caveat on: the numbers are GPU-only floors from a busy server. data_source says whether a response came from the live API or the bundled snapshot.","protocolVersion":"2025-11-25","serverInfo":{"name":"leadgreen","version":"0.3.1"}}}}
{"at":"2026-11-23T03:26:21.032Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:26:21.032Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:26:21.036Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"List every model on the Green Tokens index with the GPUs it was measured on.\n\nReturns names, Hugging Face ids, parameter counts and the GPUs available, so\nyou can pick exact arguments for the other tools.\n","inputSchema":{"properties":{},"title":"list_modelsArguments","type":"object"},"name":"list_models"},{"description":"GPU energy per million output tokens for a model, from the index.\n\nArgs:\n    model: model name, slug or Hugging Face id (for example \"Qwen 3 32B\",\n        \"qwen-3-32b\" or \"Qwen/Qwen3-32B\").\n    gpu: optional, \"H100\" or \"B200\". If omitted, every GPU the model was\n        measured on is returned.\n    itl_deadline_ms: optional latency ceiling in milliseconds. If given, each\n        GPU's row is re-selected from every measured configuration: the\n        lowest energy whose median inter-token latency is at or under it.\n        If omitted, the index rows (the index's own ceiling) are returned.\n\nEach row is the most energy-efficient configuration found for that model on\nthat GPU while keeping median inter-token latency under the ceiling, on a\ntext-conversation workload. The response reports the ceiling used.\n","inputSchema":{"properties":{"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"},"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"}},"required":["model"],"title":"energy_per_million_tokensArguments","type":"object"},"name":"energy_per_million_tokens"},{"description":"Estimate GPU energy, and optionally carbon and energy at the meter, for serving a number of output tokens.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    output_tokens: how many output tokens will be generated (for example\n        50_000_000 for fifty million).\n    gpu: \"H100\" or \"B200\". If omitted, the most efficient measured GPU is used.\n    country: optional country name or ISO 3166 code (or \"World\") to convert\n        the energy to kg CO2e using that grid's annual average intensity.\n    running_batch: optional. The average running batch the server will hold:\n        how many requests it decodes at once (vLLM num_requests_running). If\n        given, the estimate uses the measured configuration nearest to it, on\n        the same GPU count as the best row unless num_gpus is set. A small\n        running batch can raise energy per token several-fold.\n    num_gpus: optional. Use configurations on this many GPUs (for example 2\n        for 2 x H100).\n    itl_deadline_ms: optional latency ceiling in milliseconds. The lowest-energy\n        configuration with median inter-token latency at or under it is used.\n        If omitted, the index's own ceiling applies.\n    pue: optional power usage effectiveness of the facility, at least 1.0.\n    system_power_ratio: optional ratio of whole-server power to GPU power, at\n        least 1.0 (a DGX B200 at its 14.3 kW maximum over 8 x 1.0 kW of GPU\n        power is about 1.79).\n    requests_in_flight: the old name for running_batch, still accepted.\n\nReturns energy in Wh and kWh, the configuration used, and, with a country,\nkg CO2e. With pue or system_power_ratio it also returns energy at the meter,\nwhich rests on those assumptions. The measured figures are GPU-only floors;\nsee the caveat.\n","inputSchema":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Country"},"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"},"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"},"num_gpus":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Num Gpus"},"output_tokens":{"title":"Output Tokens","type":"number"},"pue":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pue"},"requests_in_flight":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Requests In Flight"},"running_batch":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Running Batch"},"system_power_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"System Power Ratio"}},"required":["model","output_tokens"],"title":"estimateArguments","type":"object"},"name":"estimate"},{"description":"Compare a model's energy per million output tokens on H100 and B200.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    itl_deadline_ms: optional latency ceiling in milliseconds. If given, each\n        GPU's row is the lowest-energy configuration with median inter-token\n        latency at or under it. If omitted, the index rows are compared.\n\nReturns the best row per GPU and the ratio between them. Models measured on\nonly one GPU return that single row.\n","inputSchema":{"properties":{"itl_deadline_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Itl Deadline Ms"},"model":{"title":"Model","type":"string"}},"required":["model"],"title":"compare_gpusArguments","type":"object"},"name":"compare_gpus"},{"description":"Energy per million output tokens at every measured running batch for a model on a GPU.\n\nArgs:\n    model: model name, slug or Hugging Face id.\n    gpu: \"H100\" or \"B200\".\n\nThe running batch (avg_running_batch, vLLM num_requests_running) is how many\nrequests the server decodes at once. Energy per token falls as it grows. Use\nthis to see where a lightly loaded deployment sits relative to the index.\n","inputSchema":{"properties":{"gpu":{"title":"Gpu","type":"string"},"model":{"title":"Model","type":"string"}},"required":["model","gpu"],"title":"concurrency_curveArguments","type":"object"},"name":"concurrency_curve"},{"description":"Annual average grid carbon intensity for a country, in g CO2e per kWh.\n\nArgs:\n    country: country name (common names such as \"UK\", \"US\" or \"Turkey\"\n        work), ISO 3166 alpha-3 code, alpha-2 code where the data carries\n        it, or \"World\".\n\ndisplay_name is the short name the site shows; name is the data source's label.\n","inputSchema":{"properties":{"country":{"title":"Country","type":"string"}},"required":["country"],"title":"grid_intensityArguments","type":"object"},"name":"grid_intensity"},{"description":"Manufacturer power ceilings (max TDP), memory, and MIG slice profiles for data-centre GPUs.\n\nArgs:\n    gpu: optional filter such as \"H100\", \"H200\", \"A100\" or \"B200\". Omit for all.\n\nWhole-system ceilings (for example DGX B200) come with the matching GPU; they\nhelp choose a system_power_ratio for estimate.\n","inputSchema":{"properties":{"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Gpu"}},"title":"gpu_hardwareArguments","type":"object"},"name":"gpu_hardware"},{"description":"Every source behind the index, with version, retrieval date and licence, plus the API endpoints.","inputSchema":{"properties":{},"title":"sourcesArguments","type":"object"},"name":"sources"}]}}}
