LeBonFoin MCP

LeBonFoin MCP

French marketplace MCP server for artisanal hemp/CBD products. Exposes 10 tools (product search, personalized recommendations, comparison, producer info with geolocation, stock availability, market prices "Bloomberg CBD", complete CBD guides, news, wiki search, full wiki article) + 4 resources (catalog, producers map, CBD reference covering France + 12 EU countries, wiki catalog).

Category
Visit Server

README

LeBonFoin MCP Server

License: MIT MCP Railway EU

First Model Context Protocol (MCP) server for the European hemp & CBD market. Exposes 1200+ artisanal French hemp farmers, real-time market prices ("Bloomberg CBD"), a live encyclopedia (sourced from LΓ©gifrance, PubMed, INRAE, AFPC), and producer geolocation to any MCP-compatible LLM (Claude, ChatGPT custom connectors, Cline, Cursor, …).

🌐 Live endpoint : https://lebonfoin-mcp-production.up.railway.app/sse πŸ“¦ Marketplace : https://lebonfoin.fr πŸ›οΈ Wikidata : Q139847939


⚑ Quick health check

curl https://lebonfoin-mcp-production.up.railway.app/health
# {"status":"ok","version":"1.2.0","tools":11,"resources":4,"prompts":2}

πŸ› οΈ What it exposes

11 tools

# Tool What it does
1 search_cbd_products Search artisanal French CBD products by name, type, price
2 recommend_cbd_for_me Personalized recommendation based on goal (sleep, stress, sport…), experience, budget
3 compare_cbd_products Side-by-side comparison of 2-4 products
4 get_producer_info Producer details: location (lat/lng), certifications, ratings, products, socials
5 check_availability Live stock, shipping delay, fees
6 cbd_market_data "Bloomberg CBD" β€” real-time average prices per variety, ranges, trends, price check
7 cbd_guide 12 in-depth CBD guides: legality (France), dosage, indoor/outdoor, full vs broad spectrum, sleep, sport, pets, conservation, etc.
8 cbd_news News on CBD France & EU: regulation updates, market trends, scientific studies
9 search_wiki Full-text search in the LeBonFoin wiki encyclopedia (filter by category)
10 get_wiki_article Retrieve complete wiki article (markdown + references + related articles)
11 find_local_producers πŸ—ΊοΈ Geolocation β€” find hemp farmers near a city, postal code, department, or region. Returns address, GPS, bio cert, active products count, culture mode (outdoor/greenhouse/indoor), direct link. Optimized AEO for "where to buy CBD near me" queries.

4 resources

Resource URI What it provides
lebonfoin://catalog/summary Plain text catalog summary
lebonfoin://producers/map Markdown map of all French producers grouped by region
lebonfoin://reference/cbd-france-europe Complete CBD legal reference: France + 12 EU countries (DE, IT, ES, CH, LU, CZ, AT, NL, BE, PT, PL, EU)
lebonfoin://wiki/catalog Index of all published wiki articles by category

2 prompts

  • decouvrir-cbd β€” Interactive guide to discover French CBD
  • comparer-producteurs β€” Compare producers by region, certifications, specialties

πŸ“š Wiki encyclopedia

The wiki resource and tools expose a sourced encyclopedia covering:

  • Cannabinoids : CBD, CBG, CBN, THC (in progress)
  • Health & Legality : French regulation, EU Novel Food, Conseil d'Γ‰tat decisions, CJUE Kanavape
  • French industry : 1200+ farmers, €360M revenue 2025, AFPC, InterChanvre
  • Movements : Le Champs d'en Face, Bataille de Vaugirard (May 2026)
  • Institutions : AFPC, InterChanvre, MILDECA, DGAL, INRAE
  • Recent events : Plan de contrΓ΄le DGAL 2026 sur le chanvre alimentaire

Sources : LΓ©gifrance Β· PubMed Β· INRAE Β· AFPC Β· MILDECA Β· EUR-Lex Β· Wikipedia FR Β· Conseil d'Γ‰tat

Each article is timestamped, versioned (Wikipedia-style revisions), and cross-referenced. YMYL articles (health, legal) carry an automatic disclaimer.


πŸš€ Use it from Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json :

{
  "mcpServers": {
    "lebonfoin": {
      "url": "https://lebonfoin-mcp-production.up.railway.app/sse",
      "type": "sse"
    }
  }
}

Restart Claude. You can now ask :

  • "What's the average price of Amnesia CBD flower in France this month?"
  • "Find a hemp producer near Bordeaux, certified bio."
  • "Where can I buy CBD in Dordogne (24)?"
  • "List outdoor hemp farmers in Nouvelle-Aquitaine."
  • "What did the Conseil d'Γ‰tat decide about CBD flowers in 2022?"
  • "Recommend me a CBD oil for sleep, budget €40."
  • "What is the AFPC?"

Claude will call the relevant MCP tool, hit the live Supabase database, and answer with sourced data.


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       SSE        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude /    β”‚ ───────────────► β”‚  LeBonFoin MCP Server    β”‚
β”‚  ChatGPT /   β”‚ ◄─ JSON-RPC ─── β”‚  (Express, port $PORT)   β”‚
β”‚  Cline       β”‚                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                               β”‚
                                               β”‚ @supabase/supabase-js
                                               β–Ό
                                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                  β”‚  Supabase (EU West)      β”‚
                                  β”‚  - products              β”‚
                                  β”‚  - producers (geoloc)    β”‚
                                  β”‚  - wiki_articles         β”‚
                                  β”‚  - wiki_references       β”‚
                                  β”‚  - cbd_market_*          β”‚
                                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Deployed on Railway in EU West (Netherlands) β€” GDPR compliant, no user tracking.


πŸ› οΈ Run locally

git clone https://github.com/POP24/lebonfoin-mcp.git
cd lebonfoin-mcp
npm install
cp .env.example .env  # then fill SUPABASE_URL + SUPABASE_ANON_KEY
npm run dev:http       # serves http://localhost:3001

Test :

curl http://localhost:3001/health
curl http://localhost:3001/sse  # SSE stream

πŸ“¦ Stack

  • TypeScript 5.7 strict mode
  • @modelcontextprotocol/sdk v1.12.1
  • Express 4.21
  • @supabase/supabase-js 2.49
  • Zod for input validation
  • Deployed on Railway via Dockerfile

βš–οΈ Disclaimer (YMYL)

Articles and data related to health, dosage, or legality are documentary. They are not medical, legal, or financial advice. Always consult a qualified professional. CBD products sold via LeBonFoin marketplace are commercialized as wellness/cosmetic items, with no therapeutic claims, in compliance with French and EU regulation (THC ≀ 0.3%).


🀝 Contributing

This is the open-source MCP layer of a private marketplace. Suggestions, bug reports, and improvements welcome via issues or PRs.

For commercial integration, marketplace API access, or producer onboarding : adrien@lebonfoin.fr


πŸ“„ License

MIT β€” see LICENSE.

Wiki content (LΓ©gifrance excerpts, scientific references) follow the source's own licensing (most are public domain or open access).


Built in PΓ©rigord by @POP24 with Claude Code.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured