Skip to main content
Glama

PostGIS MCP Server

by receptopalak

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTYesPostgreSQL database hostlocalhost
DB_NAMEYesPostgreSQL database name
DB_PORTNoPostgreSQL database port5432
DB_USERYesPostgreSQL database username
NODE_ENVNoEnvironment mode (development or production)development
DB_PASSWORDYesPostgreSQL database password

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Database SchemaVeritabanı şeması ve tablo bilgileri
Smart Table AnalysisAkıllı tablo analizi ve öneriler
Spatial TablesMekansal tablolar
Spatial IndexesMekansal indeksler

Tools

Functions exposed to the LLM to take actions

NameDescription
test-connection

PostGIS veritabanı bağlantısını test et

analyze-database

Veritabanı şemasını analiz et ve tablo bilgilerini topla

smart-query

Doğal dilde sorulan soruyu anla ve uygun veritabanı sorgusuna çevir

get-table-info

Belirli bir tablo hakkında detaylı bilgi al

create-point

Koordinatlardan nokta geometrisi oluştur

create-linestring

Koordinat dizisinden çizgi geometrisi oluştur

create-polygon

Koordinat dizisinden poligon geometrisi oluştur

calculate-distance

İki nokta arasındaki mesafeyi hesapla

geometry-info

Geometri hakkında detaylı bilgi al (alan, uzunluk, boyut vs.)

create-buffer

Geometri etrafında buffer oluştur

transform-coordinates

Koordinat sistemini dönüştür

simplify-geometry

Geometriyi basitleştir (Douglas-Peucker algoritması)

geometry-intersection

İki geometrinin kesişimini bul

geometry-union

Birden fazla geometriyi birleştir

geometry-centroid

Geometrinin merkez noktasını bul

geometry-convex-hull

Geometrinin konveks zarfını hesapla

validate-geometry

Geometrinin geçerliliğini kontrol et

find-nearby

Belirli bir noktanın çevresindeki özellikleri bul

spatial-join

İki tablo arasında mekansal join işlemi yap

create-spatial-index

Mekansal indeks oluştur

raster-info

Raster verisinin bilgilerini al

extract-raster-value

Belirli koordinattaki raster değerini çıkar

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/receptopalak/postgis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server