Boutique Mcp

io.github.matematicsolutions由 GitHub 帳號 matematicsolutions 發布v0.2.2更新於 Oct 24, 2026

Local catalog of MateMatic Boutique: find a legal-data connector or skill, install locally.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

MateMatic Boutique 的本地 MCP 目錄,協助助理尋找法律資料連接器與技能,並取得本機安裝指令。

可以做什麼
  • 依關鍵字、司法管轄區與條目類型搜尋目錄,每筆結果都附安裝指令
  • 檢視單一條目的完整卡片,含多語描述、版本、授權與來源連結
  • 查看某個日期之後新增或更新的條目
  • 查詢目錄宣告的涵蓋範圍與已知缺口,缺口有固定編號與替代方案
  • 為缺少的條目草擬涵蓋範圍請求 issue,僅產生草稿
適用情境
適合在處理法律資料任務時,需要找到現成的連接器或技能(例如 SAOS、CBOSA、EUR-Lex 或各國 ELI 伺服器)並了解如何在本機安裝。也適合在搜尋沒有結果時,判斷是目錄缺口還是查詢問題。
執行需求
以 Python 套件形式在本機執行,可用 uvx 或 python -m boutique_mcp 啟動。選用環境變數:BOUTIQUE_MCP_CATALOG_URL、BOUTIQUE_MCP_CACHE_DIR、BOUTIQUE_MCP_OFFLINE、BOUTIQUE_MCP_AUDIT。不需要帳號或 API 金鑰。網路僅用於對公開目錄發出條件式 GET;離線時改用磁碟快取或內建快照。
安裝前請注意
目錄只回傳指令與連結,不會代為安裝或執行,執行前請自行檢查指令。在啟用 Smart App Control 的 Windows 11 上,uvx 與 pip 啟動器可能被封鎖,README 建議改用 python 執行模組,而不是關閉 Smart App Control。涵蓋範圍請求工具只產生草稿,不會送出任何內容。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

boutique-mcp

A local MCP catalog of MateMatic Boutique: legal-data MCP connectors (SAOS, CBOSA, EUR-Lex, national ELI servers from Austria to Japan), MateMatic agent skills and curated third-party skills. Current counts live in the catalogue itself (counts in catalog.json), not in this file.

It answers one question: which building block solves the task at hand, and how to install it locally. The catalog points, it never proxies. Your agent gets a copy-paste uvx/npx command or a download link and runs it on your machine.

Status: v0.1.0 | License: Apache-2.0 | Maintainer: MateMatic

Why local

A hosted discovery API sees every query it answers, and in legal work the query itself is often confidential ("counter-arguments to our client's position in..."). This connector never sees anything: search runs in-process over a local copy of catalog.json. The only network request it ever makes is a conditional GET of the public catalog itself (ETag / If-None-Match).

No network? You get the last catalog cached on disk, or the snapshot shipped inside the package. Either way the response says where the data came from and how old it is: "catalog generated on X, source: network / disk-cache / bundled-snapshot". Nothing is installed or executed for you. The catalog returns commands; you run them.

MCP tools

  • boutique_search(query, jurisdiction?, entry_type?, limit?) - keyword search (English, Polish or Portuguese) over the catalog. Every hit carries a local install command. When coverage is missing, the response says so in gaps[] instead of padding weak matches.
  • boutique_get(id) - the full card for one entry: names and descriptions in every available language, install, version, license, source and card URLs.
  • boutique_whats_new(since_date?) - what was added or updated since a date (default: the 30 days before the catalog was generated).
  • boutique_coverage() - declares what this catalogue covers, where it comes from and what it does NOT cover. Every gap carries a stable id and a fallback. Call it when a search returns nothing: the absence may be a gap in the catalogue.
  • boutique_request_coverage(description, jurisdiction?) - drafts a coverage-request issue for a gap. Draft only: nothing is sent anywhere; a human reviews and submits it.

Quickstart

bash
uvx boutique-mcp

MCP client configuration (mcp-servers.json):

json
{  "mcpServers": {    "boutique": {      "command": "uvx",      "args": ["boutique-mcp"]    }  }}

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the boutique-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

bash
python -m pip install boutique-mcppython -m boutique_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m boutique_mcp.

json
{ "mcpServers": { "boutique-mcp": { "command": "python", "args": ["-m", "boutique_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Configuration

EnvDefaultMeaning
BOUTIQUE_MCP_CATALOG_URLhttps://matematicsolutions.com/catalog.jsonCatalog source
BOUTIQUE_MCP_CACHE_DIR~/.matematic/cache/boutique-mcpDisk cache location
BOUTIQUE_MCP_OFFLINEunset1 = never touch the network
BOUTIQUE_MCP_AUDITunset1 = opt-in local audit log (tool name + timing only, never query content)

Data source

catalog.json is generated in the www-matematic repository from the same source as the Boutique page tiles (three languages); a pre-commit and CI check fails whenever the two drift apart. A machine-readable server card lives at /.well-known/mcp/server-card.json.

Development

bash
python -m venv .venv.venv/bin/pip install -e ".[dev]"        # Windows: .venv\Scripts\pip.venv/bin/python -m pytest tests/ -q     # offline - fixture catalog.venv/bin/python -m ruff check src tests

Governance

The project constitution forbids a hosted discover/invoke proxy and any logging of query content. The only adoption metric MateMatic sees is the CDN download counter of the public catalog.json file. The one tool that produces outbound text, boutique_request_coverage, stops at a draft; a human submits it.

Constitution and spec: .matematic/ in this repository.

來源:README.md,提交 8aa6d20

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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