Skip to content
← Directory

mcp · Global

osmfeatures-py

SDK for the MapLark OpenStreetMap Features API to get real world map data in Python

Claim this listing

Represent osmfeatures-py? Send a claim for review so we can discuss listing updates. Claims do not automatically grant ownership or verification.

Explore paid sponsorship →

What's in it

Data offered docs-verified
OpenStreetMap features: buildings, streets, Points of Interest · tag-filtered features by bbox, location+radius, or within a boundary · feature counts and histograms · density grid bins · places search, nearby, details, and opening-hours status · walk and bike routes
Coverage llm-inferred
Global (per ENTRY regions)
Resolution docs-verified
Density grid cells default to 0.1 degrees (cell_deg); feature geometry resolution not stated
Formats docs-verified
GeoJSON · FlatGeobuf · GeoParquet · CSV · MCP stdio · MCP streamable HTTP
Access docs-verified
API key required (tiered, rate-limited hosted API; paid tiers not priced in docs). SDK licence: MIT (per ENTRY).

Useful for

Use cases llm-inferred
Building footprint extraction (type=way, tags=building) for a site-area baseline · River and watercourse line extraction (way_shape=line) for a constraints screen · Walk or bike route distance from a site to nearby amenities for an accessibility assessment
Audience llm-inferred
GIS analysts · planners · environmental consultants · civil engineers · geospatial app developers

Limitations

Constraints docs-verified
Larger match sets are truncated to the API key's max_limit (X-Has-More: true) · Count area cap 400 deg² per request; density area cap 4000 deg² · auto_split caps at 32 tiles · query() does not take a cursor · Requires an API key

Example tool calls docs-verified

Fetch building footprints (closed ways) in a bbox near Stockholm centre.

{
  "tool": "query",
  "arguments": {
    "bbox": "18.063,59.322,18.082,59.332",
    "type": "way",
    "way_shape": "polygon",
    "tags": [
      "building"
    ]
  }
}

Histogram of amenity node counts in a bbox to gauge local services density.

{
  "tool": "count",
  "arguments": {
    "group_by": "amenity",
    "bbox": "18.05,59.32,18.10,59.34",
    "type": "node",
    "tags": [
      "amenity"
    ]
  }
}
Licence
MIT
Authentication
API key via env: MAPLARK_API_KEY, YOUR_KEY (auto-extracted from README)
GitHub stars
1
Last commit
14/10/2026
Last successful page check
14/10/2026
Page health
healthy
Package
pypi:osmfeatures
Verification
Not independently verified

Auto-extracted, unverified fields: tools, install, auth. Check upstream documentation.

Provenance & evidence

Daily discovery 2026-10-15: GitHub search; verified via GitHub API. Tools/install/auth auto-extracted from README.

Metadata observed 14/10/2026 · daily-2026-10-15 (github-search)