{"_id":"@autocbam/mcp","_rev":"2-fb26bc0ccf74ebe26cff2aeab6540dbc","name":"@autocbam/mcp","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@autocbam/mcp","version":"0.1.0","keywords":["mcp","model-context-protocol","cbam","carbon-border-adjustment","eu-regulation","claude","anthropic"],"author":{"url":"Agonist Development AB","name":"Alekszandr Bricskin"},"license":"MIT","_id":"@autocbam/mcp@0.1.0","maintainers":[{"name":"agonist","email":"ab@agonist.ai"}],"homepage":"https://autocbam.com","bugs":{"url":"https://github.com/agonist-ai/autocbam/issues"},"bin":{"autocbam-mcp":"dist/index.js"},"dist":{"shasum":"8d32e484471520b11b647f48d35df0910087c6bb","tarball":"https://registry.npmjs.org/@autocbam/mcp/-/mcp-0.1.0.tgz","fileCount":3,"integrity":"sha512-9IxGgm8qZSyUlEKT6z/hOJdmY90k1gRA7IrlL/BWiZciqvUttCX6tuKvBR/5TeUX0wPDGEm5+AAw6g2/ul5enw==","signatures":[{"sig":"MEUCIEgwSMeOIRgY922b45ryG6ib8HVaJGgZbw1MO8n8NDlQAiEA5aR5WVVl3TD78IMD25oW9y592uHjwyl4CG5hOj45shk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29920},"main":"./dist/index.js","type":"module","_from":"file:autocbam-mcp-0.1.0.tgz","engines":{"node":">=20"},"scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsup src/index.ts --format esm --target node20 --out-dir dist --clean --shims","inspect":"npx @modelcontextprotocol/inspector tsx src/index.ts","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"pnpm build"},"_npmUser":{"name":"agonist","email":"ab@agonist.ai"},"_resolved":"/Users/pedro/autocbam/autocbam/mcp/autocbam-mcp-0.1.0.tgz","_integrity":"sha512-9IxGgm8qZSyUlEKT6z/hOJdmY90k1gRA7IrlL/BWiZciqvUttCX6tuKvBR/5TeUX0wPDGEm5+AAw6g2/ul5enw==","repository":{"url":"git+https://github.com/agonist-ai/autocbam.git","type":"git","directory":"autocbam/mcp"},"_npmVersion":"11.12.1","description":"AutoCBAM MCP server — CBAM calculator, CN-code lookup, EU ETS price, verifier registry, and Omnibus 2025/2083 de minimis check, exposed to Claude / ChatGPT / Cursor / Cline via the Model Context Protocol.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.6.0","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1779357728227_0.8230430489639915","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@autocbam/mcp","version":"0.1.1","description":"AutoCBAM MCP server — CBAM calculator, CN-code lookup, EU ETS price, verifier registry, and Omnibus 2025/2083 de minimis check, exposed to Claude / ChatGPT / Cursor / Cline via the Model Context Protocol.","license":"MIT","type":"module","bin":{"autocbam-mcp":"dist/index.js"},"main":"./dist/index.js","scripts":{"build":"tsup src/index.ts --format esm --target node20 --out-dir dist --clean --shims","dev":"tsx src/index.ts","inspect":"npx @modelcontextprotocol/inspector tsx src/index.ts","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"keywords":["mcp","model-context-protocol","cbam","carbon-border-adjustment","eu-regulation","claude","anthropic"],"author":{"name":"Alekszandr Bricskin","url":"Agonist Development AB"},"homepage":"https://autocbam.com","repository":{"type":"git","url":"git+https://github.com/agonist-ai/autocbam.git","directory":"autocbam/mcp"},"bugs":{"url":"https://github.com/agonist-ai/autocbam/issues"},"engines":{"node":">=20"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","zod":"^3.23.0","zod-to-json-schema":"^3.23.0"},"devDependencies":{"@types/node":"^24.0.0","tsup":"^8.3.0","tsx":"^4.19.0","typescript":"^5.6.0","vitest":"^2.1.0"},"_id":"@autocbam/mcp@0.1.1","_integrity":"sha512-ed31C8kgwYTB8rr53vaQjxZOhSLuWeneZiz4jSa0y3rlTp9ngAdV/7XQYkfXsHHUae0cxBEQFZ8bdch0kmhq4g==","_resolved":"/Users/pedro/autocbam/autocbam/mcp/autocbam-mcp-0.1.1.tgz","_from":"file:autocbam-mcp-0.1.1.tgz","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-ed31C8kgwYTB8rr53vaQjxZOhSLuWeneZiz4jSa0y3rlTp9ngAdV/7XQYkfXsHHUae0cxBEQFZ8bdch0kmhq4g==","shasum":"29fa454d4fc3f4bba5ac747ee1d89f785ed447b5","tarball":"https://registry.npmjs.org/@autocbam/mcp/-/mcp-0.1.1.tgz","fileCount":4,"unpackedSize":29751,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHIwkZgW+Mw9aeiHTmTaZS0pKb1Vc25A6IISbGpMBpEVAiBDw/4W4vBkKhjT7Mf5Wm30+Ow+T2v/a7gxyUmWvyUdQg=="}]},"_npmUser":{"name":"agonist","email":"ab@agonist.ai"},"directories":{},"maintainers":[{"name":"agonist","email":"ab@agonist.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.1_1779361901706_0.7871091653638713"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T10:02:08.066Z","modified":"2026-05-21T11:11:42.558Z","0.1.0":"2026-05-21T10:02:08.355Z","0.1.1":"2026-05-21T11:11:41.853Z"},"bugs":{"url":"https://github.com/agonist-ai/autocbam/issues"},"author":{"name":"Alekszandr Bricskin","url":"Agonist Development AB"},"license":"MIT","homepage":"https://autocbam.com","keywords":["mcp","model-context-protocol","cbam","carbon-border-adjustment","eu-regulation","claude","anthropic"],"repository":{"type":"git","url":"git+https://github.com/agonist-ai/autocbam.git","directory":"autocbam/mcp"},"description":"AutoCBAM MCP server — CBAM calculator, CN-code lookup, EU ETS price, verifier registry, and Omnibus 2025/2083 de minimis check, exposed to Claude / ChatGPT / Cursor / Cline via the Model Context Protocol.","maintainers":[{"name":"agonist","email":"ab@agonist.ai"}],"readme":"# @autocbam/mcp — AutoCBAM Model Context Protocol server\n\nExpose AutoCBAM's CBAM calculator, CN-code registry, EU ETS price, accredited-verifier registry, and Omnibus 2025/2083 de minimis logic to any MCP-supporting LLM client — Claude Desktop, Cursor, Cline, Continue, VS Code agents.\n\n**Status:** v0.1 — calculator-only, public read-only surface, no auth. Multi-tenant production MCP (per-org writes via OAuth 2.1) ships in a separate package once the AutoCBAM backend ships §5.4 / §5.5 / §5.8 / §5.9 — see `docs/PRD-MCP-SERVER.md` §0.2 and `docs/PRD-IMPL-*` for the roadmap.\n\n## What it does\n\nFive tools and one resource:\n\n| Tool                       | What it does                                                                                                  |\n|----------------------------|---------------------------------------------------------------------------------------------------------------|\n| `cbam_cn_check`            | Determine if a Combined Nomenclature code is in CBAM scope and which sector it maps to (iron and steel / aluminium / cement / fertilisers / hydrogen / electricity). |\n| `cbam_calculator`          | Compute embedded emissions + certificate cost (low / mid / high) for a shipment, with Annex IV provenance.    |\n| `cbam_ets_price`           | Current EU ETS allowance spot price (€/tCO₂).                                                                 |\n| `cbam_verifier_lookup`     | Validate a single CBAM verifier accreditation ID against the AutoCBAM registry (exact-ID lookup, not free-text search). |\n| `cbam_de_minimis_check`    | Return the 50-tonne cumulative-annual threshold from Reg (EU) 2025/2083 Art. 2 and force the caller to disambiguate single-shipment vs YTD mass. |\n\n| Resource                                  | Description                                                                                  |\n|-------------------------------------------|----------------------------------------------------------------------------------------------|\n| `cbam://regulations/omnibus-2025-2083`    | Plain-text summary of Regulation (EU) 2025/2083 (\"Omnibus simplification\") and how it amends CBAM Regulation (EU) 2023/956. |\n\nAll tools call the public `https://autocbam.com/api/*` endpoints; no authentication required.\n\n## Install\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\Claude\\claude_desktop_config.json` (Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"autocbam\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@autocbam/mcp@latest\"]\n    }\n  }\n}\n```\n\nRestart Claude Desktop. Then ask: «What is my CBAM liability for 500 tonnes of CN 72104900 steel from India in compliance year 2026?»\n\n### Cursor\n\n`~/.cursor/mcp.json` (or per-workspace `.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"autocbam\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@autocbam/mcp@latest\"]\n    }\n  }\n}\n```\n\n### Cline / Continue / VS Code MCP-supporting agents\n\nUse the same `command + args` pair. Refer to your client's MCP config docs.\n\n## Develop\n\n```bash\n# from /Users/pedro/autocbam/autocbam/mcp/\npnpm install\n\n# run locally with tsx\npnpm dev\n\n# inspect with the official MCP Inspector\npnpm inspect\n\n# vitest (live integration against autocbam.com)\npnpm test\n\n# build for npm publish\npnpm build\n```\n\nSet `AUTOCBAM_BASE_URL=https://staging.autocbam.com` to point tests / dev at staging.\n\n## Environment\n\n| Variable                | Default                      | Purpose                                                                         |\n|-------------------------|------------------------------|---------------------------------------------------------------------------------|\n| `AUTOCBAM_BASE_URL`     | `https://autocbam.com`       | Base URL the MCP tools call.                                                    |\n| `AUTOCBAM_TEST_BASE_URL`| `https://autocbam.com`       | Same purpose, but read by the vitest suite only.                                |\n\n## License\n\nMIT — see `LICENSE`.\n\nMaintained by Agonist Development AB (Stockholm). Reach out: pedro@agonist.se.\n","readmeFilename":"README.md"}