npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dennisk2025/european-rest-countries-lookup

v1.0.0

Published

Returns detailed information about any European country, such as capital, population, languages, currencies, and region, using the public REST Countries API.

Readme

European Rest Countries Lookup MCP Server

Returns detailed information about any European country such as capital, population, languages, currencies, and region using the public REST Countries API.

Installation & Usage

Install globally or run instantly:

  • Via npm: npm install -g @dennisk2025/european-rest-countries-lookup european-rest-countries-lookup

  • Via npx: npx @dennisk2025/european-rest-countries-lookup

This will start the MCP server and listen for Model Context Protocol requests via stdio.

Adding to Claude Desktop

Add the following block to your claude_desktop_config.json file at one of these locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "european-rest-countries": {
      "command": "npx",
      "args": ["@dennisk2025/european-rest-countries-lookup"]
    }
  }
}

Restart Claude Desktop for changes to take effect.

Available Tool(s)

get_european_country_info

Fetches general country information for a specified European country by name (e.g., "France", "Germany").

Parameters

  • country (string, required): The English name of a European country, such as "France", "Italy", or "Hungary".

Returns (JSON)

  • name: Official common country name
  • capital: Capital city (string)
  • region: "Europe"
  • subregion: Subregion (e.g., "Northern Europe")
  • area: Country area (number, km²)
  • population: Population (number)
  • flag: SVG or PNG URL to the country's flag
  • currencies: Array of currency objects: { code, name, symbol }
  • languages: Array of language names

Example Tool Call

{
  "name": "get_european_country_info",
  "arguments": {
    "country": "Hungary"
  }
}

Example Tool Response

{
  "name": "Hungary",
  "capital": "Budapest",
  "region": "Europe",
  "subregion": "Central Europe",
  "population": 9749763,
  "area": 93028,
  "flag": "https://restcountries.com/data/hun.svg",
  "currencies": [
    { "code": "HUF", "name": "Hungarian forint", "symbol": "Ft" }
  ],
  "languages": ["Hungarian"]
}

Notes

  • If you provide a country name outside of Europe or with a typo, a clear error will be returned.
  • This MCP server uses the public https://restcountries.com API. No authentication or API key is required.
  • For best results, use the English name of the country (as used at restcountries.com).
  • Typical response time: under 2 seconds for most queries.

License

MIT