Ask your AI about the METRC API.
Connect ChatGPT, Claude, or any MCP client to METRC's API documentation: 7,282 sections across 17 states. Free, with no sign-in.
MCP endpoint
https://api.metrc.ai/mcp
Paste it into your AI app's connector settings.
Connect your AI
ChatGPT
- Open Plugins and choose Add custom MCP server.
- Enter a name, then paste
https://api.metrc.ai/mcpas the server URL. - Set authentication to No authentication, accept the warning, and create the plugin.
- In a chat, type
@and pick the plugin.
Claude
- Go to Settings, then Connectors, and choose Add custom connector.
- Paste
https://api.metrc.ai/mcpand save.
Older Claude Desktop setups can use the mcp-remote bridge instead. Add this to claude_desktop_config.json, which requires Node.js, then restart Claude Desktop:
{
"mcpServers": {
"metrc-docs": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.metrc.ai/mcp"]
}
}
}
Other MCP clients
Cursor and other MCP clients connect to the same URL. The server follows the stateless MCP spec (2026-07-28), so there's no session to set up, and older MCP clients work too.
Things you can ask
- "I'm building a Colorado METRC integration. How do I list my active packages, and what fields come back?"
- "How do I adjust a package's weight in California, and which adjustment reasons does METRC allow?"
- "What do I call to record lab test results for a package in Nevada?"
What's inside
METRC's API documentation for each state: endpoints, request and response fields, and required permissions. Topics include packages, plants, plant batches, harvests, lab tests, transfers, sales, and items.
It covers the API only. It doesn't include state regulations or compliance rules.
AK CA CO DC IL LA MA MD MI MN MO NV OH OK OR VA WV
For developers
Your AI gets three tools:
- search_metrc_docs
- Keyword search, filtered by state and topic.
- get_metrc_endpoint
- Full documentation for an endpoint path, such as
/packages/v2/active. - list_states
- The states with documentation.
Call it directly
Send a JSON-RPC request with POST. The Accept header must list both JSON and event-stream.
curl -X POST https://api.metrc.ai/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_metrc_docs",
"arguments": {"query": "packages", "state": "CO"}
}
}'
The response arrives as a single server-sent event: one data: line holding the JSON-RPC result. MCP client libraries handle this for you.