Catalunya 2022

cat.2022由 2022.cat 发布官方发布者v2.1.1更新于 Oct 24, 2026

Cerca de text complet al pla Catalunya 2022 - RESET: 3 àmbits, 12 objectius, 91 accions. CA/EN/ES.

已验证Streamable HTTP可网页运行网页搜索与抓取知识与记忆

概览

AI 生成的概览

远程 MCP 服务器,让助手以加泰罗尼亚语、英语和西班牙语对 Catalunya 2022 - RESET 政策文件进行全文检索并逐节阅读。

可以做什么
  • 按关键词检索文件,支持变音符号和引号短语,返回排序后的片段与规范 slug
  • 按 slug 读取任意章节全文,从领域、目标到具体行动,以及引言、执行摘要等静态页面
  • 获取文件结构:3 个领域、12 个目标和 91 项行动,含 slug 与正式引用信息
  • 列出全部 91 项行动提案,可按领域或目标筛选
  • 以 MCP 资源加载整份文件、清单或贡献者简介,并使用引导式提示探索文件、总结某个领域或分析某项提案
适用场景
适合让助手就这份加泰罗尼亚公民社会战略计划回答问题、做摘要或比较各项提案,并可用三种语言之一,无需把全文粘贴进对话。
运行要求
需要一个远程 Streamable HTTP 端点;无需身份验证、API 密钥或环境变量。若要在本地开发该服务器本身,需要 Node.js 22+ 和 npm。
安装前请注意
端点公开且无需认证,应视所有内容为公开信息。服务器为只读:其工具仅检索和读取文件,不会修改数据。内容采用 CC BY 4.0 许可,引用时应注明 Grup de Treball Catalunya 2022 及其 DOI。

AI 概览如何生成和校验

安装

在 SourceWeft 中

  1. 打开 控制台中的 Catalunya 2022,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/cat.2022%2Fcatalunya-2022/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "catalunya-2022": {
      "type": "http",
      "url": "https://mcp.2022.cat/"
    }
  }
}

README

Servidor MCP de Catalunya 2022

[CI] [Versió] [DOI]

Servidor MCP remot per al document «Catalunya 2022 - RESET: Crida per reactivar el país», el pla estratègic elaborat l'any 2021 per un grup de treball de 30 experts de la societat civil catalana. Exposa els 3 àmbits, els 12 objectius, les 91 accions i els perfils dels contribuïdors en català, anglès i castellà mitjançant eines, recursos i prompts MCP.

Connexió

Endpoint públic: https://mcp.2022.cat (transport Streamable HTTP, sense autenticació ni claus API). El servidor parla les dues generacions del protocol des d'un sol endpoint: la revisió 2026-07-28 (sense handshake, amb server/discover) i les revisions 2025-xx per als clients que encara fan initialize.

{ "url": "https://mcp.2022.cat" }

Superfície MCP pública

Eines

  • search_document: cerca de text complet amb suport de diacrítics
  • get_section: text complet de qualsevol secció per slug canònic
  • get_document_metadata: estructura completa del document
  • list_proposals: llistat de les 91 accions

Recursos

  • document://catalunya2022/manifest
  • document://catalunya2022/{locale}/{slug}
  • document://catalunya2022/{locale}: el document sencer en un sol fitxer markdown
  • document://catalunya2022/contributors

Prompts

  • explore-document
  • summarize-sphere
  • analyze-proposal

Desenvolupament

Requisits: Node.js 22+ i npm.

npm install
npm run dev

npm run dev regenera el corpus abans d'iniciar el servidor local:

  • http://localhost:3001/: endpoint MCP
  • http://localhost:3001/health: comprovació de salut

Comprovacions de qualitat

npm run lint        # format i lint amb Biome
npm run typecheck   # TypeScript estricte (inclou locals i paràmetres no usats)
npm run test        # reconstrueix corpus i dist, executa la suite de regressió
npm run verify      # validació completa local, equivalent a CI

