Skip to main content
Glama
mcp-server-blm-mlrs

mcp-server-blm-mlrs

by GSA-TTS

mcp-server-blm-mlrs

An MCP server for the BLM MLRS Geothermal Leases dataset.

It exposes tools that query the U.S. Bureau of Land Management (BLM) Mineral & Land Records System (MLRS) geothermal leases ArcGIS FeatureServer and returns clean, structured lease data to any MCP client (Claude Desktop, etc.).

Data source

BLM National MLRS Geothermal Leases FeatureServer:

https://gis.blm.gov/nlsdb/rest/services/HUB/BLM_Natl_MLRS_Geothermal_Leases/FeatureServer/0

Related MCP server: mcp-arcgis-mobile

Tools

get_lease_details(case_number)

Retrieve full details for a single lease by its BLM case serial number.

  • case_number — BLM case serial number, e.g. 'NVNV105806473'.

Returns a dict of lease details (case name, type, status, state, acreage, commodity, formation, production status, effective/expiration/sale dates, data source), or an error message if not found.

search_leases(state, status, effective_date_from, effective_date_to, expiration_date_from, expiration_date_to)

Search leases with optional filters. All parameters are optional; if none are given, all leases are returned (capped at 50 records).

Parameter

Field

Description

state

ADMIN_STATE

Two-letter admin state code, e.g. 'NV'

status

CSE_DISP

Case disposition/status, e.g. 'Authorized'

effective_date_from

EFF_DT

Inclusive lower bound, ISO date 'YYYY-MM-DD'

effective_date_to

EFF_DT

Inclusive upper bound, ISO date 'YYYY-MM-DD'

expiration_date_from

EXP_DT

Inclusive lower bound, ISO date 'YYYY-MM-DD'

expiration_date_to

EXP_DT

Inclusive upper bound, ISO date 'YYYY-MM-DD'

Returns {"count": <int>, "leases": [ {lease summary}, ... ]}, or an error message on failure.

Installation

Requires Python >= 3.11.

uv sync

Running

By default the server runs over stdio, suitable for local MCP clients:

uv run python -m geothermal_leases.app

If a PORT (or DATABRICKS_APP_PORT) environment variable is set, it instead serves over HTTP on that port:

PORT=8000 uv run python -m geothermal_leases.app

A health check is available at GET /health when running over HTTP.

Configuring an MCP client

Example entry for a client that launches MCP servers over stdio:

{
  "mcpServers": {
    "geothermal-leases": {
      "command": "uv",
      "args": ["run", "python", "-m", "geothermal_leases.app"],
      "cwd": "/path/to/mcp-server-blm-mlrs"
    }
  }
}

Project layout

src/geothermal_leases/
├── app.py                       # FastMCP server entrypoint (stdio / HTTP)
├── routes.py                    # Custom HTTP routes (health check)
└── tools/
    ├── __init__.py              # Tool registration
    ├── _blm.py                  # Shared BASE_URL + date helpers
    ├── get_lease_details.py     # get_lease_details tool
    └── search_leases.py         # search_leases tool

Available Tools

2 tools
get_lease_detailsA

Retrieve details for a BLM geothermal lease by its Case Serial Number.

Inputs: case_number (required). Returns: object

search_leasesA

Search BLM geothermal leases, optionally filtering by state, status, and effective-/expiration-date ranges.

All parameters are optional. If none is provided, all leases are returned (capped at 50 records).

Inputs: state, status, effective_date_to, expiration_date_to, +2 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    get_lease_details and search_leases have clearly distinct purposes: one retrieves a specific lease by serial number, while the other returns a list of leases matching filters. There is no overlap or ambiguity between them.

    Naming Consistency4/5

    Both tools use verb-led names (get, search), but the object phrasing differs slightly ('lease_details' vs 'leases'). This is a minor deviation from a strict verb_noun pattern, but the naming is still predictable and readable.

    Tool Count3/5

    The server has only 2 tools, which feels thin for a general-purpose server. However, the domain is narrowly focused on querying BLM geothermal leases, making this a borderline but reasonable count for a read-only lookup service.

    Completeness4/5

    The two tools cover the core workflow of searching for leases and retrieving full details for a specific lease. There are no obvious gaps for the stated purpose of querying lease information, though additional filters or related data could enhance completeness.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying City of Lubbock open geospatial data (parcels, zoning, public works) through ArcGIS Feature Services, including searching datasets, querying layers with SQL-like filters, and retrieving schema info.
      74 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables live querying of oil & gas and geothermal well data from state regulator ArcGIS services, including searchable well records, operators, nearby wells, and raw queries, plus DOE GDR and Global Energy Monitor lookups.
      8
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and retrieving mineral deposit records from the Mineral Resources Data System. Provides tools for area-based commodity counts and full deposit details.
      82 npm
      MIT