postgis-mcp

receptopalak/postgis-mcp

3.3

If you are the rightful owner of postgis-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The PostGIS MCP Server is a server application designed to facilitate connections to a PostGIS database using the Model Context Protocol (MCP).

The PostGIS MCP Server is a robust server application developed with TypeScript, aimed at providing seamless integration with PostGIS databases through the Model Context Protocol (MCP). This server is designed to cater to both development and production environments, offering a flexible and efficient solution for managing spatial data. With its hot-reload support, developers can enjoy a streamlined development process, making it easier to implement changes and test them in real-time. The server requires Node.js and PostgreSQL with the PostGIS extension, ensuring that it leverages the full capabilities of spatial data management. The integration of MCP allows for a standardized approach to model context management, enhancing the server's ability to handle complex data interactions. This makes the PostGIS MCP Server an ideal choice for projects that require advanced geospatial data processing and management.

Features

  • Developed with TypeScript for robust and scalable code.
  • Seamless integration with Model Context Protocol (MCP) for standardized data management.
  • Supports PostGIS database, enabling advanced geospatial data handling.
  • Configurable for both development and production environments.
  • Hot-reload support for efficient development and testing.

Usages

usage with mcp configuration

{
  "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"
      }
    }
  }
}