macrostrat-mcp
MCP server for accessing geologic data with the Macrostrat API
Overview
macrostrat-mcp is an MCP (Model Context Protocol) server designed for accessing geologic data through the Macrostrat API, which serves comprehensive geological information including units, minerals, and timescales.
To use macrostrat-mcp, install Node.js, clone the repository, and configure it with Claude Desktop by adding the MCP server settings to your configuration file. After configuration, queries can be made using natural language.
- Access to extensive geologic data provided by the Macrostrat API. - Ability to run natural language queries to retrieve geological history and analysis. - Support for visualizing data and creating graphics based on geological information.
- Investigating geologic history and changes in specific areas (e.g., Nashville, TN).
- Analyzing geological units and formations for academic or research purposes.
- Generating visual representations of geologic data for reports and presentations.
Add to your AI client
Use these steps to connect macrostrat-mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"macrostrat-mcp-blake365": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"macrostrat-mcp-blake365": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"macrostrat-mcp-blake365": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"macrostrat-mcp-blake365": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"macrostrat-mcp-blake365": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"macrostrat-mcp-blake365": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-macrostrat-mcp-blake365"
]
}
}
}FAQ
Can I query geologic data for locations other than Nashville?
Yes, you can query geologic data for any location supported by the Macrostrat API.
What if I encounter issues during installation?
If you face errors, ensure you are using the correct Node.js path or check the server configurations.
Is macrostrat-mcp compatible with all operating systems?
The server is designed to be compatible with both macOS and Windows operating systems.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":510,"uuid":"fa575982-b318-46de-9590-e172cac1ee8d","name":"macrostrat-mcp","title":"macrostrat-mcp","description":"MCP server for accessing geologic data with the Macrostrat API","avatar_url":"https://avatars.githubusercontent.com/u/68243611?v=4","created_at":"2024-12-30T02:52:53.635+00:00","updated_at":"2025-01-05T02:54:49.44+00:00","status":"created","author_name":"blake365","author_avatar_url":"https://avatars.githubusercontent.com/u/68243611?v=4","tags":"geology,claude,macrostratigraphy,modelcontextprotocol","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/blake365/macrostrat-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/2da450d8a20d57c669567175a8e0a4b937bf3feb79932c448337d1e645886814/68747470733a2f2f736d6974686572792e61692f62616467652f40626c616b653336352f6d6163726f73747261742d6d6370","type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 19:33:09\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]