Catalunya 2022

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

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
95%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,096Tokens (tool definitions)
~4.7 KBTypical response size
Moderate attention impact (1.64% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

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

Remote endpoints

https://mcp.2022.catstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search_document(query, locale, scope)

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 'educació').

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Search query (e.g., 'housing', 'educacio', 'digital transformation'). Use terms in the target locale for best results."
    },
    "locale": {
      "default": "ca",
      "description": "Content language. Defaults to 'ca' (Catalan), the original language of the document. (ca=Catalan, en=English, es=Spanish)",
      "type": "string",
      "enum": [
        "ca",
        "en",
        "es"
      ]
    },
    "scope": {
      "description": "Filter by section type: 'action' (91 proposals), 'goal' (12 overviews), 'sphere' (3 overviews), or 'static' (introduction, executive summary, train of prosperity)",
      "type": "string",
      "enum": [
        "sphere",
        "goal",
        "action",
        "static"
      ]
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Canonical section slug, usable with get_section"
          },
          "type": {
            "type": "string",
            "enum": [
              "sphere",
              "goal",
              "action",
              "static"
            ]
          },
          "title": {
            "type": "string"
          },
          "snippet": {
            "type": "string",
            "description": "Content snippet with **highlighted** matches"
          },
          "url": {
            "type": "string",
            "description": "Canonical page URL on 2022.cat in the requested locale"
          },
          "sphereId": {
            "description": "Present on sphere, goal, and action results",
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "goalId": {
            "description": "Present on goal and action results",
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "actionId": {
            "description": "Present on action results",
            "type": "string"
          }
        },
        "required": [
          "slug",
          "type",
          "title",
          "snippet",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "total": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Total matches before the 10-result cap"
    },
    "message": {
      "description": "Guidance when no results were found",
      "type": "string"
    }
  },
  "required": [
    "results",
    "total"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_section(slug, locale)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "maxLength": 100,
      "pattern": "^[a-z0-9-]+(?:\\/[a-z0-9-]+){0,2}$",
      "description": "Canonical section slug"
    },
    "locale": {
      "default": "ca",
      "description": "Content language. Defaults to 'ca' (Catalan), the original language of the document. (ca=Catalan, en=English, es=Spanish)",
      "type": "string",
      "enum": [
        "ca",
        "en",
        "es"
      ]
    }
  },
  "required": [
    "slug"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_document_metadata(locale)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "locale": {
      "default": "ca",
      "description": "Content language. Defaults to 'ca' (Catalan), the original language of the document. (ca=Catalan, en=English, es=Spanish)",
      "type": "string",
      "enum": [
        "ca",
        "en",
        "es"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "date": {
      "type": "string"
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "structure": {
      "type": "object",
      "properties": {
        "spheres": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "goals": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "actions": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "contributors": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "spheres",
        "goals",
        "actions",
        "contributors"
      ],
      "additionalProperties": false
    },
    "citation": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "year": {
          "type": "string"
        },
        "doi": {
          "type": "string"
        },
        "doiUrl": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "author",
        "year",
        "doi",
        "doiUrl"
      ],
      "additionalProperties": false
    },
    "hierarchy": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "id": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "id": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "actionCount": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "actions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "title",
                      "slug",
                      "id"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "title",
                "slug",
                "id",
                "actionCount",
                "actions"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "title",
          "slug",
          "id",
          "goals"
        ],
        "additionalProperties": false
      }
    },
    "staticPages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "slug"
        ],
        "additionalProperties": false
      }
    },
    "contributors": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "members": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "slug",
              "role",
              "url"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "count",
        "names",
        "members"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "title",
    "date",
    "languages",
    "structure",
    "citation",
    "hierarchy",
    "staticPages",
    "contributors"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢list_proposals(locale, sphereId, goalId)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "locale": {
      "default": "ca",
      "description": "Content language. Defaults to 'ca' (Catalan), the original language of the document. (ca=Catalan, en=English, es=Spanish)",
      "type": "string",
      "enum": [
        "ca",
        "en",
        "es"
      ]
    },
    "sphereId": {
      "description": "Filter by sphere (1-3)",
      "type": "integer",
      "minimum": 1,
      "maximum": 3
    },
    "goalId": {
      "description": "Filter by goal (1-12)",
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "proposals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "actionId": {
            "type": "string"
          },
          "goalId": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "sphereId": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "actionId",
          "goalId",
          "sphereId",
          "slug",
          "title",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "count": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "proposals",
    "count"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Recommended Prompts

find_specific
Find [specific item] using Catalunya 2022
Expected tools: search_document
retrieve_data
Get details about [item] from Catalunya 2022
Expected tools: get_section
fetch_info
Fetch [information type] using Catalunya 2022
Expected tools: get_section
list_items
List all [items] available in Catalunya 2022
Expected tools: list_proposals
search_research
Search for information about [topic] using Catalunya 2022
Expected tools: search_document

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools