Claude Code
Run this command in your terminal, then use /mcp inside Claude Code to check the connection.
claude mcp add --transport http asean-in-data https://asean.bettergov.ph/mcpDiscover 56 published tables, inspect their columns, and query original rows with filters and pagination.
/api/v1Give compatible AI clients access to the same datasets, source links and coverage notes through four read-only tools.
/mcpThis request returns Philippine remittance observations for 2024. Numeric values stay as strings to preserve the source CSV’s precision.
curl 'https://asean.bettergov.ph/api/v1/datasets/remittances_history/rows?filter.iso3=PHL&filter.year=2024&limit=10'const response = await fetch(
'https://asean.bettergov.ph/api/v1/datasets/remittances_history/rows?filter.iso3=PHL&filter.year=2024&limit=10'
);
if (!response.ok) throw new Error(await response.text());
const { data, dataset, pagination } = await response.json();
console.log(data);
// Follow pagination.next_offset until it is null.
// Inspect dataset.documents for definitions and coverage notes.| GET endpoint | Returns |
|---|---|
/api/v1/countries | Country names and SEA-11 ISO3 codes. |
/api/v1/datasets | All published tables, columns, row counts and CSV links. |
/api/v1/datasets/{dataset} | One table’s schema, source documents and SHA-256 checksum. |
/api/v1/datasets/{dataset}/rows | Original rows, dataset metadata and pagination. |
Use filter.COLUMN=value for any column in a dataset. Matches are exact, case-sensitive and combined with AND. For example, filter.iso3=PHL&filter.year=2024. FDI uses recipient_iso3; wide tables may have separate year columns. Inspect the schema first.
limit defaults to 100 (maximum 500). offset defaults to 0. Responses include total and next_offset; a null next offset marks the end. Unknown parameters, columns and invalid pagination return 400; unknown datasets return 404. No matching rows returns 200 with an empty array.
Browser requests are supported through public CORS. Successful API responses may be cached for five minutes. Data changes when the site’s source packs are updated; this is an archived research collection, not a live upstream feed.
Connect your AI assistant to the datasets behind ASEAN in Data. The server is public and read-only, with no account or API key required.
https://asean.bettergov.ph/mcpChoose your client below. If you already have an MCP configuration file, merge the new server entry into it.
Run this command in your terminal, then use /mcp inside Claude Code to check the connection.
claude mcp add --transport http asean-in-data https://asean.bettergov.ph/mcpFor a managed workspace, an owner may need to add the connector first.
Claude connector setup guide ↗Add this entry to ~/.codex/config.toml, then open a new Codex session.
[mcp_servers.asean-in-data]
url = "https://asean.bettergov.ph/mcp"Add this to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for all projects. Enable the server in Cursor’s MCP settings.
{
"mcpServers": {
"asean-in-data": {
"url": "https://asean.bettergov.ph/mcp"
}
}
}Add this to .vscode/mcp.json. Run MCP: List Servers from the Command Palette and start asean-in-data.
{
"servers": {
"asean-in-data": {
"type": "http",
"url": "https://asean.bettergov.ph/mcp"
}
}
}Use the server URL with a client that supports Streamable HTTP, with no authentication. For a stdio-only client, use the mcp-remote bridge with Node.js installed.
{
"mcpServers": {
"asean-in-data": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://asean.bettergov.ph/mcp"
]
}
}
}Ask your assistant to list ASEAN in Data’s datasets. A working connection exposes list_datasets, list_countries, get_dataset and query_dataset. Inspect a dataset’s columns before filtering its rows.
Use https://asean.bettergov.ph/mcp as the server URL; /api is the documentation page. Enable the server’s tools in your client and reload the client after editing configuration if it has not discovered them. No token or OAuth login is needed.
The endpoint uses stateless Streamable HTTP POST with JSON responses. Opening it in a browser returns 405; that is expected for a GET request. It does not provide a standalone SSE stream. For connection errors, check your client’s MCP logs and confirm it can reach the public URL.
| Tool | Purpose |
|---|---|
list_datasets | Find published tables and source documents. |
list_countries | Look up country names and ISO3 codes. |
get_dataset | Inspect a table using its dataset ID. |
query_dataset | Read rows with dataset, optional filters, limit and offset. |
{
"dataset": "remittances_history",
"filters": {
"iso3": "PHL",
"year": "2024"
},
"limit": 10
}Try asking: “Find Philippine remittance observations for 2024. Include the units, sources and coverage caveats.” The catalog is also available as the resource asean://datasets.
Table IDs are stable API identifiers. Open a schema to see its columns and coverage documents before requesting rows.
| Dataset | Rows | Access |
|---|---|---|
ai_rankings | 231 | Schema · Sample · CSV |
ai_rankings_policies | 19 | Schema · Sample · CSV |
tourism_long | 53 | Schema · Sample · CSV |
tourism_history | 27 | Schema · Sample · CSV |
services_ict_history | 918 | Schema · Sample · CSV |
fdi_sector_matrix | 18 | Schema · Sample · CSV |
fdi_source_amounts | 12 | Schema · Sample · CSV |
fdi_sector_map | 87 | Schema · Sample · CSV |
services_ict_exports | 132 | Schema · Sample · CSV |
inflation_policy_rates | 66 | Schema · Sample · CSV |
agriculture_food | 66 | Schema · Sample · CSV |
investment_climate | 273 | Schema · Sample · CSV |
egovernment_civic_tech | 77 | Schema · Sample · CSV |
remittances_expanded | 33 | Schema · Sample · CSV |
remittances_history | 858 | Schema · Sample · CSV |
social_protection | 77 | Schema · Sample · CSV |
external_balance | 49 | Schema · Sample · CSV |
credit_banking | 52 | Schema · Sample · CSV |
tax_revenue | 55 | Schema · Sample · CSV |
scale_growth | 11 | Schema · Sample · CSV |
living_costs_wages | 99 | Schema · Sample · CSV |
gender_gaps | 99 | Schema · Sample · CSV |
climate_disaster | 110 | Schema · Sample · CSV |
fiscal_debt_scoreboard | 11 | Schema · Sample · CSV |
remittances_scoreboard | 11 | Schema · Sample · CSV |
mfg_peer_matrix | 7 | Schema · Sample · CSV |
fiscal_interest | 32 | Schema · Sample · CSV |
fdi_flows | 43 | Schema · Sample · CSV |
fdi_recipient_totals | 12 | Schema · Sample · CSV |
philippines_peer_matrix | 20 | Schema · Sample · CSV |
governance_risk | 11 | Schema · Sample · CSV |
tourism_recovery | 11 | Schema · Sample · CSV |
poverty_inequality | 88 | Schema · Sample · CSV |
health_outcomes | 77 | Schema · Sample · CSV |
logistics_infrastructure | 90 | Schema · Sample · CSV |
digital_landscape | 88 | Schema · Sample · CSV |
trade_dependence | 343 | Schema · Sample · CSV |
education_human_capital | 99 | Schema · Sample · CSV |
labour_youth | 44 | Schema · Sample · CSV |
demographics_urbanization | 88 | Schema · Sample · CSV |
energy_commodities | 187 | Schema · Sample · CSV |
currencies_fx | 98 | Schema · Sample · CSV |
venture_capital | 105 | Schema · Sample · CSV |
election_calendar | 99 | Schema · Sample · CSV |
housing_residential | 69 | Schema · Sample · CSV |
rcep_preference_margins | 103 | Schema · Sample · CSV |
nutrition_outcomes | 88 | Schema · Sample · CSV |
conflict_fragility | 99 | Schema · Sample · CSV |
air_quality | 66 | Schema · Sample · CSV |
water_sanitation | 66 | Schema · Sample · CSV |
innovation_rd | 66 | Schema · Sample · CSV |
productivity_informality | 33 | Schema · Sample · CSV |
diaspora_migrant_stock | 141 | Schema · Sample · CSV |
sovereign_ratings_debt | 119 | Schema · Sample · CSV |
tariffs_rcep | 88 | Schema · Sample · CSV |
rule_of_law_corruption | 52 | Schema · Sample · CSV |
Empty strings indicate missing data, never zero. Rows keep their original format: long tables have metric/value columns; wide tables retain individual indicator columns. Units, observation years, source dates, projections and reporting bases differ. Read the linked notes before comparing or aggregating.
Some original tables omit inline provenance. Dataset document links and our methods and sources explain those limitations. Cite the original source and observation year alongside ASEAN in Data and the dataset URL. Third-party data retains its original terms; see Terms of Use.