Metrc
FreeNot checkedMETRC Cannabis Compliance Documentation MCP Server - Search 7,282 sections across 17 states via AI agents
About
METRC Cannabis Compliance Documentation MCP Server - Search 7,282 sections across 17 states via AI agents
README
A Model Context Protocol (MCP) server that provides AI agents with searchable access to METRC cannabis compliance documentation across all legal states.
🚀 Live Demo: https://www.metrc.ai
What This Does
Enables AI agents (Claude Desktop, Cursor, etc.) to search and reference 7,282 sections of METRC documentation across 17 states in real-time during conversations.
Quick Start
For Claude Desktop Users
- Visit https://www.metrc.ai
- Download the connector file
- Drag & drop it into Claude Desktop
- Ask: "What are the package labeling requirements in California?"
For Developers
# Clone and setup
git clone https://github.com/your-username/metrc-mcp-server.git
cd metrc-mcp-server
bundle install
# Import documentation (if you have the source data)
bin/import /path/to/metrc_from_printable
# Start MCP server (stdio mode)
bin/mcp_server
# Or start HTTP server
bin/simple_mcp_server
Available Tools
search_metrc_docs- Full-text search across all documentationget_metrc_endpoint- Find API endpoint documentationlist_states- Get all available states
States Covered
CA, CO, NV, OR, AK, MA, MI, IL, MD, OH, OK, LA, MN, MO, DC, VA, WV
Architecture
- SQLite FTS for fast full-text search
- MCP Protocol for AI agent integration
- HTTP/JSON-RPC transport for web deployment
- Ruby/Sinatra lightweight server
Deployment
Includes deployment scripts for EC2/VPS hosting:
./deploy.sh # Deploy to production server
API Example
curl -X POST https://www.metrc.ai/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_metrc_docs",
"arguments": {"query": "packages"}
}
}'
Installing Metrc
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/samcorl/metrc-mcp-serverFAQ
Is Metrc MCP free?
Yes, Metrc MCP is free — one-click install via Unyly at no cost.
Does Metrc need an API key?
No, Metrc runs without API keys or environment variables.
Is Metrc hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Metrc in Claude Desktop, Claude Code or Cursor?
Open Metrc on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Metrc with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
