Skip to content
MCP server

Countryflags MCP

Country flag image URLs and codes. No key required.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.6
Listing updated
5 days ago

About Countryflags MCP

Countryflags MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add countryflags-mcp -- npx -y countryflags-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "countryflags-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "countryflags-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "countryflags-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "countryflags-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "countryflags-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "countryflags-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "countryflags-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "countryflags-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "countryflags-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "countryflags-mcp"
      ]
    }
  }
}

Pricing

Open source

Countryflags MCP FAQ

Is Countryflags MCP free?

Yes. Countryflags MCP is open source, so you can use and self-host it for free.

How do I add Countryflags MCP to Claude Code?

Run this command in your terminal: claude mcp add countryflags-mcp -- npx -y countryflags-mcp