mcp-iati
OfficialThis server lets you explore, filter, summarize, and analyze IATI development-cooperation data (activities, transactions, sectors, countries, and organisations) through a set of dedicated tools.
Get an overview of the loaded IATI file: number of activities, reporting organisations, recipient countries, currencies, and financial totals.
Check the date coverage of activity and transaction dates.
List available categorical values such as activity statuses, transaction types, sectors, aid types, currencies, and more.
Search activities by title text and retrieve their IATI identifiers.
List activity statuses, reporting organisations, and recipient countries with activity counts.
Filter activities by recipient country, sector, participating organisation, status, and free text.
Get a summary of a single activity: title, status, organisations, dates, sectors, classifications, and financial totals.
List an activity's transactions in chronological order.
Compute commitment/disbursement totals grouped by year, reporting organisation, recipient country, or sector, with currencies kept separate.
Rank activities by highest commitment or disbursement totals, with optional country/sector/organisation/status filters.
Count activities grouped by country, sector, organisation, or status, optionally filtered by other dimensions.
Define IATI terms using the built-in glossary, e.g. "disbursement" or "policy marker".
Fall back to a no-tool response for questions outside the server's scope.
List complementary resources and links offered by the server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-iati Show me total commitments by recipient country for 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP IATI
Note: Local proof of concept. Starting point for a future mcp-server
plugin that processes files following the
IATI standard (activities and organisations):
documented Python tools, with plugin_info/instructions/sample_questions,
a no_tool_disponible fallback tool and a tools module separate from the
registration wiring.
It defines tools for exploring activities, organisations, recipient countries, sectors and transactions from a configured IATI XML.
Available tools:
search_activities(text, limit=10): search activities by text in their title, description, sector names or participating organisation names, reporting where each match was found.list_activity_statuses(): list available activity statuses and counts.list_reporting_organisations(): list reporting organisations and their number of activities.list_participating_organisations(limit=100): list all participating organisations with their roles, ordered by number of activities.filter_activities(country, sector, organisation, status, text, limit=300): filter activities by any combination of recipient country, sector, participating organisation, activity status and title/description text (all optional, activities must satisfy every supplied one). Each value is resolved against the loaded data before filtering, and the response says how it matched and to which published value it resolved; when a value cannot be resolved, the response names the failing filter and lists the values available so the model can retry with an exact one. Country names in English, Spanish, Portuguese or French ("Brasil", "Bresil") are mapped to the ISO code (activities/country_aliases.py), so they match a file that only says "Brazil". The threefilter_activities_by_*tools below are thin wrappers over this one.list_recipient_countries(): list recipient countries and activity counts.filter_activities_by_country(country, limit=10): filter activities by recipient-country code or name.list_sectors(limit=100, country=None, organisation=None, status=None): list sector codes, names and vocabularies with activity counts, optionally restricted to the activities matching the filters ("which sectors do the activities in Argentina cover?"). Missing names for OECD DAC codes (vocabulary 1) are filled in from the standard DAC codelist.filter_activities_by_sector(sector, limit=10): filter activities by sector code or name (exact code first, then exact name, then name substring); on no match, the response lists the sectors available in the loaded data.filter_activities_by_participating_org(organisation, limit=10): filter activities by participating organisation reference or name (exact reference first, then exact name, then a fallback combining name substrings with closely similar names, to cope with misspelled published names), reporting each organisation's role and which match kind applied; on no match, the response lists the organisations available in the loaded data.
Text matching in the search and filter tools ignores case and accents, while responses always show the names exactly as published.
activity_summary(iati_identifier): show the main details of one activity: title, status, description, dates, recipient country, sectors, reporting and participating organisations (with their roles), default classifications and financial totals per transaction type.activity_transactions(iati_identifier, limit=50): list an activity's transactions in chronological order.transaction_totals_by_year(year_from=None, year_to=None, country=None, sector=None, organisation=None, status=None): group commitment and disbursement totals by year, transaction type and currency, while ignoring invalid dates/values and using the activity default currency when a transaction currency is missing.transaction_totals_by_organisation(limit=50): group commitments and disbursements by reporting organisation, keeping transaction types and currencies separate and clarifying that the reporting organisation is the publisher of the activity data, not necessarily the funder or implementer.transaction_totals_by_country(transaction_type="2", currency=None, limit=50, sector=None, organisation=None, status=None): group commitments and disbursements by recipient country, keeping transaction types and currencies separate and using a clear fallback label when country details are missing.transaction_totals_by_sector(transaction_type="2", currency=None, vocabulary=None, limit=50, country=None, organisation=None, status=None): allocate commitment or disbursement totals across sectors using the published percentages, keeping vocabularies and currencies separate and adding anUnallocated sectorbucket when percentages do not total 100%.top_activities_by_amount(transaction_type="2", currency=None, limit=10, country=None, sector=None, organisation=None, status=None): list activities with the highest commitment or disbursement totals, ranked independently for each currency ("top 5 activities by commitment in Argentina" iscountry="AR", limit=5).count_activities_by(group_by, country=None, sector=None, organisation=None, status=None, limit=50): the generic group-by: number of distinct activities per value of one dimension (country,sector,organisationorstatus), inside the optional filters on the other dimensions. "Sectors per country" iscount_activities_by("sector", country="AR"); "countries where organisation X participates" iscount_activities_by("country", organisation="X"). Returns a table and a bar chart.
The country, sector, organisation and status filters of the
aggregation tools above are resolved exactly like in filter_activities
(ISO code or name in several languages, sector code or name, organisation
reference or name, status code or label), and an unresolved value returns
the same "available values" message instead of an empty total.
define_term(term): explain an IATI term using the central glossary.
Guiding principle: these tools only use generic IATI standard fields (identifiers, statuses, organisations, recipient countries, sectors and transactions), never Brazil- or IADB-specific logic - they must work just as well with any other IATI XML (see the configuration variables below).
Where the data comes from
The XML files are official IATI publications, not versioned in this
repo. By default they are the Inter-American Development Bank's, downloaded
on demand from the bank's own hosting at
webimages.iadb.org/iati
(the same URLs the IATI Dashboard
indexes; the IADB refreshes them monthly) into the user data directory
(~/.local/share/mcp-iati/xml/ on Linux, via platformdirs) and refreshed
when the configured TTL expires. The .gitignore excludes any *.xml just
in case.
Any other publisher works the same way. The public
mcp.okfn.org/iati-caf/ instance serves the
activity file of CAF, Development Bank of Latin America and the
Caribbean through
MCP_IATI_DATASET=caf-actfile-46008-2603 (see below).
Finding a publisher's XML: the IATI Dashboard
The CKAN-based IATI Registry (iatiregistry.org) was replaced in December
2025 by IATI Account (publishers manage
their files there) and the IATI Dashboard
(public, read-only metadata about every reporting organisation and dataset).
The Dashboard exposes a JSON API without authentication:
# one publisher and its dataset count
curl https://dashboard.iatistandard.org/api/reporting-orgs/caf/
# its datasets, each with the XML URL currently published (`source_url`)
curl "https://dashboard.iatistandard.org/api/datasets/?reporting_org__short_name=caf"
# one dataset
curl https://dashboard.iatistandard.org/api/datasets/caf-actfile-46008-2603/Some publishers (CAF among them) put the release date in the XML filename,
so the URL changes with every update. MCP_IATI_DATASET takes the dataset
short name instead and resolves the current source_url through that API
on first use and whenever the cache TTL expires; the last resolved URL is
kept on disk so a Dashboard outage never stops a running server.
Related MCP server: @cyanheads/socrata-mcp-server
How the XML is processed
mcp_iati/activities/data.pyconverts the configured XML to flat CSVs and reuses the source-specific cache until its TTL expires, usingokfn_iati.IatiMultiCsvConverter().xml_to_csv_folder(...)(the same libraryckanext-iati-generatoruses in production, but in the XML -> CSV direction instead of CSV -> XML).The tools (
mcp_iati/activities/queries.py) query those CSVs withpandas, not the XML - this avoids reparsing a multi-MB file on every call.It uses
iadb-Brazil.xmlby default. To use another official IADB country file, a dataset from the IATI Dashboard, a remote URL or a local file, without touching code:# another IADB country file from https://webimages.iadb.org/iati/ export MCP_IATI_SAMPLE=iadb-Argentina.xml # or a dataset registered in the IATI Dashboard (CAF's activity file) export MCP_IATI_DATASET=caf-actfile-46008-2603 # or any remote IATI XML export MCP_IATI_XML_URL=https://example.org/activities.xml # or any local file (downloads nothing) export MCP_IATI_XML_PATH=/path/to/another-iati-file.xmlThe plugin's sample questions quote a country, a sector and an activity taken from the loaded file, so they stay meaningful for any publisher.
Configuration
Configuration is read once when the process starts. Restart the server after changing the source, data directory or cache duration.
Variable | Description | Default |
| Path to a local XML. It has priority and performs no download. | Not set. |
| HTTP(S) URL of a remote XML, used when no local path is configured. | Not set. |
| Short name of a dataset in the IATI Dashboard (e.g. | Not set. |
| Base URL of the IATI Dashboard API used to resolve |
|
| Name of an official IADB country file (from https://webimages.iadb.org/iati/), used when no path, URL or dataset is configured. |
|
| Directory for downloaded XML files and generated CSV files. | User data directory provided by |
| Configurable cache duration in seconds; must be greater than zero. |
|
| How long to keep serving a stale CSV cache after a failed refresh before retrying the conversion; must be greater than zero. |
|
Downloaded XML files and converted CSV folders are reused while they remain inside this TTL. Once it expires, the XML is downloaded again and the CSVs are regenerated. CSV caches use a key derived from the configured origin, so Argentina, Brazil and custom URLs never share the same converted files. If a remote refresh fails and a previous XML exists, that stale copy is used with a runtime warning instead of making the tools unavailable.
The source precedence is:
MCP_IATI_XML_PATH.MCP_IATI_XML_URL.MCP_IATI_DATASET.MCP_IATI_SAMPLE.The default
iadb-Brazil.xmlsample.
Example:
export MCP_IATI_XML_URL=https://example.org/iadb-Argentina.xml
export MCP_IATI_DATA_DIR=/var/cache/mcp-iati
export MCP_IATI_CACHE_TTL_SECONDS=2592000
uv run mcp-serverCSV tables used by the plugin
Table | Columns currently used | Relationship |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The CSV files are loaded as shared pandas DataFrames. Repeated tool calls reuse the same instances and do not download the XML, run the conversion or read the CSV files again. Optional tables yield an empty DataFrame when their CSV is missing, instead of an error.
The data preparation and conversion logic is kept separate from the query
logic. Additional CSV tables can be added through DATAFRAME_SPECS.
Development
# Install dependencies (mcp-server from git, okfn-iati from PyPI;
# the dev extra brings ruff and pytest)
uv sync --extra dev
# Lint
uv run ruff check srcAdding this to a local mcp-server
From the mcp-server/ folder, install this package into the same virtual
environment:
uv pip install -e ../mcp-iati
uv run mcp-serverThe tools become available with the mcp_iati_ prefix.
Charts
Besides the table, some tools return Chart.js specs in
structuredContent["charts"], which the chat gateway renders next to the
answer (same contract as the Uruguay energy-balance plugin):
Tool | Chart |
| grouped bars, commitments vs disbursements per year, one chart per currency |
| pie of the top 10 sectors plus "Other", one chart per vocabulary and currency |
| pie of activities by status |
| bars of activities per sector, one chart per vocabulary |
| bars of activities per organisation (the reporting organisation is left out of the chart) |
| bars of the largest activities, one chart per currency |
| bars of activities per group value (sectors: one chart per vocabulary) |
| cumulative lines per transaction type over time |
Currencies and sector vocabularies are never mixed in one chart, charts
with fewer than two points are skipped and a response carries at most
three charts. The builders live in src/mcp_iati/helpers/charts.py.
Chat gateway branding
The plugin describes itself to MCP clients through the standard channels
of mcp-server: set_plugin_info(description, instructions, sample_questions) in src/mcp_iati/__init__.py (plugin card, sample
question chips and the system prompt) and [project.urls] in
pyproject.toml (link badges on the card and in the tools drawer).
The shell of the chat gateway (site title, hero, tagline, footer) is not
plugin-aware; it uses generic copy unless a static/i18n/overrides.yaml
is present. deploy/gateway-overrides.yaml in this repo is that file with
IATI terms. To use it locally:
cp deploy/gateway-overrides.yaml ../mcp-chat-gateway/static/i18n/overrides.yamlThe deployment image fetches the same file from this repository, so editing it here is enough to change the deployed site.
IATI glossary
The tool descriptions and the plugin instructions share a central glossary
defined in src/mcp_iati/glossary.py. Its goal is that the model interprets
the standard's terms consistently and explains the distinctions that tend to
be ambiguous, especially between reporting, funding and implementing
organisations, and between commitment, disbursement and expenditure. The
define_term tool exposes it directly, so questions like "what does
'disbursement' mean?" are answered from the glossary (with the IATI standard
as the cited source) instead of from the model's own knowledge.
The glossary covers the whole IATI 2.03 activity standard as modelled by the okfn/okfn_iati library (its enums mirror the IATI codelists and its converter flattens each element to a CSV), grouped in these areas:
Area | Terms |
Identification and lifecycle | IATI activity, IATI identifier, activity status, activity date, description, hierarchy, related activity, activity scope, humanitarian flag |
Organisations | reporting organisation, participating organisation, organisation role, organisation type, provider organisation, receiver organisation, contact information |
Financial data | transaction, transaction type, transaction value, commitment, disbursement, expenditure, budget, planned disbursement, default currency, country budget item |
Aid classifications | aid type, finance type, flow type, tied status, collaboration type, disbursement channel, policy marker |
Sectors and geography | sector, recipient country or region, location |
Results and monitoring | result, indicator, indicator period |
Documentation and cross-cutting | document link, condition, vocabulary, codelist, narrative |
When adding a new tool, reuse the definitions from the central module
instead of duplicating them in its docstring (via glossary_text(...) for
the relevant terms). When the underlying library starts exposing a new IATI
element, add its term to the glossary in the matching group.
Tests
uv run pytestThe tests run offline: tests/conftest.py preloads the data cache with
synthetic DataFrames and sets MCP_IATI_XML_PATH, so nothing is downloaded.
They cover:
that the glossary includes the minimum concepts and that the tool descriptions expose the relevant terms to the model;
regression of the queries (tables, sources, empty cases);
the raw-data contract (
test_raw_data_in_ai_response.py): the gateway sends the AI only the text of the response, so every tool that returns a table must embed it verbatim in that text (done byhelpers.text_result). When adding a new tool with a table, add it to theDATA_TOOLSlist in that test.
On GitHub, .github/workflows/python-lint.yml runs ruff + pytest on every
push.
Available Tools
19 toolscore_list_available_resourcesA
List every complementary resource this server offers: documents, publications (PDF), reference datasets and external visualizers, each with its description and links.
Use this tool whenever the user asks which resources, documents,
publications, books or visualizers exist or are available, or
whether a specific one exists (e.g. "is there a data visualizer
for X?", "where can I download the annual report?").
Answer in the user's language and always include the links.Examples: - list_available_resources()
Inputs: no named parameters. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_activity_summaryA
Return the title, status, reporting organisation and totals per transaction type of an IATI activity.
Args:
iati_identifier: IATI identifier, for example "XI-IATI-IADB-BR-L1231".
Obtained with search_activities.
Relevant IATI terms:
- IATI identifier: Globally unique code identifying an IATI activity, also used to link it to its transactions and other information.
Reporting organisation: Organisation responsible for publishing and maintaining an activity's data; not necessarily the one funding or implementing the project.
Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Expenditure: Use of funds to purchase goods or services related to an activity; not a synonym of disbursement.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: iati_identifier (required). Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_activity_transactionsA
List the transactions associated with an IATI activity.
Transactions are returned in chronological order and include their
type, value, currency and published description.
Args:
iati_identifier: IATI identifier of the activity.
limit: Maximum number of transactions to return. Default: 50.
Returns:
A table containing the transactions associated with the
requested activity.
Relevant IATI terms:
- IATI identifier: Globally unique code identifying an IATI activity, also used to link it to its transactions and other information.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Expenditure: Use of funds to purchase goods or services related to an activity; not a synonym of disbursement.
Inputs: iati_identifier (required), limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_date_coverageA
Report the date range covered by the configured IATI data.
Use date_kind to select activity dates, transaction dates or both:
- activities: planned and actual start and end dates.
- transactions: dates of financial transactions.
- all: both activity and transaction dates.
The result reports the earliest and latest valid date together with
counts of records containing valid, missing or invalid dates.
Relevant IATI terms:
- IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Activity date: Start or end date of an activity. Each date declares one of four types: planned start, actual start, planned end or actual end.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Inputs: date_kind. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_define_termA
Explain what an IATI term means, according to the standard's glossary (activities, organisations, financial data, aid classifications, sectors and geography, results, documentation).
Useful for questions like "what does X mean?" or "what is the difference between X and Y?" (call it once per term).
Args: term: Word or phrase to look up, in English (e.g. "disbursement", "policy marker"). Partial matches are accepted.
Returns: A table with the matching glossary terms and their definitions.
Inputs: term (required). Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_file_overviewA
Summarise the contents of the configured IATI file.
Use this tool for general questions such as what the file contains,
how many activities it has, which organisations report them, which
recipient countries and currencies appear, and how much financial
activity is reported.
Financial totals are kept separate by transaction type and currency.
The result includes:
- Total number of activities.
- Reporting organisations and their activity counts.
- Recipient countries and their activity counts.
- Default currencies used by activities.
- Transaction totals by type and currency.
Relevant IATI terms:
- IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Reporting organisation: Organisation responsible for publishing and maintaining an activity's data; not necessarily the one funding or implementing the project.
Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Expenditure: Use of funds to purchase goods or services related to an activity; not a synonym of disbursement.
Inputs: no named parameters. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_filter_activities_by_countryA
Filter IATI activities by recipient country.
The country may be provided as an ISO country code, such as "BR",
or as the country name published in the IATI data, such as "Brazil".
Use list_recipient_countries first when the available country codes
or names are unknown.
Args:
country: Recipient country code or name.
limit: Maximum number of activities to return. Default: 10.
Returns:
A table containing matching activity identifiers, titles,
statuses and recipient-country information.
Relevant IATI terms:
- Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
IATI identifier: Globally unique code identifying an IATI activity, also used to link it to its transactions and other information.
Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
Inputs: country (required), limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_list_activity_statusesA
List the activity statuses present in the loaded IATI data.
Use this tool to discover which lifecycle statuses are available
before filtering or analysing activities.
Returns:
A table containing each status code, its human-readable label
and the number of activities using it.
Relevant IATI terms:
- Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Inputs: no named parameters. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_list_category_valuesA
List the values present in a categorical IATI field.
Use this tool to explore available values before applying filters.
Supported categories are:
- activity_status
- transaction_type
- sector
- organisation_type
- aid_type
- finance_type
- flow_type
- tied_status
- collaboration_type
- humanitarian
- default_currency
The result includes each code, its readable value, its vocabulary
when applicable, and the number of records containing it.
Relevant IATI terms:
- Codelist: Catalogue mapping the codes used in IATI to their allowed meanings.
Vocabulary: Classification system used to interpret an IATI code, such as the OECD DAC CRS for sectors and policy markers, UN COFOG, the SDG goals and targets, or the IASC humanitarian clusters.
Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Sector: Thematic or economic area an activity contributes to, indicated by a code, a vocabulary and, where applicable, a percentage; sectors can be declared at activity level or per transaction.
Organisation type: Classification of an organisation, such as government, local government, other public sector, international/national/regional NGO, public-private partnership, multilateral, foundation, private sector or academic.
Aid type: Modality of the aid, such as budget support, pooled funds, project-type interventions, technical assistance, debt relief or cash transfers; declared as an activity default and overridable per transaction.
Finance type: Financial instrument of the flow, such as standard grant, standard loan, reimbursable grant, bonds, equity, guarantees or debt relief/rescheduling; declared as an activity default.
Flow type: Classification of the resource flow's origin: official development assistance (ODA), other official flows, private development finance, foreign direct investment or other private flows.
Tied status: Whether the aid's procurement is restricted to suppliers from specific countries: tied, partially tied or untied.
Collaboration type: Institutional channel of the activity: bilateral, multilateral (inflows), bilateral through an NGO, bilateral through a multilateral, private sector outflows, or other.
Humanitarian flag: Marker declaring that an activity (or an individual transaction) relates entirely or partially to humanitarian aid.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: category (required), limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_list_recipient_countriesA
List the recipient countries present in the loaded IATI data.
Use this tool to discover which country codes are available before
filtering activities by recipient country.
Returns:
A table containing the recipient country code, country name and
number of related activities.
Relevant IATI terms:
- Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Inputs: no named parameters. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_list_reporting_organisationsA
List the organisations that report activities in the loaded IATI data.
The reporting organisation is responsible for publishing and
maintaining the activity data. It is not necessarily the funding
or implementing organisation.
Returns:
A table containing the organisation reference, name and number
of activities reported.
Relevant IATI terms:
- Reporting organisation: Organisation responsible for publishing and maintaining an activity's data; not necessarily the one funding or implementing the project.
IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Inputs: no named parameters. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_list_sectorsA
List the sectors present in the loaded IATI data.
Use this tool to discover the available sector codes and
vocabularies before performing sector-based analysis.
Args:
limit: Maximum number of sector values to return. Default: 100.
Returns:
A table containing vocabulary, sector code, sector name and
number of related activities.
Relevant IATI terms:
- Sector: Thematic or economic area an activity contributes to, indicated by a code, a vocabulary and, where applicable, a percentage; sectors can be declared at activity level or per transaction.
Vocabulary: Classification system used to interpret an IATI code, such as the OECD DAC CRS for sectors and policy markers, UN COFOG, the SDG goals and targets, or the IASC humanitarian clusters.
IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
Inputs: limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_no_tool_disponibleA
Call when no other tool can answer the question: topics that are not IATI activities, or questions outside the scope of the loaded data.
Args: reason: Brief explanation (1 sentence) of why no tool applies.
Examples: - no_tool_disponible(reason="not a question about IATI activities")
Inputs: reason. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_search_activitiesA
Search IATI activities whose title contains the given text.
Useful as a first step to discover an activity's IATI identifier,
before requesting its summary with activity_summary.
Args:
text: Substring to search for in the title (case-insensitive).
limit: Maximum number of results to return. Default: 10.
Returns:
A table with the IATI identifier, title and status of each match.
Relevant IATI terms:
- IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
IATI identifier: Globally unique code identifying an IATI activity, also used to link it to its transactions and other information.
Activity status: Stage of an activity within its lifecycle: pipeline/identification, implementation, completion, post-completion, cancelled or suspended.
Inputs: text (required), limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_top_activities_by_amountA
List activities with the highest commitment or disbursement totals.
Rankings are calculated independently for each currency, avoiding
comparisons between amounts expressed in different currencies.
Args:
transaction_type: Commitment or disbursement. Accepts commitment,
out commitment, disbursement, 2 or 3.
currency: Optional currency code, for example USD or EUR.
limit: Maximum results to return per currency. Default: 10.
Returns:
A table containing activity identifiers, titles, reporting
organisations, recipient countries, transaction type, currency
and total amount.
Relevant IATI terms:
- IATI activity: A development or cooperation intervention published under the IATI standard; it can represent a project, a programme or another unit of work.
IATI identifier: Globally unique code identifying an IATI activity, also used to link it to its transactions and other information.
Reporting organisation: Organisation responsible for publishing and maintaining an activity's data; not necessarily the one funding or implementing the project.
Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: limit, currency, transaction_type. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_transaction_totals_by_countryA
Group commitments and disbursements by recipient country.
Amounts with different currencies and transaction types are reported
separately. Missing country names fall back to the country code, and
missing country data falls back to "Unknown recipient country".
Args:
transaction_type: Commitment or disbursement. Accepts commitment,
out commitment, disbursement, 2 or 3.
currency: Optional currency code, for example USD or EUR.
limit: Maximum number of grouped rows to return. Default: 50.
Returns:
A table containing the country code and name, transaction type,
currency and total amount.
Relevant IATI terms:
- Recipient country or region: Country (ISO code) or supra-national DAC region that receives the intended benefits of an activity. May include a percentage when the activity is split across several territories.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: limit, currency, transaction_type. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_transaction_totals_by_organisationA
Group commitments and disbursements by reporting organisation.
Amounts with different currencies and transaction types are reported
separately. The reporting organisation publishes the activity data and
is not necessarily the organisation funding or implementing the
activity.
Args:
limit: Maximum number of grouped rows to return. Default: 50.
Returns:
A table containing the organisation reference and name,
transaction type, currency and total amount.
Relevant IATI terms:
- Reporting organisation: Organisation responsible for publishing and maintaining an activity's data; not necessarily the one funding or implementing the project.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: limit. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_transaction_totals_by_sectorA
Allocate commitments and disbursements across sectors.
Amounts are distributed using the published sector percentages.
Different vocabularies and currencies are reported separately.
Args:
transaction_type: Commitment or disbursement. Accepts commitment,
out commitment, disbursement, 2 or 3.
currency: Optional currency code, for example USD or EUR.
vocabulary: Optional sector vocabulary code, for example 1 or 2.
limit: Maximum number of grouped rows to return per vocabulary and
currency. Default: 50.
Returns:
A table containing the vocabulary, sector, transaction type,
currency and allocated total amount.
Relevant IATI terms:
- Sector: Thematic or economic area an activity contributes to, indicated by a code, a vocabulary and, where applicable, a percentage; sectors can be declared at activity level or per transaction.
Vocabulary: Classification system used to interpret an IATI code, such as the OECD DAC CRS for sectors and policy markers, UN COFOG, the SDG goals and targets, or the IASC humanitarian clusters.
Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: limit, currency, vocabulary, transaction_type. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
mcp_iati_transaction_totals_by_yearA
Group commitments and disbursements by year and currency.
Only commitment and disbursement transactions are included. Amounts
with different currencies are always reported separately.
Args:
year_from: Optional first year to include.
year_to: Optional last year to include.
Returns:
A chronological table containing year, transaction type, currency
and total amount.
Relevant IATI terms:
- Transaction: Financial operation associated with an IATI activity, identified by its type, date, value and currency.
Transaction type: Code indicating the nature of a financial operation: incoming funds, commitment, disbursement, expenditure, interest payment, loan repayment, reimbursement, purchase or sale of equity, credit guarantee, incoming commitment, or outgoing/incoming pledge.
Transaction value: Amount of an individual transaction, expressed in the currency stated on the value or, if unspecified, in the activity's default currency.
Commitment: Financial obligation undertaken to provide funds to an activity; it does not necessarily represent a payment already made.
Disbursement: Transfer of funds from a provider organisation to a receiver organisation to finance an activity.
Default currency: Currency declared for an activity and used whenever a financial value does not explicitly specify another currency.
Inputs: year_to, year_from. Returns: Schema for all Structured Outputs of the MCP server. Every tool registered thro…
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target distinct actions, but there is real overlap: list_category_values duplicates list_activity_statuses and list_sectors, and file_overview subsumes list_reporting_organisations and list_recipient_countries. Descriptions are detailed enough to disambiguate most cases, so confusion is containable.
Tool names overwhelmingly follow the mcp_iati_ prefix with snake_case and clear list_/filter_/search_ verbs. Deviations like no_tool_disponible (French) and core_list_available_resources (different prefix) prevent a perfect score.
19 tools sits in the 16-25 range that feels heavy for the server's purpose. Several specialized list_* tools could be consolidated into the generic list_category_values tool, though each tool does have a plausible niche.
The server covers file overview, activity search/summary, transactions, and several useful aggregations, but there are notable gaps: no filtering by sector, status, or reporting organisation, even though those values can be listed. This leaves some natural IATI questions answerable only partially.
Maintenance
Related MCP Connectors
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
Open-source MCP for official development indicators with provenance and citations.
Unofficial World Bank MCP — wraps the World Bank Data API v2 (free, no auth)
Experimental MCP exploring Statistics Finland PxWeb statistical datasets.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying IETF documents, RFCs, working groups, and persons from the IETF Datatracker via MCP tools.61 npmMIT
- AlicenseNot gradedqualityBmaintenanceSearch and query government open-data portals (Socrata SODA API) via MCP.150 npm4Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables querying 29,500+ World Bank development indicators for 200+ countries across 60+ years via MCP, with 7 tools for browsing topics, sources, countries, and indicators.262 npm4Apache 2.0
- FlicenseNot gradedqualityCmaintenanceProvides local MCP tools for searching, filtering, adding, updating, and analyzing a catalog of study projects, with statistics and GitHub publication readiness checks, all backed by SQLite.-