Overview
The Dcycle MCP Server integrates with Claude Desktop and Claude Code, allowing you to query your sustainability data using natural language.Prerequisites
- Dcycle API Key - Get it from Settings > API
- Organization ID - Your organization UUID from Dcycle
- Claude Desktop or Claude Code
Installation
Configuration
Claude Desktop
- macOS
- Windows
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:Claude Code
Add a.mcp.json file to your project root:
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
DCYCLE_API_KEY | Yes | — | Your Dcycle API key |
DCYCLE_ORG_ID | Recommended | — | Default organization UUID |
DCYCLE_API_URL | No | https://api.dcycle.io | API base URL |
Verify the Connection
Ask Claude:get_connection_status and show your organization metrics — facilities, vehicles, employees, and more.
Example Queries
Organization Overview
Energy & Invoices
Fleet
Supply Chain
Business Travel
Logistics
Tips for Better Results
Specify the organization
Specify the organization
If you have access to multiple organizations, your
DCYCLE_ORG_ID env var sets the default. You can also pass organization_id to any tool.Use filters
Use filters
Most list tools support filters:
status, type, date ranges, and search. Ask Claude to filter — it will use the right parameters.Ask follow-up questions
Ask follow-up questions
Claude maintains context. After listing vehicles, ask “which ones use diesel?” or “show me the top emitters”.
Request specific formats
Request specific formats
Ask for tables, comparisons, or summaries: “show this as a table” or “summarize the key findings”.
Troubleshooting
”MCP server not found”
- Ensure you have Python 3.10+ installed
- Verify
uvxis available (install withpip install uv) - Check the configuration file syntax is valid JSON
”Authentication failed”
- Verify your API key is correct and hasn’t expired
- Ensure
DCYCLE_API_KEYis set in the config - Generate a new API key if needed at app.dcycle.io/settings/api
”organization_id is required”
- Set
DCYCLE_ORG_IDin your env config, or pass the organization UUID directly in your query

