{"_id":"@dennisk2025/european-rest-countries-lookup","name":"@dennisk2025/european-rest-countries-lookup","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/european-rest-countries-lookup","version":"1.0.0","description":"Returns detailed information about any European country, such as capital, population, languages, currencies, and region, using the public REST Countries API.","type":"module","main":"index.js","bin":{"european-rest-countries-lookup":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/european-rest-countries-lookup@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-RnBrNfv0qV3+HWkXtI5/cp0E4GNDzgVQWnAlsKjNJFFMY50aIXTtkV4l1xrrqkOoHla6krJp4WMSr/ihk33uzw==","shasum":"4947f00ea1d8eca49c75aa40becbe9d8e2172443","tarball":"https://registry.npmjs.org/@dennisk2025/european-rest-countries-lookup/-/european-rest-countries-lookup-1.0.0.tgz","fileCount":3,"unpackedSize":8034,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCVlgaIp4ERXycfOV+7PMAQM5j4hiFpt53GtUuHDnjqKAIgaK37z3Qe9sXOQu525mPPTDO5EuAApibds/6zrG+8VOM="}]},"_npmUser":{"name":"dennisk2025","email":"4dennisk@gmail.com"},"directories":{},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/european-rest-countries-lookup_1.0.0_1761427028349_0.5795781253725896"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T21:17:08.270Z","1.0.0":"2025-10-25T21:17:08.553Z","modified":"2025-10-25T21:17:08.834Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Returns detailed information about any European country, such as capital, population, languages, currencies, and region, using the public REST Countries API.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# European Rest Countries Lookup MCP Server\n\nReturns detailed information about any European country such as capital, population, languages, currencies, and region using the public REST Countries API.\n\n## Installation & Usage\n\nInstall globally or run instantly:\n\n- **Via npm:**\n  npm install -g @dennisk2025/european-rest-countries-lookup\n  european-rest-countries-lookup\n\n- **Via npx:**\n  npx @dennisk2025/european-rest-countries-lookup\n\nThis will start the MCP server and listen for Model Context Protocol requests via stdio.\n\n## Adding to Claude Desktop\n\nAdd the following block to your `claude_desktop_config.json` file at one of these locations:\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```\n{\n  \"mcpServers\": {\n    \"european-rest-countries\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/european-rest-countries-lookup\"]\n    }\n  }\n}\n```\n\n*Restart Claude Desktop for changes to take effect.*\n\n## Available Tool(s)\n\n### get_european_country_info\nFetches general country information for a specified European country by name (e.g., \"France\", \"Germany\").\n\n#### Parameters\n- `country` *(string, required)*: The English name of a European country, such as \"France\", \"Italy\", or \"Hungary\".\n\n#### Returns (JSON)\n- `name`: Official common country name\n- `capital`: Capital city (string)\n- `region`: \"Europe\"\n- `subregion`: Subregion (e.g., \"Northern Europe\")\n- `area`: Country area (number, km²)\n- `population`: Population (number)\n- `flag`: SVG or PNG URL to the country's flag\n- `currencies`: Array of currency objects: `{ code, name, symbol }`\n- `languages`: Array of language names\n\n#### Example Tool Call\n```\n{\n  \"name\": \"get_european_country_info\",\n  \"arguments\": {\n    \"country\": \"Hungary\"\n  }\n}\n```\n\n#### Example Tool Response\n```\n{\n  \"name\": \"Hungary\",\n  \"capital\": \"Budapest\",\n  \"region\": \"Europe\",\n  \"subregion\": \"Central Europe\",\n  \"population\": 9749763,\n  \"area\": 93028,\n  \"flag\": \"https://restcountries.com/data/hun.svg\",\n  \"currencies\": [\n    { \"code\": \"HUF\", \"name\": \"Hungarian forint\", \"symbol\": \"Ft\" }\n  ],\n  \"languages\": [\"Hungarian\"]\n}\n```\n\n## Notes\n- If you provide a country name outside of Europe or with a typo, a clear error will be returned.\n- This MCP server uses the public https://restcountries.com API. No authentication or API key is required.\n- For best results, use the English name of the country (as used at restcountries.com).\n- Typical response time: under 2 seconds for most queries.\n\n## License\nMIT\n","readmeFilename":"README.md","_rev":"1-0f045699ab380247afbd43f1023e8984"}