menjometre
menjometre: наблюдение за каталонскими госрасходами — гранты, госзакупки и связи публичных фигур
Что умеет
- Искать организации, политиков, контракты и гранты
- Профилировать сущность и её сеть связей
- Анализировать концентрацию грантов и признаки дробления закупок
- Строить кратчайший путь между двумя публичными фигурами
- Сравнивать сущности и получать рейтинги по расходам
Какие данные видит
Данные открытые (CC-BY-4.0 или по Закону 37/2007), персональные фильтры применяются на уровне запроса к базе, а не на стороне клиента.
Нужен ли аккаунт
Не нужен: сервер работает без входа
menjometre — независимый наблюдатель за расходами Каталонии, дающий MCP-серверу доступ к почти 19,5 млн грантов, 1,7 млн госконтрактов и графу связей депутатов и чиновников. Каждый ответ содержит ссылку на источник данных и нейтральные статистические формулировки без обвинительной риторики, что делает сервис пригодным для журналистики и гражданских исследований.
Как подключить
Как подключить menjometre к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://menjometre--segellfosc-dev-ayfx.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить menjometre к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://menjometre--segellfosc-dev-ayfx.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить menjometre к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://menjometre--segellfosc-dev-ayfx.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (48)
Технические названия из tools/list. Нужны только разработчикам.
| search | Search across entities, politicians, contracts, grants, organs, and persons. Returns top matches with type, name, slug/id, and a short context line. |
| list_filter_options | Enumerate all valid filter values the other tools accept: departments, organs, finalitats, parties, comarques, vegueríes, beneficiary types, procedure types. |
| get_dataset_stats | Global counts, EUR totals, and last-sync metadata across grants, contracts, entities, and persons. |
| get_entity | Full entity profile plus Menjometre scores with natural-language explanations. Accepts slug or CIF. Returns null if entity is anonymised or missing. |
| get_entity_grants | Grants awarded to the entity with filters (year range, min amount, department) and cursor pagination. |
| get_entity_contracts | Contracts awarded to the entity with filters (year, min amount, organ, sole-source flag). |
| get_entity_financials | Yearly financial timeline filed with the Generalitat registry of entities. |
| get_entity_risk_analysis | Aggregated risk dossier: concentration, recurrence, sole-source, fragmentation, dependency, accountability — with textual interpretation per axis. |
| get_rankings | Parameterised top-N ranking across entities. `metric` ∈ total_public_funds | menjometre_score | total_grants | total_contracts | sole_source_pct | grant_dependency_pct. Filters: comarca, beneficiary_type, org_type, min_funds. |
| compare_entities | Side-by-side comparison of 2–5 entities (slug or CIF). |
| get_politician | Profile, accumulated years, party, institution, salary, BORME vincles count. |
| get_politician_salary_history | Detailed salary time-series across positions. |
| list_carrecs | Positions filtered by institution, party, active status. |
| get_party | Party aggregates: member count, total accumulated years, average salary. |
| get_politica_hub | Global political dashboard: counts by institution, top earners, data coverage, last sync. |
| get_porta_giratoria | Revolving door catalog. Filters: party, institution, min years of political service before pivot, sector. |
| get_politician_conflicts | Declared + detected conflicts for one politician. |
| get_entity_conflicts | Entity-side mirror of conflict detection — politicians linked to the entity. |
| analyze_conflict_of_interest | Given a person name and an entity identifier, return every known link (BORME role, political position, declarations, grants received while in office, contracts, lobby meetings). |
| detect_undisclosed_conflicts | Proactive scan: politicians with BORME roles in entities receiving grants/contracts during their term but with no matching declaration. |
| get_lobby_meetings | Lobby meetings from the Generalitat transparency portal. Filters: official name, interest group, date range. |
| get_organ | Single contracting body profile: total contracts, total amount, % sole-source, % menor, % competitive, top-5 suppliers share. |
| list_organs | Contracting bodies catalog with filters (semaphore, search) and pagination. |
| get_ens_public | Instrumental/public body profile including type (consorci, empresa pública, fundació) and parent administration. |
| list_ens_publics | Instrumental public entities catalog filtered by type/comarca. |
| get_pressupostos_hub | Generalitat budget dashboard for a single fiscal year: total, by department, execution rate if available. |
| get_budget_by_department | Budget series by department with nominal or CPI-deflated (real) values. |
| get_budget_partides | Line items within a department + year. |
| get_efficiency_analysis | Cost-per-outcome analysis for selected programmes (EUR spent ÷ outputs where available). |
| get_fiscal_deficit | Catalonia → Spain fiscal deficit for a year range using one of three academic methods: cash_flow | burden_benefit | contribution_cost. |
| get_budget_transfers | Admin → entity transfer flows with filters. |
| get_yearly_trends_budget | Generic time-series of a budget dimension/metric (deflated or nominal). |
| get_xarxa_stats | Global network metrics: node counts, edge counts, connectivity, top hubs. |
| get_xarxa_by_comarca | Geographic breakdown of network density (edges per comarca). |
| get_person_network | BFS from a single person up to a max depth (hard-capped at 3). |
| get_entity_network | BFS from a single entity up to a max depth (hard-capped at 3). |
| find_shortest_path | Bounded BFS shortest path between two graph nodes. Max depth hard-capped at 5 in the RPC. |
| get_network_hubs | Highest-degree nodes filtered by type + metric. |
| detect_clusters | Louvain communities computed nightly. Returns the top clusters by size. |
| investigate_cluster | Full member list of a Louvain cluster with entity + person joins. |
| analyze_contract_network | Contract graph for an organ or entity: sole-source patterns, repeat suppliers, fragmentation signals. |
| get_equivalencies | Translate a EUR amount into public-service equivalents (teachers, nurses, daycare places, etc.). |
| get_yearly_trends | Generic yearly time-series by dimension/metric (grants, contracts, entities). |
| export_data | Bulk JSON export of grants/contracts/entities with filters. CSV is emitted as plain text for LLM consumption. |
| get_methodology | Scoring methodology, data sources, last-sync timestamps, definitions. Citable for LLM outputs. |
| get_source_documents | Enumerate every source URL attached to a single record. record_type ∈ grant | contract | conveni | politician_position | porta_giratoria_case | personal_eventual_appointment | official_appointment | entity. |
| list_documents_for_entity | Every source document linked to any record touching the given entity. |
| fetch_source_document | Server-side retrieval of an allowlisted source URL. Extracts plain text (first 64 kB) via pdf-parse/readability. SSRF-hardened. 24h cached. URL MUST exist in the DB allowlist. |