Skip to main content
Glama
Berlin Services MCP Server

Berlin Services MCP Server

by Esshahn

Berlin Services MCP Server

A Model Context Protocol (MCP) server that provides access to Berlin's administrative services (Dienstleistungen) data. This server allows AI assistants like Claude to search and retrieve information about over 1,000 public services offered by Berlin authorities.

Features

  • Search Services: Search for services by name or description

  • Service Details: Get comprehensive information about specific services including:

    • Requirements and prerequisites

    • Fees and processing times

    • Required forms and documents

    • Online processing options

    • Appointment booking links

    • Responsible authorities

    • Legal references

  • List Services: Browse all available services

  • Statistics: Get dataset information and statistics

Related MCP server: Berlin Open Data MCP Server

Installation

No installation needed! Just use it directly via npx.

Option 2: Clone and Build (For Development)

# 1. Clone the repository
git clone https://github.com/ingohinterding/berlin-services-mcp.git
cd berlin-services-mcp

# 2. Install dependencies
npm install

# 3. Build the project
npm run build

Usage

With Claude Desktop

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

Option 1: Using npx (Easiest)

{
  "mcpServers": {
    "berlin-services": {
      "command": "npx",
      "args": [
        "-y",
        "@ingohinterding/berlin-services-mcp"
      ]
    }
  }
}

Option 2: Using local build

{
  "mcpServers": {
    "berlin-services": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/berlin-services-mcp/build/index.js"
      ]
    }
  }
}

(Replace /ABSOLUTE/PATH/TO/berlin-services-mcp with your actual path)

After adding this, restart Claude Desktop completely (Cmd+Q on Mac, then reopen).

With MCP Inspector

For testing:

With npx:

npx @modelcontextprotocol/inspector npx -y @ingohinterding/berlin-services-mcp

With local build:

npx @modelcontextprotocol/inspector node build/index.js

This opens a web interface where you can test all the tools interactively.

Available Tools

1. search_services

Search for services by name or description.

Parameters:

  • query (string, required): Search query

Example:

{
  "query": "Anmeldung"
}

2. get_service_details

Get detailed information about a specific service.

Parameters:

  • service_id (string, required): The service ID

Example:

{
  "service_id": "120335"
}

3. list_services

List all available services.

Parameters:

  • limit (number, optional): Maximum number of services to return (default: 50, max: 200)

Example:

{
  "limit": 100
}

4. get_services_stats

Get statistics about the dataset.

Parameters: None

Example Queries with Claude

Once configured, you can ask Claude questions like:

  • "Search for services related to residence registration"

  • "What are the requirements for Anmeldung einer Wohnung?"

  • "Show me all services related to passport"

  • "What documents do I need for service ID 120335?"

  • "How much does it cost to register my address in Berlin?"

Data Source

This server fetches data from the official Berlin services API: https://service.berlin.de/export/dienstleistungen/json/

The data includes:

  • 1,000+ administrative services

  • Information in German language

  • Real-time appointment availability

  • Links to online processing when available

  • Responsible authorities for each service

Development

Building

npm run build

Development Mode

npm run watch

Project Structure

berlin-services-mcp/
├── src/
│   └── index.ts          # Main MCP server implementation
├── build/                # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
├── README.md
└── LICENSE

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

Available Tools

4 tools
get_service_detailsA

Get detailed information about a specific Berlin service by its ID. Returns comprehensive information including requirements, forms, fees, appointments, and more.

Inputs: service_id (required).

get_services_statsA

Get statistics about the Berlin services dataset (total count, last update, etc.)

Inputs: no named parameters.

list_servicesA

List all available Berlin administrative services. Returns a paginated list of services with their names and IDs.

Inputs: limit.

search_servicesB

Search for Berlin administrative services by name or description. Returns a list of matching services with basic information.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation4/5

    Four tools with mostly distinct purposes: search_services (query-based), list_services (browse all), get_service_details (by ID), and get_services_stats (metadata). The main overlap risk is search_services vs list_services, since both return lists of services, but the descriptions clarify query-driven vs paginated browsing. An agent could occasionally pick list when it meant a search, but boundaries are reasonably clear.

    Naming Consistency4/5

    All four names follow a verb_noun snake_case pattern (search_services, get_service_details, list_services, get_services_stats). Minor inconsistency in pluralization of the noun portion ('service_details' vs 'services_stats') and the use of two different verbs (get vs list/search), but overall predictable and readable.

    Tool Count4/5

    Four tools is a tight, well-scoped surface for a read-only service-lookup server. Each tool maps to a distinct access pattern (search, list, detail, stats) without padding. It sits at the low end of the typical 3-15 range but is justified for the narrow reference-lookup purpose.

    Completeness4/5

    The core read lifecycle (search, browse, detail, dataset stats) is fully covered for a reference dataset. Minor gaps exist: no filtering by category, district, or availability, and search is limited to name/description. These are workarounds an agent can navigate, so the surface is largely complete for its stated lookup purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides access to the official German Federal Legal Information Portal (rechtsinformationen.bund.de) enabling AI agents to search German federal laws, court decisions, and legal documentation with authoritative citations from official sources.
      5
      24
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables interaction with Berlin's open data catalog through tools for full-text search, metadata retrieval, and dataset analysis. It provides access to over 2,500 datasets across categories like transport, health, and education using the Model Context Protocol.
      6
      5
      MIT