LeBonFoin MCP
LeBonFoin MCP Server
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.1.0","tools":10,"resources":4,"prompts":2}π οΈ What it exposes
10 tools
# | Tool | What it does |
1 |
| Search artisanal French CBD products by name, type, price |
2 |
| Personalized recommendation based on goal (sleep, stress, sportβ¦), experience, budget |
3 |
| Side-by-side comparison of 2-4 products |
4 |
| Producer details: location (lat/lng), certifications, ratings, products, socials |
5 |
| Live stock, shipping delay, fees |
6 |
| "Bloomberg CBD" β real-time average prices per variety, ranges, trends, price check |
7 |
| 12 in-depth CBD guides: legality (France), dosage, indoor/outdoor, full vs broad spectrum, sleep, sport, pets, conservation, etc. |
8 |
| News on CBD France & EU: regulation updates, market trends, scientific studies |
9 |
| Full-text search in the LeBonFoin wiki encyclopedia (filter by category) |
10 |
| Retrieve complete wiki article (markdown + references + related articles) |
4 resources
Resource URI | What it provides |
| Plain text catalog summary |
| Markdown map of all French producers grouped by region |
| Complete CBD legal reference: France + 12 EU countries (DE, IT, ES, CH, LU, CZ, AT, NL, BE, PT, PL, EU) |
| Index of all published wiki articles by category |
2 prompts
decouvrir-cbdβ Interactive guide to discover French CBDcomparer-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."
"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:3001Test :
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.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/POP24/lebonfoin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server