
PostGIS MCP Server
A server application that provides PostGIS database connection using Model Context Protocol (MCP), enabling spatial database functionality through natural language interactions.
Tools
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
README
PostGIS MCP Server
<a name="english"></a>
PostGIS MCP Server
This project is a server application that provides PostGIS database connection using Model Context Protocol (MCP).
🚀 Features
- Developed with TypeScript
- Model Context Protocol (MCP) integration
- PostGIS database support
- Configuration for development and production environments
- Hot-reload support
📋 Requirements
- Node.js (v14 or higher)
- PostgreSQL (with PostGIS extension)
- npm or yarn
🛠️ Installation
- Clone the project:
git clone https://github.com/receptopalak/postgis-mcp.git
cd postgis-mcp
- Install dependencies:
npm install
- Create
.env
file:
NODE_ENV=development
DB_PORT=5432
DB_HOST=localhost
DB_NAME=your_database_name
DB_USER=your_username
DB_PASSWORD=your_password
🚀 Usage
Development Mode
npm run dev
Production Mode
npm run build
npm start
🔧 MCP Configuration
You can use the following example configuration for MCP server:
{
"mcpServers": {
"postgis": {
"command": "npx",
"args": ["tsx", "server.ts"],
"env": {
"NODE_ENV": "development",
"DB_PORT": "5432",
"DB_HOST": "host",
"DB_NAME": "dbname",
"DB_USER": "user",
"DB_PASSWORD": "pass"
}
}
}
}
📦 Dependencies
- @modelcontextprotocol/sdk: ^1.12.1
- dotenv: ^16.5.0
- pg: ^8.16.0
- zod: ^3.25.64
🤝 Contributing
- Fork this repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'feat: Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
📝 License
This project is licensed under the ISC License. See the LICENSE
file for more information.
📧 Contact
Project Owner - @receptopalak
Project Link: https://github.com/receptopalak/postgis-mcp
<a name="türkçe"></a>
PostGIS MCP Server
Bu proje, Model Context Protocol (MCP) kullanarak PostGIS veritabanı bağlantısını sağlayan bir sunucu uygulamasıdır.
🚀 Özellikler
- TypeScript ile geliştirilmiş
- Model Context Protocol (MCP) entegrasyonu
- PostGIS veritabanı desteği
- Geliştirme ve üretim ortamları için yapılandırma
- Hot-reload desteği
📋 Gereksinimler
- Node.js (v14 veya üzeri)
- PostgreSQL (PostGIS eklentisi ile)
- npm veya yarn
🛠️ Kurulum
- Projeyi klonlayın:
git clone https://github.com/receptopalak/postgis-mcp.git
cd postgis-mcp
- Bağımlılıkları yükleyin:
npm install
.env
dosyası oluşturun:
NODE_ENV=development
DB_PORT=5432
DB_HOST=localhost
DB_NAME=your_database_name
DB_USER=your_username
DB_PASSWORD=your_password
🚀 Kullanım
Geliştirme Modu
npm run dev
Üretim Modu
npm run build
npm start
🔧 MCP Yapılandırması
MCP sunucu yapılandırması için aşağıdaki örnek yapılandırmayı kullanabilirsiniz:
{
"mcpServers": {
"postgis": {
"command": "npx",
"args": ["tsx", "server.ts"],
"env": {
"NODE_ENV": "development",
"DB_PORT": "5432",
"DB_HOST": "host",
"DB_NAME": "dbname",
"DB_USER": "user",
"DB_PASSWORD": "pass"
}
}
}
}
📦 Bağımlılıklar
- @modelcontextprotocol/sdk: ^1.12.1
- dotenv: ^16.5.0
- pg: ^8.16.0
- zod: ^3.25.64
🤝 Katkıda Bulunma
- Bu depoyu fork edin
- Yeni bir özellik dalı oluşturun (
git checkout -b feature/amazing-feature
) - Değişikliklerinizi commit edin (
git commit -m 'feat: Add some amazing feature'
) - Dalınıza push edin (
git push origin feature/amazing-feature
) - Bir Pull Request oluşturun
📝 Lisans
Bu proje ISC lisansı altında lisanslanmıştır. Daha fazla bilgi için LICENSE
dosyasına bakın.
📧 İletişim
Proje Sahibi - @receptopalak
Proje Linki: https://github.com/receptopalak/postgis-mcp
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。