Altres ordres: npm run build-corpus (regenera data/corpus.json des de l'MDX), npm run start (executa el servidor compilat), npm run fixtures:update (regenera els fixtures daurats de tests/fixtures/; revisa el diff resultant), i npm run sync / npm run sync-check (vegeu la nota sobre contingut sincronitzat).

Executa npm run verify abans d'obrir un pull request. Els tests s'executen contra la sortida compilada a dist/: fes servir sempre els scripts npm, que reconstrueixen primer.

Estructura del projecte

assets/         Icones del servidor (servides a /icon.svg i /icon.png)
content/        Fitxers MDX trilingües d'origen
data/           Constants, tipus, catàleg de rutes, contribuïdors, corpus generat
scripts/        Generació del corpus, sincronització de contingut i regeneració de fixtures
src/            Runtime del servidor MCP
tests/          Tests de contracte, regressió i utilitats
server.json     Manifest per al registre MCP oficial

Contingut sincronitzat

content/{ca,en,es}/ i data/team-members.ts són miralls generats del repositori del lloc web, la font de veritat del text del document. No els editis aquí: qualsevol canvi s'ha de fer al repositori d'origen i es propaga amb npm run sync (que registra la procedència a data/content-provenance.json). Per defecte el repositori del lloc web s'espera a ../web (clonat al costat d'aquest); la variable d'entorn CAT22_WEBSITE_DIR permet indicar una altra ubicació. npm run sync-check detecta desviacions quan el repositori germà està disponible i s'omet netament quan no ho està (per exemple, a CI).

Notes de publicació

  • Els slugs canònics són sempre en anglès, encara que el contingut estigui localitzat.
  • La llengua per defecte és el català (ca).
  • El fitxer generat data/corpus.json no es versiona: npm run dev, npm run build i npm test el regeneren a partir de l'MDX versionat, i la CI el valida a cada desplegament.
  • Contracte públic: els noms de les eines MCP, els URIs dels recursos, els noms dels prompts, els slugs canònics, les formes JSON de resposta i el locale per defecte són API pública. No els canviïs sense una intenció explícita i documentada.
  • Si canvies content/, data/ o la lògica de traducció d'URLs, regenera el corpus i revisa amb cura els fixtures de regressió.

English

Remote MCP server for the policy document "Catalunya 2022 - RESET: Call to reactivate Catalonia", a strategic plan written in 2021 by a 30-expert Catalan civil-society task force. It exposes the document's 3 spheres, 12 goals, 91 actions, and contributor profiles in Catalan, English, and Spanish through MCP tools, resources, and prompts.

Connect: public endpoint at https://mcp.2022.cat (Streamable HTTP, no authentication):

{ "url": "https://mcp.2022.cat" }

Per-client setup instructions: 2022.cat/mcp · Official MCP Registry: cat.2022/catalunya-2022 · Document website: 2022.cat · Website code: github.com/catalunya-2022/web · Archived document DOI: 10.5281/zenodo.19500831

Development commands are language-neutral; see Desenvolupament above.

Llicències / Licenses

  • Codi / Code: MIT
  • Contingut del document / Document content (content/): CC BY 4.0 - Grup de Treball Catalunya 2022. Catalunya 2022 - RESET: Crida per reactivar el país. DOI: 10.5281/zenodo.19500831

来源:README.md,提交 033a510

工具

4

search_document

Search the document

Search the Catalunya 2022 - RESET policy document by keyword. Returns up to 10 results with canonical slugs (for follow-up with get_section) and text snippets; "total" carries the full match count. Terms are matched independently with coverage-based ranking; quoted phrases ("energia sostenible") must match exactly. Handles Catalan/Spanish diacritics automatically (e.g., 'educacio' matches…

输入参数query必填scopelocale

get_section

Read a section

Retrieve the full text of any section of the Catalunya 2022 document by its canonical slug. Slugs follow the pattern: 'sphere-1', 'sphere-1/goal-2', 'sphere-1/goal-2/action-2-1'. Static pages: 'introduction', 'executive-summary', 'train-of-prosperity'. Use get_document_metadata to discover all available slugs.

输入参数slug必填locale

get_document_metadata

Document structure and citation

Get the complete structure of the policy document "Catalunya 2022 - RESET: Crida per reactivar el país": 3 spheres, 12 goals, 91 actions written by the Grup de Treball Catalunya 2022 (30 civil-society experts). Returns the hierarchy with canonical slugs for navigation via get_section, plus the formal citation with DOI.

输入参数locale

list_proposals

List action proposals

List all 91 action proposals from the Catalunya 2022 document, optionally filtered by sphere (1-3) or goal (1-12). Returns actionId, goalId, sphereId, title, slug, and url. Use get_section with the returned slug to read full action content.

输入参数goalIdlocalesphereId

版本历史

1
  1. v2.1.1最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

这个评分如何计算

其他 2022 集成