Skip to the content
Agent Tools

Country Stats Facts in VS Code

Country data: World Bank, IMF. The MCP server is https://countrystats.openkrill.app/mcp. No key. The steps below are only for VS Code. A call to get_country_indicator was checked against that server on 2026-11-17.

Connection
Streamable HTTP
API key
None needed
Rate limit
60 calls a minute
Protocol
MCP 2026-07-28 and 2025-11-25

Questions it answers

Look up official economic and demographic figures for a country, and see the IMF's projections, from the World Bank and the IMF.

Ask "what is Vietnam's population?", "compare GDP per capita for Germany, France and Italy", "what does the IMF forecast for India's growth?" or "rank the Nordic countries by life expectancy".

One tool returns the latest World Bank figure for a country, or the figure for a year you name, for a fixed set of 15 series: population, GDP, GDP per capita, GDP growth, inflation, unemployment, life expectancy, fertility rate, urban population, internet use, exports, income inequality, CO2 emissions per person, electricity use and population density. A second tool compares up to 6 countries on one series in a single call and ranks them. A third returns the IMF's projection for real GDP growth, inflation or government debt for the current year and the next two.

Every value comes with its year, its unit, its source and the date the source was last updated. Latest means the most recent year with data, which is usually one to two years old and differs by country, so the year is always shown.

It is not a source of live prices, exchange rates, markets or news, and it gives no investment or policy advice. Regions and groups such as Europe, the euro area or OECD are not countries here; name the countries you want. The countries you ask about are not stored; the only lasting record is a daily count of calls per tool.

What it can do

  • Latest World Bank value, or the value for a given year, for a country on 15 economic and demographic series
  • Compares up to 6 countries on one series and ranks them in a single call
  • IMF projections for real GDP growth, inflation and government debt for the current year and the next two
  • Every value carries its year, unit, source and the date the source was last updated
  • Accepts country names, common short names and ISO 2 or 3 letter codes
  • Annual statistics only: no live prices, exchange rates or advice

Tools

  • get_country_indicator, Get a country statistic. Use this when the user asks for one official statistic for one country, such as "what is Vietnam's population?" or "what was unemployment in Spain in 2022?". Pass the country (name or ISO code), the indicator (population, gdp, gdp_per_capita, gdp_growth, inflation, unemployment, life_expectancy, fertility_rate, urban_population, internet_users, exports, gini, co2_per_capita, electricity_use, population_density) and optionally a year. Returns the value, its year and unit, the source and the date it was last updated; without a year it returns the latest year with data. It reads annual World Bank statistics only: no live data, forecasts or regions.
  • compare_countries, Compare countries. Use this when the user asks to compare or rank countries on one statistic, such as "compare GDP per capita for Germany, France and Italy" or "rank the Nordic countries by life expectancy". Pass 2 to 6 countries (names or ISO codes), the indicator, and optionally a year and an order. Returns the countries ranked with each value and year, any country without data, the source and the date it was last updated. Expand a group such as Nordic or G7 into its countries first; groups themselves are not accepted.
  • get_imf_forecast, Get an IMF forecast. Use this when the user asks what the IMF projects for a country, such as "what does the IMF forecast for India's growth next year?". Pass the country and the indicator (growth, inflation or debt). Returns the IMF's figures for the current year and the next two, with the unit, the World Economic Outlook edition and the date it was published. It reports the IMF's projections only and does not make its own forecasts.

Add Country Stats Facts in VS Code

VS Code reads MCP servers from mcp.json and offers their tools to Copilot Chat in Agent mode. A workspace file at .vscode/mcp.json applies to that project. For every workspace, run MCP: Open User Configuration from the Command Palette and add the same entry there. These steps were checked against the VS Code MCP servers guide on 2026-10-09.

Add to VS Code

The button opens VS Code, which shows the server and asks you to confirm the install. If your browser does not open VS Code, use the install page on vscode.dev. To add it by hand instead, create or edit the file so it contains this server. VS Code uses a top-level servers object, not mcpServers. Merge it with servers you already have.

{
  "servers": {
    "countrystats": {
      "type": "http",
      "url": "https://countrystats.openkrill.app/mcp"
    }
  }
}

No command, no headers and no input variables for a key: Country Stats Facts answers without a login. Save the file and select Start above the entry. VS Code asks once whether you trust the server: confirm it. Run MCP: List Servers to check that Country Stats Facts is running. You should see get_country_indicator, compare_countries, get_imf_forecast.

