LeBonFoin

io.github.POP24由 GitHub 帳號 POP24 發布v1.7.0更新於 Oct 24, 2026

First MCP for the European hemp & CBD market: real French CBD catalogue, producers, FR/EN wiki

概覽

AI 產生的概覽

面向法國與歐洲大麻及 CBD 市場的唯讀 MCP 伺服器:產品搜尋、產地農友定位、市場價格、法規與百科資料。

可以做什麼
  • 搜尋、比較並推薦法國手工 CBD 產品,並查詢即時庫存、出貨時間與運費
  • 依城市、郵遞區號、省份或大區尋找大麻種植者,取得認證、評分與 GPS 位置
  • 讀取各品種市場價格、區間與趨勢,以及 CBD 新聞
  • 檢索並閱讀有出處的法英雙語百科、指南、闢謠問答、各國合法性說明與萜烯資料
  • 說明如何閱讀檢驗報告(CoA),包括大麻素含量、THC 門檻與污染物
  • 瀏覽目錄、產地地圖與法規參考資源,並執行探索與產地比較提示詞
適用情境
適合回答關於法國或歐盟 CBD 產品、價格、在地種植者,以及 CBD 合法性與健康議題的問題,也適合需要可溯源、唯讀參考資料而非一般網頁結果的情境。
執行需求
需要遠端 Streamable HTTP 端點;README 稱其公開端點無需驗證。自行架設需 Node.js、npm install,並在 .env 中設定 SUPABASE_URL 與 SUPABASE_ANON_KEY。
安裝前請注意
工具皆標示為唯讀,但伺服器會記錄匿名的逐工具呼叫日誌(工具、參數、結果數量、延遲),並在外連連結加上 UTM 標記。健康、劑量與合法性內容僅供參考,不構成醫療或法律建議。清單提供的是 SSE 端點,但 README 稱該主機已下線並指向另一個 HTTP 端點,連線前請先確認網址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 LeBonFoin,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 SSE。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.POP24%2Flebonfoin-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

README

Herbe en France MCP Server

