olaflaitinen

CitySense is an open-source Python library that bridges geospatial urban data with large language model (LLM) toolchains.

11
0
100% credibility
Found Mar 02, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

CitySense is an open-source Python library that allows natural language queries on geospatial urban data sources for sustainable city analysis and AI integration.

How It Works

1
📰 Discover CitySense

You hear about a friendly tool that helps everyday people explore and understand cities using simple questions.

2
📥 Set it up quickly

You download and prepare the tool on your computer in just a few minutes, no hassle.

3
🌍 Choose your city

You pick a city like Helsinki or Baku to focus on, and the tool remembers your choice.

4
🗺️ Gather city knowledge

The tool pulls together maps of buildings, parks, streets, and more to create a smart city guide.

5
Ask natural questions

You type everyday questions like 'Show me parks near the subway' and feel the magic happen.

6
📊 See maps and insights

You get easy-to-read answers with maps, summaries, and facts about your city.

7
🤖 Connect to AI friends

You link it to chatty AI helpers so they can use city smarts in conversations.

🎉 Unlock city wisdom

Now you confidently explore urban life, plan better, and share insights with others.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is citysense?

CitySense is an open-source Python library that bridges geospatial urban data sources like OpenStreetMap, Mapillary street imagery, and Sentinel-2 satellite feeds with LLM toolchains. It lets you index city features into a searchable vector store, then query them via natural language—like "social housing zones within 1km of metro stations in Helsinki"—returning GeoJSON context. Developers get a CLI for quick pilots (e.g., `citysense index build --city Helsinki`) and an MCP server to plug into Cursor or Claude for urban AI workflows.

Why is it gaining traction?

It stands out with built-in MCP tools for seamless LLM integration, preconfigured pilots for Azerbaijan and Finland, and SDG 11 metrics like land consumption rates alongside spectral indices (NDVI, NDBI). No GIS expertise needed: spin up Qdrant, index OSM data in minutes, and query semantically without custom spatial joins. The hybrid retrieval (dense vectors + sparse BM25) delivers precise urban insights fast.

Who should use this?

Urban planners prototyping AI policy tools, smart city researchers analyzing resilience in pilot cities like Baku or Helsinki, or LLM devs building geospatial agents. Ideal for those querying housing near transit (e.g., citysense ratchaphruek 345) or green spaces without wrangling GeoPandas boilerplate.

Verdict

Worth a spin for SDG-aligned urban RAG in Python—polished docs, CLI, and MCP make it instantly usable despite 11 stars and 1.0% credibility score. Alpha maturity means stick to pilots; production needs more connectors and tests.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.