Skip to main content
Glama

Ordnance Survey MCP Server

by CHRISCARLON

Ordnance Survey MCP Server

A MCP server for accessing UK geospatial data through Ordnance Survey APIs.

What it does

Provides LLM access to the Ordnance Survey's Data Hub APIs.

Ask simple questions such as find me all cinemas in Leeds City Centre or use the prompts templates for more complex, speciifc use cases - relating to street works, planning, etc.

This MCP server enforces a 2 step workflow plan to ensure that the user gets the best results possible.

Quick Start

1. Get an OS API Key

Register at OS Data Hub to get your free API key and set up a project.

2. Run with Docker and add to your Claude Desktop config (easiest)

Clone the repository: git clone https://github.com/your-username/os-mcp-server.git cd os-mcp-server

Then build the Docker image:

docker build -t os-mcp-server .

Add the following to your Claude Desktop config:

{ "mcpServers": { "os-mcp-server": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "OS_API_KEY=your_api_key_here", "-e", "STDIO_KEY=any_value", "os-mcp-server" ] } } }

Open Claude Desktop and you should now see all available tools, resources, and prompts.

Requirements

  • Python 3.11+
  • OS API Key from OS Data Hub
  • Set a STDIO_KEY env var which can be any value for now whilst auth is improved.

License

MIT License. This project does not have the endorsement of Ordnance Survey. This is a personal project and not affiliated with Ordnance Survey. This is not a commercial product. It is actively being worked on so expect breaking changes and bugs.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Python-based MCP server that provides access to Ordnance Survey APIs, allowing querying of geographic data through a standardized protocol with features like collection management, feature search, and spatial filtering.

  1. Overview
    1. Project Structure
      1. Features
        1. Requirements
          1. Running the Server
            1. 1. STDIO Mode (for Claude Desktop)
            2. 2. HTTP (Streamable) Mode
          2. Available Tools
            1. Using Prompt Templates
              1. Contributing
                1. License

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Python-based MCP server that integrates OpenAPI-described REST APIs into MCP workflows, enabling dynamic exposure of API endpoints as MCP tools.
                    Last updated -
                    2
                    110
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
                    Last updated -
                    Python
                  • A
                    security
                    A
                    license
                    A
                    quality
                    An open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.
                    Last updated -
                    9
                    54
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol (MCP) based geographic processing server that provides spatial analysis functions including coordinate system conversions, distance calculations, and area calculations.
                    Last updated -
                    3
                    612
                    2
                    JavaScript
                    MIT License

                  View all related MCP servers

                  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/CHRISCARLON/os-mcp'

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