Wednesday, 10 June 2026

I Built an AI Tool That Tells You How Safe Your City Is Right Now — Here's How It Works

Written by: Kalyug Rishi Category: AI Tools · Technology · Travel Safety Tags: city safety score, AI safety tool, geopolitical risk, war risk analyzer, travel safety 2026, is my city safe, AI tool India


Reading time: 7 minutes


The world feels more unstable than ever.

Wars are spreading. Geopolitical tensions are rising. And millions of people — travelers, expats, NRIs, students studying abroad, professionals relocating — are asking the same question every day:

"Is it safe where I'm going? Is it safe where I am?"

The answers they find are frustrating. Government travel advisories are updated every few months. News articles are sensational. Travel forums are full of opinions, not data.

So I built something better.

City Safety Score — an AI-powered geopolitical risk analyzer that gives you an instant safety score for any city in the world, based on current war risk, conflict proximity, and regional stability.

In this post I'm going to show you exactly what it does, how it works, and why AI is the future of travel safety intelligence.


What Is City Safety Score?

City Safety Score is a free AI tool that analyzes the geopolitical and war risk situation for any city and country you enter — and returns a detailed safety assessment in under 5 seconds.

You type in a city. You type in a country. You hit analyze.

The AI returns:

  • An overall safety score from 0 to 100 — where 100 is completely safe and 0 is critical danger
  • A travel advisory level — Safe to travel / Exercise caution / Avoid non-essential travel / Do not travel
  • 6 detailed risk factor scores — each rated from 0 to 100
  • Active risk flags — specific current threats in plain language
  • A written AI advisory — a 2-3 sentence expert-level summary of the situation

All of this in under 5 seconds. For any city. In any country. Free.

Try it here → kalyugrishi.com/city-safety-score


The 6 Risk Factors It Analyzes

Unlike generic travel safety tools that give you a vague "medium risk" rating, City Safety Score breaks down the safety situation into 6 specific dimensions:

1. Active Conflict Proximity ⚔️

How close is the city to active military conflicts, war zones, or areas of armed combat? A city 200km from an active front line scores very differently from one 2,000km away.

2. Alliance and NATO Stability 🛡️

Is the country protected by a military alliance? Is that alliance stable? Countries under NATO's Article 5 protection score higher. Countries outside alliances or with deteriorating diplomatic relationships score lower.

3. Nuclear and WMD Threat Level ☢️

What is the nuclear posture of regional powers? Are there active threats or escalating rhetoric involving weapons of mass destruction? This factor analyzes the broader strategic environment.

4. Regional Geopolitical Tension 🌐

Beyond direct conflict — what is the overall temperature of the region? Diplomatic crises, contested borders, resource conflicts, and great power competition all factor into this score.

5. Economic Warfare and Sanctions 📉

Economic instability, international sanctions, currency collapse, and trade wars create dangerous environments even without direct military conflict. This factor captures that dimension.

6. Civil Unrest and Internal Stability 🏛️

Protests, government instability, ethnic tensions, coup risk, and social fragmentation affect day-to-day safety even in countries not engaged in external conflicts.


How the AI Works

City Safety Score is powered by a large language model — specifically Groq's Llama 3.3 70B — one of the most capable and fastest AI models available today.

When you enter a city and country, the AI:

  1. Draws on its training data — which includes news, geopolitical analysis, conflict reports, and diplomatic intelligence up to its knowledge cutoff
  2. Applies a structured analytical framework — the same kind of framework used by professional risk analysts and security consultants
  3. Generates calibrated scores — not random numbers, but reasoned assessments based on the geopolitical context of that specific location
  4. Writes a plain-language advisory — so you understand the situation, not just a number

The result is the kind of analysis that used to require hiring a security consulting firm — available to anyone, instantly, for free.


Real Examples — What the Scores Look Like

Kyiv, Ukraine

  • Overall score: 18/100 — Critical danger
  • Advisory: Do not travel
  • Risk flags: Active warzone, proximity to front lines, missile strike risk, infrastructure targeting
  • AI summary: Kyiv remains under active military threat with regular missile and drone strikes. Civilian infrastructure including power grids and water systems have been targeted. The city is not safe for non-essential travel under any circumstances.

