PostGIS MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | Database host (legacy single-database fallback). | |
| DB_NAME | No | Database name (legacy single-database fallback). | |
| DB_USER | No | Database user (legacy single-database fallback). | |
| DB_URL_1 | No | Database URL for the first database connection. | |
| DB_URL_2 | No | Database URL for the second database connection. | |
| DB_URL_3 | No | Database URL for the third database connection. | |
| NODE_ENV | No | Environment mode (e.g., development, production). | |
| DB_PASSWORD | No | Database password (legacy single-database fallback). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| test-connectionB | PostGIS veritabanı bağlantısını test et |
| analyze-databaseC | Veritabanı şemasını analiz et ve tablo bilgilerini topla |
| smart-queryC | Doğal dilde sorulan soruyu anla ve uygun veritabanı sorgusuna çevir |
| get-table-infoC | Belirli bir tablo hakkında detaylı bilgi al |
| create-pointC | Koordinatlardan nokta geometrisi oluştur |
| create-linestringB | Koordinat dizisinden çizgi geometrisi oluştur |
| create-polygonC | Koordinat dizisinden poligon geometrisi oluştur |
| calculate-distanceC | İki nokta arasındaki mesafeyi hesapla |
| geometry-infoC | Geometri hakkında detaylı bilgi al (alan, uzunluk, boyut vs.) |
| create-bufferC | Geometri etrafında buffer oluştur |
| transform-coordinatesD | Koordinat sistemini dönüştür |
| simplify-geometryC | Geometriyi basitleştir (Douglas-Peucker algoritması) |
| geometry-intersectionC | İki geometrinin kesişimini bul |
| geometry-unionC | Birden fazla geometriyi birleştir |
| geometry-centroidC | Geometrinin merkez noktasını bul |
| geometry-convex-hullC | Geometrinin konveks zarfını hesapla |
| validate-geometryC | Geometrinin geçerliliğini kontrol et |
| find-nearbyC | Belirli bir noktanın çevresindeki özellikleri bul |
| spatial-joinC | İki tablo arasında mekansal join işlemi yap |
| create-spatial-indexD | Mekansal indeks oluştur |
| raster-infoC | Raster verisinin bilgilerini al |
| extract-raster-valueC | Belirli koordinattaki raster değerini çıkar |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Database Schema | Veritabanı şeması ve tablo bilgileri |
| Smart Table Analysis | Akıllı tablo analizi ve öneriler |
| Spatial Tables | Mekansal tablolar |
| Spatial Indexes | Mekansal indeksler |
TDQS
Scored across 22 tools
Every tool has a clearly distinct purpose targeting specific PostGIS operations like geometry creation, analysis, spatial queries, and database management. There is no overlap; for example, 'create-point' and 'create-puffer' serve different functions, and descriptions help differentiate even similar-sounding tools like 'geometry-info' and 'get-table-info'.
Tool names follow a consistent verb-noun pattern with hyphens throughout, such as 'create-point', 'calculate-distance', and 'validate-geometry'. This predictable naming scheme makes it easy for agents to understand and select tools without confusion or mixed conventions.
With 22 tools, the count is slightly high but reasonable for a comprehensive PostGIS server covering geometry operations, spatial analysis, raster data, and database utilities. It might feel heavy, but each tool appears to earn its place in the domain without being excessive.
The tool set provides complete coverage for PostGIS operations, including CRUD-like functions (e.g., create, analyze, validate), spatial calculations (e.g., distance, intersection), database management (e.g., test-connection, get-table-info), and advanced features like natural language querying. No obvious gaps are present for the domain.