[License: MIT] [MCP] [Hosted] [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://www.herbeenfrance.com/mcp (Streamable HTTP, public, no authentication, all tools read-only) 📦 Marketplace : https://herbeenfrance.com 🏛️ Wikidata : Q139847939


⚡ Quick health check

bash
curl https://www.herbeenfrance.com/mcp# {"name":"L'Herbe en France MCP Server","version":"1.8.0","transport":"streamable-http","tools":15,"resources":4,"prompts":2,...}

v1.8.0 (31/10/2026) : the hosted server moved from Railway (SSE, now offline) to the herbeenfrance.com app itself, on the Streamable HTTP transport, with readOnlyHint annotations on every tool. This repository keeps the stdio / SSE build for self-hosting.


🛠️ What it exposes

15 tools

#ToolWhat it does
1search_cbd_productsSearch artisanal French CBD products by name, type, price
2recommend_cbd_for_mePersonalized recommendation based on goal (sleep, stress, sport…), experience, budget
3compare_cbd_productsSide-by-side comparison of 2-4 products
4get_producer_infoProducer details: location (lat/lng), certifications, ratings, products, socials
5check_availabilityLive stock, shipping delay, fees
6cbd_market_data"Bloomberg CBD" — real-time average prices per variety, ranges, trends, price check
7cbd_guide12 in-depth CBD guides: legality (France), dosage, indoor/outdoor, full vs broad spectrum, sleep, sport, pets, conservation, etc.
8cbd_newsNews on CBD France & EU: regulation updates, market trends, scientific studies
9search_wikiFull-text search in the l'Herbe en France wiki encyclopedia (filter by category)
10get_wiki_articleRetrieve complete wiki article (markdown + references + related articles)
11find_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.
12debunk_cbd_myth 🌐⚖️ Myth-busting (FR/EN) — factual, sourced answers to CBD misconceptions ("is CBD a drug?", "is CBD legal?", "is CBD addictive?"). Sources: WHO, CJUE Kanavape, Légifrance, Conseil d'État, MILDECA. Param lang: 'fr'|'en'.
13cbd_legal_by_country 🌐🌍 EU legal map (FR/EN) — CBD status country-by-country (FR, DE, CH, IT, ES, AT, NL, BE, PT, LU, CZ, PL, UK + EU framework). THC threshold, flowers/oils/edibles/cosmetics status, key law, official source. Param lang.
14terpene_profile🌿 Strain terpenes — typical terpene profile of common varieties (Amnesia, OG Kush, Gelato, Lemon Haze, Critical…). Dominant + secondary terpenes with aroma descriptors.
15cbd_lab_analysis 🌐🔬 CoA reader (FR/EN) — pedagogy on reading a Certificate of Analysis: cannabinoid dosing (CBD/CBDA/THC/CBG/CBN), THC legal threshold, terpene profile, pesticide residues, heavy metals, CoA trust signals. Param lang.

🌐 = multilingual tool (v1.5.0+) — accepts lang: "fr" (default) or lang: "en" for native English-language output. Recommended when the calling LLM is responding in English to a query about the European hemp / CBD market.

4 resources

Resource URIWhat it provides
lebonfoin://catalog/summaryPlain text catalog summary
lebonfoin://producers/mapMarkdown map of all French producers grouped by region
lebonfoin://reference/cbd-france-europeComplete CBD legal reference: France + 12 EU countries (DE, IT, ES, CH, LU, CZ, AT, NL, BE, PT, PL, EU)
lebonfoin://wiki/catalogIndex 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 of 22+ articles (19 in French, 13 in English as of May 2026) covering:

  • Cannabinoids : CBD, CBG, CBN (FR + EN), THC (in progress)
  • Health & Legality : French regulation, EU Novel Food, Conseil d'État decisions, CJUE Kanavape, NPS / synthetic cannabinoids
  • Botany & chemistry : trichomes, terpenes, entourage effect, extraction methods
  • French industry : artisanal farmers, AFPC, InterChanvre, history of French hemp
  • Strategic context : Strategy Parmentier (patient pedagogy, scientific demonstration, regulatory cooperation)
  • 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/EN · Conseil d'État

Each article is timestamped, versioned (Wikipedia-style revisions), and cross-referenced. YMYL articles (health, legal) carry an automatic disclaimer. English articles are accessible via the same wiki tools and resources — slugs follow the convention <fr_slug>-en and hreflang is set bidirectionally for SEO.


🚀 Use it from Claude, Cursor or any MCP client

  • Claude (web / desktop) : Settings → Connectors → Add custom connector → https://www.herbeenfrance.com/mcp
  • Claude Code : claude mcp add --transport http herbeenfrance https://www.herbeenfrance.com/mcp
  • Any client with a JSON config :
json
{  "mcpServers": {    "herbeenfrance": {      "type": "http",      "url": "https://www.herbeenfrance.com/mcp"    }  }}

Restart Claude. You can now ask :

French queries :

  • "Quel est le prix moyen de l'Amnesia CBD en France ce mois-ci ?"
  • "Trouve un producteur de chanvre près de Bordeaux, certifié bio."
  • "Où acheter du CBD en Dordogne (24) ?"
  • "Recommande-moi une huile CBD pour le sommeil, budget 40 €."

English queries (v1.5.0+ — uses lang: "en" automatically when relevant) :

  • "Is CBD legal in Germany? What about Switzerland?" → cbd_legal_by_country({country: "DE", lang: "en"})
  • "How do I read a Certificate of Analysis from a French hemp producer?" → cbd_lab_analysis({lang: "en"})
  • "Is CBD addictive? What does the WHO say?" → debunk_cbd_myth({topic: "addictive", lang: "en"})
  • "What is the entourage effect?" → get_wiki_article({slug: "effet-d-entourage-en"})
  • "What are the main hemp terpenes?" → get_wiki_article({slug: "terpenes-du-chanvre-en"})

The MCP server automatically responds in the calling LLM's apparent language when the tool supports lang — no manual switching required for the user.

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


🏗️ Architecture

┌──────────────┐  Streamable HTTP ┌──────────────────────────┐│  Claude /    │ ───────────────► │  Herbe en France MCP Server    ││  ChatGPT /   │ ◄─ JSON-RPC ─── │  (herbeenfrance.com/mcp) ││  Cline       │                  └────────────┬─────────────┘└──────────────┘                               │                                               │ @supabase/supabase-js                                               ▼                                  ┌──────────────────────────┐                                  │  Supabase (EU West)      │                                  │  - products              │                                  │  - producers (geoloc)    │                                  │  - wiki_articles         │                                  │  - wiki_references       │                                  │  - cbd_market_*          │                                  └──────────────────────────┘

Hosted by the herbeenfrance.com app on Vercel since v1.8.0. No user tracking : only UTM tags on outbound links and an anonymous per-tool call log (tool, parameters, result count, latency).


🛠️ Run locally

bash
git clone https://github.com/POP24/lebonfoin-mcp.gitcd lebonfoin-mcpnpm installcp .env.example .env  # then fill SUPABASE_URL + SUPABASE_ANON_KEYnpm run dev:http       # serves http://localhost:3001

Test :

bash
curl http://localhost:3001/healthcurl 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 l'Herbe en France 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 : [email protected]


📄 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.

來源:README.md,提交 157f875

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.7.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分