Back to Learn
Feature Tutorial

Use CannMenus Data in Claude Code

Add CannMenus as an MCP server in Claude Code for terminal-based market analysis.

Jan 1, 20253 min read

What This Does

Adding CannMenus to Claude Code lets you pull live cannabis market data directly from your terminal. Query brands, pricing, distribution, and stock status without leaving your dev environment. Great for analysts and developers who want to script against real data.

How to Connect

  1. Step 1

    Run the Setup Command

    Open your terminal and run: claude mcp add cannmenus https://mcp.cannmenus.com/sse

  2. Step 2

    Authorize Access

    Follow the authorization prompt that appears. This links your CannMenus API key to your Claude Code session.

  3. Step 3

    Start Using It

    That is it. Start a new Claude Code session and ask for cannabis market data. Claude Code will call CannMenus tools automatically when your prompt needs market data.

Example Prompts to Try

Tips

  • "Pull the top 10 brands in California by retailer count and save to a CSV"
  • "Compare flower pricing across Colorado dispensaries"
  • "Find dispensaries that stock brand X but not brand Y in Michigan"

Tips and Best Practices

Tips

  • When Claude Code asks to use CannMenus tools, select 'Always allow' so you don't get prompted on every query.
  • Ask Claude Code to save results to files - CSV, JSON, or whatever format you need.
  • You can chain data pulls with analysis. Ask it to pull data and then summarize trends.
  • Specify states in your prompts for faster, more focused results.
  • Claude Code can write scripts that use the data, so you can automate recurring analyses.
  • Use Opus for deep analysis sessions. Sonnet is faster for quick data pulls.

WholeSync: Query Your Wholesale + Market Data Together

If you're a WholeSync subscriber, Claude Code becomes even more powerful. Your wholesale accounts, CRM contacts, and retail menu insights are unified at the SKU level. Ask things like "Which accounts ordered less than last month and are also losing shelf space?" or "Build me a CSV of accounts carrying competitor X but not us, sorted by store volume." You get your order history, CRM context, and live market data in one queryable layer - right from the terminal.