Tokyo, Japan

  • Overall score: 82/100 — Relatively safe
  • Advisory: Safe to travel
  • Risk flags: Regional nuclear posture (North Korea), territorial disputes (Senkaku Islands)
  • AI summary: Tokyo is one of the world's safest major cities with strong rule of law and minimal domestic conflict risk. Regional tensions involving North Korea and China exist but do not pose an immediate threat to civilian safety in Tokyo.

Tel Aviv, Israel

  • Overall score: 31/100 — High risk
  • Advisory: Avoid non-essential travel
  • Risk flags: Active regional conflict, missile risk, escalation potential with Hezbollah and Iran
  • AI summary: Israel remains in a state of active conflict with ongoing military operations in Gaza and heightened tensions with Hezbollah in Lebanon. Tel Aviv faces periodic rocket and missile threats with significant escalation risk.

Who Should Use This Tool?

City Safety Score was built for anyone who needs to make safety decisions based on current geopolitical reality:

Travelers and tourists — before booking a flight, check the safety score of your destination. Not just the tourist board's version — the AI's honest assessment.

NRIs and Indian expats — worried about family back home or considering a new country for work? Check the score before you decide.

Students going abroad — parents sending children to universities in Europe, North America, or the Middle East can use this tool to understand the risk environment.

Business travelers — corporate professionals traveling to unfamiliar regions for meetings or projects.

Remote workers and digital nomads — choosing a base city for the next few months? Safety should be part of the decision.

Journalists and researchers — a quick reference tool for understanding the geopolitical context of a location before deeper research.


Why AI Is Better Than Traditional Safety Ratings

Traditional travel safety information has three fundamental problems:

It's slow. Government advisories are updated every few months. The world changes every few hours. An advisory written in January may not reflect the situation in July.

It's generic. "Exercise caution in Country X" tells you nothing useful. Which parts of the country? What kind of risk? What should you actually do?

It's inaccessible. Professional geopolitical risk analysis costs thousands of dollars. It's available to corporations and governments, not to the average traveler or expat.

AI changes all of this.

A large language model trained on news, intelligence reports, academic analysis, and diplomatic communications can synthesize a geopolitical picture that would take a human analyst hours — in seconds. And it can do it for anyone, for free.

City Safety Score is the first step toward democratizing geopolitical intelligence. Making the kind of analysis that used to be reserved for governments and multinationals available to every traveler with a phone.


The Technology Behind It

For the technically curious — here is the stack:

ComponentTechnology
FrontendReact + Vite
AI modelGroq Llama 3.3 70B
BackendVercel serverless functions
HostingVercel (global CDN)
PaymentsRazorpay (premium tier)
Embedded onkalyugrishi.com/safety-calculator

The AI model runs entirely server-side — your queries are processed securely and never stored. The tool works on any device, in any browser, with no installation required.


Free vs Premium

City Safety Score is free to use with 3 analyses per day — enough for most travelers planning a trip or checking a destination.

For professionals, frequent travelers, and teams who need more:

Premium — ₹99/month includes:

  • Unlimited daily analyses
  • Compare multiple cities side by side
  • PDF safety brief download
  • Priority AI response

What's Coming Next

This is version 1. Here's what I'm building next for City Safety Score:

  • Weekly safety alerts — get an email when the safety score of your city changes significantly
  • Country risk maps — visual map showing safety scores across an entire region
  • Historical score tracking — see how a city's safety score has changed over time
  • API access — for travel companies, insurance providers, and corporate travel teams

Try It Now

The tool is live. It's free. It takes 10 seconds.

→ kalyugrishi.com/safety-calculator

Enter any city. Any country. See what the AI says.

Then share it with someone who's planning to travel — or someone who's worried about where they are.


Connect  : 

Instagram : KalyugAI

Have a question about City Safety Score or want to see your city analyzed? Leave a comment below.

No comments:

Post a Comment