Canada Travel Advisory MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Canada Travel Advisory MCP ServerWhat's the travel advisory for Mexico?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Canada Travel Advisory MCP Server
An MCP server for Government of Canada travel advisories, backed by the Global Affairs Canada open data index of 230 destinations.
Lightweight by design: a single index.js, one dependency (@modelcontextprotocol/sdk),
no build step, no TypeScript compile, no HTTP library.
Install
npm installRequires Node.js 18+ (uses the built-in fetch).
Related MCP server: Travel Assistant MCP
Setup
No API key is needed — the dataset is public and unauthenticated. All clients below run the same
stdio command: node <path-to>/index.js.
Substitute your own absolute path if the project lives elsewhere.
Claude Code
claude mcp add canada-travel-advisory -- node E:/Claude/mcp-servers/canada-travel-advisory/index.jsAdd --scope user to make it available across all your projects instead of just the current one.
Claude Desktop
In claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"canada-travel-advisory": {
"command": "node",
"args": ["E:/Claude/mcp-servers/canada-travel-advisory/index.js"]
}
}
}Restart Claude Desktop after saving.
Codex CLI
codex mcp add canada-travel-advisory -- node E:/Claude/mcp-servers/canada-travel-advisory/index.jsOr edit ~/.codex/config.toml directly (use .codex/config.toml in the project root to scope it
to one trusted project):
[mcp_servers.canada-travel-advisory]
command = "node"
args = ["E:/Claude/mcp-servers/canada-travel-advisory/index.js"]Verify with codex mcp list.
Cursor
Create .cursor/mcp.json in the project root, or ~/.cursor/mcp.json to enable it globally:
{
"mcpServers": {
"canada-travel-advisory": {
"command": "node",
"args": ["E:/Claude/mcp-servers/canada-travel-advisory/index.js"]
}
}
}The server then appears under Settings → MCP, where it must be toggled on.
Windows path note
The forward slashes above work fine on Windows. If you prefer backslashes in the JSON configs,
escape them: "E:\\Claude\\mcp-servers\\canada-travel-advisory\\index.js".
Tools
Tool | Purpose |
| Advisory for one destination. Accepts a name (English or French), ISO code ( |
| Filter and browse all destinations by |
| Advisories changed most recently, newest first. Filter by |
| Partial-match search across names, ISO codes, and slugs. |
| Compare several destinations at once, ranked highest risk first. |
| Dataset overview: counts per risk level, regional-advisory count, change-type breakdown, freshness. |
All tools accept language ("en" default, or "fr"), which switches names, advisory text, and
the destination link between travel.gc.ca and voyage.gc.ca.
Risk levels
Level | Meaning |
0 | Exercise normal security precautions |
1 | Exercise a high degree of caution |
2 | Avoid non-essential travel |
3 | Avoid all travel |
min_risk_level: 2 gives every destination Canada advises against travelling to. Filters also
accept the label text (e.g. risk_level: "avoid all travel").
Example questions this answers
"What's the travel advisory for Peru?"
"Which countries should I avoid all travel to right now?"
"What advisories changed in the last week?"
"Compare Japan, Mali, and France for a trip."
"How many destinations have regional advisories?"
Data source and behaviour notes
Source: https://data.international.gc.ca/travel-voyage/index-alpha-eng.json
One endpoint is fetched, not two. The published
index-updated.jsonis byte-identical toindex-alpha-eng.json(verified: same MD5, same alphabetical key order) and is not actually sorted by recency.get_recent_updatestherefore sorts ondate-published.timestamplocally, which is reliable regardless of what order the upstream file happens to be in.One fetch serves both languages. Despite the
-engsuffix, every record embeds bothengandfrablocks; the-frafile differs only in key order.Caching: responses are cached in memory for 60 minutes (the dataset regenerates about hourly), refreshed with conditional
If-None-Match/If-Modified-Sincerequests. If a refresh fails, the last good data is served withstale: truerather than erroring.Summary data only. The dataset carries risk level, advisory text, update date and change summary. Full advisory detail (safety and security, entry requirements, health, regional breakdowns) exists only as HTML, so every result includes the destination
urlto read it.
Every response also carries data_generated (upstream generation time) and a source attribution
line, so answers can be dated.
Licence
MIT. Advisory data © Government of Canada, used under the Open Government Licence – Canada.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceCheck visa requirements for 39,585 passport-destination pairs in 15 languages. Returns visa type, required documents, application process, and travel tips from 136 official government sources. Free quick checks without API key.51301MIT
- AlicenseAqualityAmaintenanceEnables travel search workflows including airport lookup, route comparison, travel timing guidance, and external booking links with commission-eligible links.51821MIT
- Flicense-qualityBmaintenanceEnables querying aviation weather, FAA TFRs, NWS alerts, flight tracking, and Amtrak train status using public APIs. No API keys or private infrastructure required.
- Flicense-qualityCmaintenanceEnables weather-based travel advisory generation using wttr.in API, including tools to fetch forecasts, calculate travel risk, and produce structured advisory reports.
Related MCP Connectors
US Travel Advisories MCP.
Passport visa, entry & transit requirements for any country pair, with official government sources.
Visa eligibility matcher and immigration intelligence for MCP-compatible AI assistants.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/w-metcalfe/canada-travel-advisory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server