Open the Chat view, choose Agent mode and ask: What is Vietnam's population according to the World Bank? The Configure Tools button in the chat input lists the tools of each server, and VS Code may ask you to confirm the first call. The server is public and read-only. It sees only the arguments of each call, so do not paste secrets into the question.

Command line users can add it to the user profile in one step with code --add-mcp and the same name, type and url as JSON. The portable .mcp.json at the project root also works in VS Code, with mcpServers as its top-level key. An organization can turn MCP off through Copilot policy: if the MCP commands are missing, ask the admin.

If it does not work

The tool does not show up

Run MCP: List Servers, select the server and choose Restart. If it shows an error, choose Show Output to read the log. Check that the entry sits under servers with "type": "http", and that Chat is in Agent mode, where MCP tools are offered.

429 or rate_limited

Each server takes 60 calls a minute from one network, and some tools take fewer. Past that the call comes back as a tool error that starts with rate_limited: wait a minute and ask again. daily_limit means the server reached its shared daily cap, which resets at 00:00 UTC. A limit is not an answer, so do not read it as no results. For higher limits, ask support@openkrill.app for a key.

JSON entry has no type

Claude Code skips an entry in .mcp.json that has a url but no type. Add "type": "http" next to the url, or add the server with claude mcp add --transport http, which writes the type for you. The VS Code entry needs the same type field. Cursor and Pi read the url alone.

A call checked on 2026-11-17

Vietnam's population is a World Bank series named in the plugin's starter prompts. The year of the value is part of the answer. The request below was posted to https://countrystats.openkrill.app/mcp as tools/call. HTTP 200. Source: the Country Stats Facts server, read 2026-11-17.

{
  "method": "tools/call",
  "params": {
    "name": "get_country_indicator",
    "arguments": {
      "country": "VN",
      "indicator": "population"
    }
  }
}
  • status. ok
  • as of. 2026-11-11
  • year. 2025
  • notice. Latest value means the most recent year the World Bank has a figure for, which is usually one to two years behind and differs by country; each value names its year. Figures are annual and are not live market data.
  • source name. World Bank Open Data
  • country name. Vietnam

Repeat the call yourself if you need a newer reading. Cached answers expire. A rate limit is not a result: wait and try again. Nothing in the call is a ranking, a filing, or advice.

Using it in production

Nothing to install and nothing to run: no package, no Python or Node.js version and no environment variable. Country Stats Facts runs on our servers, and your client only needs the URL https://countrystats.openkrill.app/mcp.

Rate limit60 tool calls a minute from one network. initialize and tools/list do not count.
Daily cap25000 tool calls a day per server, shared by every caller. It resets at 00:00 UTC.
At a limitThe call comes back as a tool error that starts with rate_limited (wait a minute) or daily_limit (try after 00:00 UTC), never as a partial answer.
KeyNone. Do not add an Authorization header or a key field.
Higher limitsSend the request form or write to support@openkrill.app with the server name, the calls a day you expect and what they are for. We answer within 1 business day.
FreshnessSome answers come from a short cache. Each guide shows the date of its checked call; repeat a call when you need a newer reading.
UptimeScheduled test calls check the servers through the same endpoint. There is no SLA yet.
DataWhat each server receives and keeps is on the privacy page.

Use it in other apps

Frequently asked questions

How do I install the Country Stats Facts MCP server in VS Code?

Add countrystats with type http and the url https://countrystats.openkrill.app/mcp under servers in .vscode/mcp.json and save the file. Select Start above the entry, confirm that you trust the server, then use it from Chat in Agent mode.

Do I need an API key to run Country Stats Facts in VS Code?

No. This server takes no API key. For higher limits, send the form at https://tools.openkrill.app/request-key?server=countrystats or write to support@openkrill.app with the server name (Country Stats Facts), the calls a day you expect and what they are for. We answer within 1 business day.

What should I do if Country Stats Facts does not connect in VS Code?

Check that the entry sits under servers, not mcpServers, and has type http. Run MCP: List Servers, select countrystats and choose Restart, then open Show Output if it still fails.

Words on this page

Source: plugin listing for countrystats in this repository, and a live tools/call on 2026-11-17. As of 2026-11-17.