{"_id":"@dennisk2025/country-info-lookup","name":"@dennisk2025/country-info-lookup","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dennisk2025/country-info-lookup","version":"1.0.0","description":"Provides detailed information about any country, including population, capital, region, flag, and more, using real-time open data.","type":"module","main":"index.js","bin":{"country-info-lookup":"index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"latest"},"author":{"name":"dennisk2025"},"license":"MIT","_id":"@dennisk2025/country-info-lookup@1.0.0","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-91+Jzwpfehp8iPDNYu9dgP2XlYegYE2HNUVsLF1UIu0pnQIjVevn33LOamqiyQUC+bNK5vZoDXoNC/TdHtn+CQ==","shasum":"f4a6659bedb94a89f119d437d641b70ec3d4cbcd","tarball":"https://registry.npmjs.org/@dennisk2025/country-info-lookup/-/country-info-lookup-1.0.0.tgz","fileCount":3,"unpackedSize":9094,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC2NMwXDg0cJrqoseA7PKSrlgdXgMImZNBb8j/89qjR6wIgE1AkMh0xTr0zCjlR7QOojtY01EwTBkYaZl+agS+bxpI="}]},"_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/country-info-lookup_1.0.0_1761425425370_0.7287564526594783"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T20:50:25.283Z","1.0.0":"2025-10-25T20:50:25.567Z","modified":"2025-10-25T20:50:25.839Z"},"maintainers":[{"name":"dennisk2025","email":"4dennisk@gmail.com"}],"description":"Provides detailed information about any country, including population, capital, region, flag, and more, using real-time open data.","author":{"name":"dennisk2025"},"license":"MIT","readme":"# country-info-lookup\n\nA Model Context Protocol (MCP) server that provides detailed, real-time information about any country using public open data sources.\n\n## Features\n- Look up any country by name for comprehensive details: population, capital, region, official languages, currency, flag URL, and neighboring countries.\n- List all globally recognized countries with their names, region, and flag.\n\n## Installation\n\nYou can use this server via npx (zero install):\n\n```\nnpx @dennisk2025/country-info-lookup\n```\n\nOr install locally with npm:\n\n```\nnpm install @dennisk2025/country-info-lookup\n```\n\n## Adding to Claude Desktop\n\nTo use this MCP server with Claude Desktop, add the following configuration to your claude_desktop_config.json file.\n\n```json\n{\n  \"mcpServers\": {\n    \"countryinfo\": {\n      \"command\": \"npx\",\n      \"args\": [\"@dennisk2025/country-info-lookup\"]\n    }\n  }\n}\n```\n\n**Path:**\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n## Usage Examples\n\n### 1. get_country_info\n**Fetch detailed information about a specific country.**\n\n**Parameters:**\n- `country` (string, required): Name of the country (e.g., \"France\", \"Brazil\", \"United States\")\n\n**Example call:**\n```json\n{\n  \"name\": \"get_country_info\",\n  \"arguments\": {\n    \"country\": \"Norway\"\n  }\n}\n```\n\n**Example result:**\n```json\n{\n  \"name\": \"Norway\",\n  \"region\": \"Europe\",\n  \"population\": 5421241,\n  \"capital\": \"Oslo\",\n  \"languages\": [\"Norwegian Bokmål\", \"Norwegian Nynorsk\", \"Sami\"],\n  \"currencies\": [\"Norwegian krone\"],\n  \"flagUrl\": \"https://flagcdn.com/no.svg\",\n  \"borders\": [\"Sweden\", \"Finland\", \"Russia\"]\n}\n```\n\n### 2. list_all_countries\n**List all recognized countries with basic info.**\n\n**Parameters:** _None_\n\n**Example call:**\n```json\n{\n  \"name\": \"list_all_countries\",\n  \"arguments\": {}\n}\n```\n\n**Example result:**\n```json\n[\n  {\n    \"name\": \"Japan\",\n    \"region\": \"Asia\",\n    \"flagUrl\": \"https://flagcdn.com/jp.svg\"\n  },\n  {\n    \"name\": \"Brazil\",\n    \"region\": \"Americas\",\n    \"flagUrl\": \"https://flagcdn.com/br.svg\"\n  }\n  // ...\n]\n```\n\n## Available Tools\n\n### get_country_info\n- **Description:** Fetches comprehensive information for a specific country, such as population, capital city, official languages, currency, flag URL, region, and bordering countries.\n- **Input Schema:**\n  - `country` (string, required): Name of the country (common or official).\n\n### list_all_countries\n- **Description:** Returns a list of all recognized countries with basic info (name, region, flag).\n- **Input Schema:** None (call with an empty object).\n\n---\n\n_MCP server maintained by Dennis K._\n","readmeFilename":"README.md","_rev":"1-eb774da74aecf736c8ffbd3a049c912c"}