Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Metrc

FreeNot checked

METRC Cannabis Compliance Documentation MCP Server - Search 7,282 sections across 17 states via AI agents

GitHubEmbed

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

  1. Visit https://www.metrc.ai
  2. Download the connector file
  3. Drag & drop it into Claude Desktop
  4. 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 documentation
  • get_metrc_endpoint - Find API endpoint documentation
  • list_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"}
    }
  }'

from github.com/samcorl/metrc-mcp-server

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-server

FAQ

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

Compare Metrc with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs