SGU MCP Server

SGU MCP Server

Provides access to geological data from Sveriges Geologiska Undersökning (SGU), including bedrock geology, soil types, and point queries.

Category
Visit Server

README

SGU MCP Server

An MCP (Model Context Protocol) server that provides access to geological data from Sveriges Geologiska Undersökning (SGU) - the Geological Survey of Sweden.

Built for Yesper.ai, targeting users in construction and infrastructure in Sweden.

Features

  • Bedrock geology data - Get rock types, geological units, and lithology for any area
  • Soil types mapping - Visualize quaternary deposits (clay, sand, gravel, moraine, peat)
  • Point queries - Get soil type information at specific coordinates
  • Corridor support - Query along linear infrastructure routes (roads, railways, pipelines)

Available Tools

Tool Description
sgu_get_bedrock Get bedrock geology features for an area (OGC API Features)
sgu_get_bedrock_map Get a rendered map image URL of bedrock geology (WMS)
sgu_get_soil_types_map Get a rendered map image URL of soil types (WMS)
sgu_get_soil_type_at_point Get soil type at a specific coordinate (WMS GetFeatureInfo)

Coordinate System

All coordinates use SWEREF99TM (EPSG:3006), the Swedish national grid:

  • X = Easting (meters)
  • Y = Northing (meters)

Example coordinates for Stockholm: X: 674000, Y: 6580000

Installation

Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "sgu": {
      "url": "https://mcp-sgu.vercel.app/mcp"
    }
  }
}

Local Development

# Install dependencies
npm install

# Run development server
npm run dev

# Type check
npm run typecheck

# Lint
npm run lint

Usage Examples

Get bedrock data for an area

{
  "tool": "sgu_get_bedrock",
  "input": {
    "bbox": {
      "minX": 674000,
      "minY": 6580000,
      "maxX": 675000,
      "maxY": 6581000
    },
    "limit": 50
  }
}

Get a bedrock map

{
  "tool": "sgu_get_bedrock_map",
  "input": {
    "bbox": {
      "minX": 674000,
      "minY": 6580000,
      "maxX": 680000,
      "maxY": 6586000
    },
    "width": 1024,
    "height": 768
  }
}

Query along a corridor

{
  "tool": "sgu_get_bedrock",
  "input": {
    "corridor": {
      "coordinates": [
        [674000, 6580000],
        [675000, 6581000],
        [676000, 6582000]
      ],
      "bufferMeters": 500
    }
  }
}

Get soil type at a point

{
  "tool": "sgu_get_soil_type_at_point",
  "input": {
    "x": 674500,
    "y": 6580500
  }
}

Data Sources

All data is provided by Sveriges Geologiska Undersökning (SGU):

  • Bedrock map 50-250k - Geological bedrock data
  • Soil types map 25-100k - Quaternary deposits

MCP Endpoints

  • /mcp - HTTP Streamable transport (recommended)
  • /sse - SSE transport (legacy)

License

MIT

Author

Yesper

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured