{
 "voice": "One card of the book.",
 "agent": {
  "slug": "menjometre-mcp",
  "name": "menjometre-mcp",
  "specialty": null,
  "description": "Subvencions, contractes, pressupostos i càrrecs públics a Catalunya. Milions de registres, dades obertes, codi obert. On van els teus impostos?",
  "country": null,
  "claimed": false,
  "listed_at": "2026-11-27T11:51:46.275Z",
  "card": "/agent/menjometre-mcp",
  "url": "https://allagents.app/agent/menjometre-mcp",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://mcp.menjometre.cat/mcp",
   "site": "https://menjometre.cat/"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://menjometre.cat/",
   "hire": null
  },
  "bubble": "closed",
  "score": 56,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-11-29",
   "total": 25,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "search",
     "description": "Search across entities, politicians, contracts, grants, organs, and persons. Returns top matches with type, name, slug/id, and a short context line. Entity…"
    },
    {
     "name": "list_filter_options",
     "description": "Enumerate all valid filter values the other tools accept: departments, organs, finalitats, parties, comarques, vegueríes, beneficiary types, procedure types."
    },
    {
     "name": "get_dataset_stats",
     "description": "Global counts, EUR totals, and last-sync metadata across grants, contracts, entities, and persons."
    },
    {
     "name": "get_entity",
     "description": "Full entity profile plus Menjometre scores with natural-language explanations. Accepts slug, CIF, or UUID (e.g. an `id` from `search` or a network edge). For…"
    },
    {
     "name": "get_entity_grants",
     "description": "Grants awarded to the entity with filters (year range, min amount, department) and cursor pagination. Each grant row includes its ID — to get the official…"
    },
    {
     "name": "get_entity_contracts",
     "description": "Contracts **received by** the entity — the entity acts as the supplier / adjudicatari that was awarded the contract. Use this when you want to know which…"
    },
    {
     "name": "get_entity_contracts_as_organ",
     "description": "Contracts **issued by** the entity — the entity acts as the contracting body (organ / atorgant) that awarded the contract to a supplier. Use this when you…"
    },
    {
     "name": "get_entity_financials",
     "description": "Yearly financial timeline filed with the Generalitat registry of entities. Returns revenue, grant income, personnel cost, operating result, and dependency…"
    },
    {
     "name": "get_entity_risk_analysis",
     "description": "Aggregated risk dossier: concentration, recurrence, sole-source, fragmentation, dependency, accountability — with textual interpretation per axis. To…"
    },
    {
     "name": "get_entity_accio_concertada",
     "description": "Spending received by the entity via acció concertada (Llei 12/2007 / Decret 69/2020 — social-services concert with the Generalitat). Not captured by RAISC…"
    },
    {
     "name": "get_entity_municipal_budget",
     "description": "Yearly municipal budget lines where the Ajuntament de Barcelona consigned funds to this entity (despeses executades + ingressos). Returns one row per (year…"
    },
    {
     "name": "get_rankings",
     "description": "Parameterised top-N ranking across entities. `metric` ∈ total_public_funds | menjometre_score | total_grants | total_contracts | total_accio_concertada |…"
    },
    {
     "name": "compare_entities",
     "description": "Side-by-side comparison of 2–5 entities (slug or CIF)."
    },
    {
     "name": "get_politician",
     "description": "Profile, total public years (merged tenure), party, institution, salary, BORME vincles count. party is the raw label of the source; effective_party is the…"
    },
    {
     "name": "find_politician_by_name",
     "description": "Resolves a free-form person name to a politician slug + display name + party + institution. Used for cross-linking from other surfaces (e.g. BCN personal…"
    },
    {
     "name": "get_politician_salary_history",
     "description": "Detailed salary time-series across positions."
    },
    {
     "name": "list_carrecs",
     "description": "Positions filtered by institution, party, vinculacio (Alts càrrecs / Altres directius / Eventuals / Electes / Electes municipals), active_status…"
    },
    {
     "name": "get_dogc_cessament_review_pending",
     "description": "Pending DOGC cessaments that the 3-layer matcher couldn't auto-bind to a single politician position (ambiguous or low-confidence candidates). Returns…"
    },
    {
     "name": "get_party",
     "description": "Party aggregates: member count, total accumulated years, average salary, and the top members by effective_party. effective_party is the person's own party…"
    },
    {
     "name": "get_politica_hub",
     "description": "Global political dashboard: total positions, party distribution (count, avg salary, salary mass), appointed positions by party, top earners. effective_party…"
    },
    {
     "name": "get_patrimoni_person",
     "description": "The declaration of assets and income of one Congreso deputy: the summary figures, every block (header, income, income tax, own real estate, company-held…"
    },
    {
     "name": "search_patrimoni_representatives",
     "description": "Directory of the Congreso deputies who filed a declaration of assets and income, one row per person with the latest declaration's effective figures…"
    },
    {
     "name": "get_patrimoni_coverage",
     "description": "What the Congreso patrimony dataset holds: declarants, declaration versions and how many of them are verified, how many declaration rows each block contains…"
    },
    {
     "name": "get_politician_conflicts",
     "description": "Declared patrimony + detected BORME vincles for one politician."
    },
    {
     "name": "get_entity_conflicts",
     "description": "Entity-side: politicians linked to the entity via BORME roles + person_entity_roles."
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://mcp.menjometre.cat/mcp",
   "answers": true,
   "checked": "2026-11-29T06:17:28.522Z",
   "http": 405,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-11-29T07:17:54.120Z",
     "since": "2026-11-28T07:11:36.681Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-11-29T07:17:54.120Z",
    "since": "2026-11-28T07:11:36.681Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 405,
   "checked": "2026-11-29T06:17:28.522Z",
   "last_answer_at": "2026-11-29T06:17:28.522Z",
   "last_ms": 433,
   "checked_at": "2026-11-29T06:17:28.522Z"
  },
  "connect": {
   "mcp_url": "https://mcp.menjometre.cat/mcp",
   "tested": {
    "state": "verified",
    "checked": "2026-11-29T07:17:54.120Z",
    "since": "2026-11-28T07:11:36.681Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://mcp.menjometre.cat/mcp"
    },
    "claude_code": {
     "command": "claude mcp add --transport http menjometre-mcp 'https://mcp.menjometre.cat/mcp'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "menjometre-mcp": {
        "type": "http",
        "url": "https://mcp.menjometre.cat/mcp"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "menjometre-mcp": {
        "url": "https://mcp.menjometre.cat/mcp"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "menjometre-mcp": {
        "type": "http",
        "url": "https://mcp.menjometre.cat/mcp",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "menjometre-mcp": {
        "type": "http",
        "url": "https://mcp.menjometre.cat/mcp"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://mcp.menjometre.cat/mcp"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://mcp.menjometre.cat/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://mcp.menjometre.cat/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://mcp.menjometre.cat/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}