什么是 macrostrat-mcp?
探索全球地质数据,回答基岩、地层、年代与地层学问题;可按位置获取单元、矿物和时间尺度信息,并生成地质地图瓦片。
核心功能 (8 个工具)
find-columnsFind geological stratigraphic columns, rock layers, and geological history for any location worldwide. Use for geology, bedrock, formations, age dating, and stratigraphic analysis.
find-unitsFind geological rock units, formations, bedrock geology, and mineral information for any location worldwide. Use for geology questions, rock types, age dating, lithology, and geological analysis.
defsRoutes giving access to standard fields and dictionaries used in Macrostrat
defs-autocompleteQuickly retrieve all definitions matching a query. Limited to 100 results
mineral-infoGet information about a mineral, use one property
timescaleGet information about a time period
lat-lng-to-tileConvert latitude/longitude coordinates to map tile coordinates (x, y) for a given zoom level. Uses the same web mercator projection as MapKit.
map-tilesGet map tile URLs from the Macrostrat tiles server. Use lat-lng-to-tile tool first to get proper x,y coordinates. Defaults to 'carto' scale which automatically adapts detail level to zoom.
README
macrostrat-mcp
MCP server for Macrostrat API
<a href="https://glama.ai/mcp/servers/v67anfiq0s"> <img width="380" height="200" src="https://glama.ai/mcp/servers/v67anfiq0s/badge" alt="Macrostrat Server MCP server" /> </a>An MCP server implementation for providing access to the Macrostrat API within Claude Desktop.
Overview
This Model Context Protocol (MCP) server enables AI assistants and applications to:
- Query comprehensive geologic data and information provided by the Macrostrat API
- Access geologic units, columns, minerals, timescales, and more
- Get geologic map tiles that the LLM can interpret (questionable utility, but might be useful for some applications)
- Analyze geologic data to improve geological understanding
- Create graphics and perform data analysis from the data
Users can run queries using natural language.
Sample Output
Q. What is the geologic history of Nashville, TN?
A. Let me check the geological data for Nashville's location.
View Result from find-units from macrostrat (local)
{
"lat": 36.1627,
"lng": -86.7816,
"responseType": "long"
}
Geological History of Nashville, Tennessee
- Mesoproterozoic Basement (1.6-1.1 billion years ago)
- Igneous basement rocks (granite and rhyolite)
- Part of the ancient North American craton
- Early-Middle Cambrian (518-504 million years ago)
- Rome Formation: Mixed carbonate-siliciclastic sediments
- Shallow marine environment
- Part of the developing continental shelf
- Middle-Late Cambrian (504-498 million years ago)
- Conasauga Formation: Limestone and mixed sediments
- Continued marine deposition
- Alternating limestone and shale indicating fluctuating sea levels
- Late Cambrian-Early Ordovician (498-470 million years ago)
- Knox Dolomite: Massive dolomite sequence
- Extensive shallow marine platform
- Up to 1,200 meters thick
- Represents long period of stable marine conditions
- Middle-Late Ordovician (470-443 million years ago) Several important formations:
- Stones River Group (including Murfreesboro, Pierce, Lebanon Limestones)
- Nashville Group (including Hermitage, Bigby-Cannon, Catheys Formations)
- Primarily limestone deposits
- Rich in fossils
- Shallow marine environment
- Multiple cycles of sea level change
- Early-Middle Silurian (443-423 million years ago)
- Brassfield through Decatur Formations
- Continued marine limestone deposition
- Various marine environments from shallow to deeper water
- Middle Devonian-Early Mississippian (390-357 million years ago)
- Pegram Formation through Chattanooga Shale
- Shift to more clastic (shale) deposition
- Chattanooga Shale represents deeper, oxygen-poor conditions
- Early-Late Mississippian (357-331 million years ago) Several limestone formations:
- Fort Payne Formation
- Warsaw Limestone
- St. Louis Limestone
- Monteagle Limestone
- Hartselle Formation
- Return to carbonate platform conditions
- Diverse marine environments
- Cenozoic to Present
- Long period of erosion and exposure
- Development of the current landscape
- Formation of the Nashville Dome structure
- River and stream deposits
Key Features
- The area was predominantly a marine environment for most of its geological history
- Dominated by limestone formations indicating warm, shallow seas
- Multiple cycles of sea level change
- Rich fossil record, especially in Ordovician rocks
- Part of the Nashville Dome structural feature
- Long periods of erosion have removed younger rocks
- Current topography shaped by differential erosion of various limestone units
Present Day Bedrock
The bedrock of Nashville today consists primarily of Ordovician limestone formations exposed at the surface, particularly the Stones River and Nashville Group limestones. These rocks are well exposed in many areas and have influenced the development of local karst topography, including caves and sinkholes that are common in the region.
Installation
Installing via Smithery
To install Macrostrat API Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @blake365/macrostrat-mcp --client claude
Extra Steps
If you want to make changes to the server you can do so by editing the src/index.ts file.
- Run
npm installto install dependencies - Run
npm run buildto build the server - Quit and restart Claude Desktop after making changes
Connecting with Claude Desktop
-
Open your Claude Desktop configuration at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the server configuration:
{
"mcpServers": {
"macrostrat": {
"command": "node",
"args": [
"/Full/Route/to/Folder/macrostrat/build/index.js"
]
}
}
}
- Close/Quit then restart Claude Desktop
Once you restart you should see an icon for search and tools. Click this button to see the MCP tools available.
Troubleshooting
If you get errors when running the server you may need to provide the full path to the node command. For example, on macOS: /usr/local/bin/node
常见问题
macrostrat-mcp 是什么?
探索全球地质数据,回答基岩、地层、年代与地层学问题;可按位置获取单元、矿物和时间尺度信息,并生成地质地图瓦片。
macrostrat-mcp 提供哪些工具?
提供 8 个工具,包括 find-columns、find-units、defs 等。
相关 Skills
迁移架构师
by alirezarezvani
为数据库、API 与基础设施迁移制定分阶段零停机方案,提前校验兼容性与风险,生成回滚策略、验证关卡和时间线,适合复杂系统平滑切换。
✎ 做数据库与存储迁移时,用它统一梳理表结构和数据搬迁流程,架构视角更完整,复杂迁移也更稳。
数据库建模
by alirezarezvani
把需求梳理成关系型数据库表结构,自动生成迁移脚本、TypeScript/Python 类型、种子数据、RLS 策略和索引方案,适合多租户、审计追踪、软删除等后端建模与 Schema 评审场景。
✎ 把数据库结构设计、ER图梳理和SQL建模放到一处,复杂业务也能快速统一数据模式,少走不少返工弯路。
资深数据工程师
by alirezarezvani
聚焦生产级数据工程,覆盖 ETL/ELT、批处理与流式管道、数据建模、Airflow/dbt/Spark 优化和数据质量治理,适合设计数据架构、搭建现代数据栈与排查性能问题。
✎ 复杂数据管道、ETL/ELT 和治理难题交给它,凭 Spark、Airflow、dbt 等现代数据栈经验,能更稳地搭起可扩展的数据基础设施。
相关 MCP Server
PostgreSQL 数据库
编辑精选by Anthropic
PostgreSQL 是让 Claude 直接查询和管理你的数据库的 MCP 服务器。
✎ 这个服务器解决了开发者需要手动编写 SQL 查询的痛点,特别适合数据分析师或后端开发者快速探索数据库结构。不过,由于是参考实现,生产环境使用前务必评估安全风险,别指望它能处理复杂事务。
SQLite 数据库
编辑精选by Anthropic
SQLite 是让 AI 直接查询本地数据库进行数据分析的 MCP 服务器。
✎ 这个服务器解决了 AI 无法直接访问 SQLite 数据库的问题,适合需要快速分析本地数据集的开发者。不过,作为参考实现,它可能缺乏生产级的安全特性,建议在受控环境中使用。
Firecrawl 智能爬虫
编辑精选by Firecrawl
Firecrawl 是让 AI 直接抓取网页并提取结构化数据的 MCP 服务器。
✎ 它解决了手动写爬虫的麻烦,让 Claude 能直接访问动态网页内容。最适合需要实时数据的研究者或开发者,比如监控竞品价格或抓取新闻。但要注意,它依赖第三方 API,可能涉及隐私和成本问题。
