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 分