Macrostrat logo

Macrostrat

Query Macrostrat for geologic units, stratigraphic columns, and lithology definitions by location, age, name, or rock type.

Install Macrostrat

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "macrostrat": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-macrostrat"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

Macrostrat MCP server connects AI agents to Macrostrat geologic map, stratigraphic column, rock unit, and lithology data for North America and beyond. Its three key tools find units, locate nearby columns, and resolve lithology definitions without an API key. Use the hosted streamable HTTP endpoint for a direct connection, or run the npm stdio bridge when your MCP client launches local processes. Results include stratigraphic context, ages, lithology, thickness, column metadata, and lithology classifications.

Use cases

  • Find rock units at a latitude and longitude
  • Compare units by geological age or lithology
  • Locate stratigraphic columns near a field site
  • Resolve rock names to Macrostrat classifications

Key features

  • Location- and age-based geologic unit search
  • Stratigraphic name and lithology search
  • Nearby stratigraphic column lookup
  • Lithology definition and classification lookup
  • Hosted MCP, local stdio, and HTTP access

Tools3

What Macrostrat lets your agent do. Expand a tool for its parameters.

Verified live~516 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 71d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age163 days
Maintainers1

Observed 2026-11-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-macrostrat (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads905Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Macrostrat works

What Macrostrat MCP server does

Macrostrat MCP server exposes selected Macrostrat data through the Model Context Protocol. It is intended for geological research, map interpretation, stratigraphic lookup, and location-based exploration of rock units. The covered region includes North America and other areas represented by Macrostrat.

Three domain tools are available:

  • find_units searches for geologic rock units using latitude and longitude, an optional age in millions of years, a stratigraphic name, or a lithology term. Results can include formation or group, the associated stratigraphic column, bottom and top ages, time intervals, lithology, and maximum thickness.
  • find_columns returns stratigraphic columns near a supplied geographic point. Results include column name, regional group, coordinates, unit count, and area.
  • define_lithology looks up lithology terms such as granite or limestone. Supplying no term lists lithologies, with results capped at 50; returned fields include lithology ID, name, type, group, and class.

How it works

The hosted connection uses the Pipeworx gateway at https://gateway.pipeworx.io/macrostrat/mcp. MCP clients can connect to that URL directly. A separate full-gateway URL, https://gateway.pipeworx.io/mcp, exposes the wider Pipeworx catalog directly, while the Macrostrat endpoint lists the Macrostrat pack tools directly.

The endpoint also exposes shared Pipeworx meta-tools, including ask_pipeworx, discover_tools, search_within, and memory-related tools. ask_pipeworx can route natural-language questions across the broader catalog, including from a Macrostrat pack connection. The exact tool scope is reported by the connection's initialize response.

For clients that use local processes, @pipeworx/mcp-macrostrat provides a Node.js stdio bridge. It forwards calls to the hosted gateway, so it requires network access and does not provide offline operation. The tools can also be called without an MCP client through the gateway's HTTP API, using endpoints such as /v1/tools/find_units.

Setup and configuration

For a hosted MCP connection, add the gateway URL under an MCP server named macrostrat:

config.json
{
  "mcpServers": {
    "macrostrat": {
      "url": "https://gateway.pipeworx.io/macrostrat/mcp"
    }
  }
}

The local alternative uses npx:

config.json
{
  "mcpServers": {
    "macrostrat": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-macrostrat"]
    }
  }
}

Anonymous use is available, with a limit of 50 calls per day. Setting PIPEWORX_API_KEY supplies a Pipeworx account key and raises the allowance to 200 calls per day. Set PIPEWORX_META_TOOLS=1 for the local bridge if the shared gateway tools should also be listed. When using an HTTPS proxy, newer Node.js releases can use it when NODE_USE_ENV_PROXY=1 is enabled.

Tools and capabilities

  • Search units by coordinates, geological age, stratigraphic name, or lithology.
  • Inspect unit ages, time intervals, lithology, formations, groups, columns, and maximum thickness.
  • Find stratigraphic columns covering a geographic point.
  • Retrieve column location, regional grouping, unit count, and area.
  • Resolve lithology names to Macrostrat IDs and classification fields.
  • Query the tools through MCP, local stdio, or HTTP.

Limitations and notes

All three Macrostrat tools are keyless at the tool level, but hosted and local calls still require network access. Anonymous gateway usage is limited to 50 calls per day; an account key increases that allowance to 200 calls per day. The local package forwards requests to the gateway rather than running a local copy of the data. Pack endpoints include shared Pipeworx meta-tools, so clients may display more tools than the three Macrostrat-specific tools. The integration is independent and unofficial, and is not affiliated with or endorsed by the upstream provider.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Macrostrat

Macrostrat is an MCP server that connects AI agents to Macrostrat geologic data for North America and beyond. Its main tools search rock units by location, age, name, or lithology; find nearby stratigraphic columns; and retrieve lithology definitions with IDs and classifications.

Add the hosted URL or run the npm stdio bridge in your MCP client. Use `https://gateway.pipeworx.io/macrostrat/mcp` for a hosted connection, or configure `npx -y @pipeworx/mcp-macrostrat` as the command for a local bridge.

Yes, Macrostrat works with Cursor through the hosted MCP URL or the npm stdio bridge. Add the server configuration to Cursor's MCP settings, then use the unit, column, and lithology tools.

No, an API key is not required for anonymous use. Anonymous calls are capped at 50 per day; setting `PIPEWORX_API_KEY` with a Pipeworx account key raises the allowance to 200 calls per day.

Yes, you can call the gateway over HTTP. Send JSON requests to endpoints such as `https://gateway.pipeworx.io/v1/tools/find_units` with the required tool arguments.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMacrostrat AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/macrostrat?style=directory)](https://allmcps.com/mcp/macrostrat)
HTML Embed
<a href="https://allmcps.com/mcp/macrostrat"><img src="https://allmcps.com/api/badge/macrostrat?style=directory" alt="Macrostrat on AllMCPs" /></a>