Data

Model Context Protocol

Lithodata MCP server

Connect your own agent to curated geological data. The server answers as you: samples, chemistry, ages, and the guides that explain the platform. Your agent keeps the conversation and the model.

Works with

The server speaks remote MCP. Any agent that accepts a remote MCP server can connect. The agent signs in with your Lithodata account and does not keep a password.

Cursor

Project or user MCP settings.

Claude Desktop

Available in every chat once added.

Claude Code

User-wide or for one project.

What you can ask

Ask in ordinary language. The agent chooses the tool. Data questions use the data tools. Questions about how Lithodata works use the documentation tools.

  • Samples and chemistry

    “Which samples in this selection have SiO2 above 70 percent?”

  • Geochronology

    “Summarise the U-Pb ages in this selection.”

  • A stored table

    “How many rows in this dataset are from Western Australia?”

  • How the platform works

    “How do I upload geochemistry from a spreadsheet?”

  • A field on a record

    “What does FINISHED mean for a package?”

What the server enforces

  • Calls run as the signed-in user. Package access is the same as in the browser.
  • Account changes, user administration, deleting or merging a package, minting a DOI or IGSN, and sending email are refused.
  • A large result comes back as a summary and a dataset id. The rows stay on the server.
  • A path that was not looked up first is refused.
  • A write that is not a search waits for your confirmation before it is sent.

Tools

These are the tools an agent sees after it connects. One generic API tool covers the platform. There is not a separate tool for each record type.

lookup_swagger_operation

Look up the exact method, path, parameters, and body schema before calling the API. Paths are not guessable. A method and path that are not in this index are refused.

ParameterTypeRequiredDescription
querystringyesThe operation to find, in plain language or as a method and path to confirm.

lithosurfer_api

Call Lithodata as the signed-in user. Reads and searches run immediately. Any other write returns a confirmation and is sent only after you accept it.

ParameterTypeRequiredDescription
methodstringyesOne of GET, POST, PUT, PATCH, DELETE.
pathstringyesPath returned by lookup_swagger_operation.
queryobjectnoQuery parameters for that operation.
bodyobjectnoJSON body when the operation has one.

GET, and POST requests whose path ends in /post, run immediately. Those POST calls are searches, not writes.

load_selection

Summarise a selection stored on the server. The result is a short summary and a dataset id. The rows stay on the server.

ParameterTypeRequiredDescription
selectionIdstringyesThe selection to summarise.

dataset_query

Profile, count, filter, or aggregate a stored table without downloading the rows. Use this after load_selection, or after a call that returned a dataset id.

ParameterTypeRequiredDescription
datasetIdstringyesId of the stored table.
operationstringyesOne of profile, count, filter, aggregate.
queryobjectnoColumns, filter, or aggregation for that operation.

search_documentation

Find the guide for a task. Returns a handful of pages to read, not the pages themselves. The same public guides are returned to every caller.

ParameterTypeRequiredDescription
taskstringyesThe task in plain language.
sectionstringnoOptional section: using-the-api, consuming-data, contributing-data, or data-models.

get_documentation

Read one documentation page by the id returned from search_documentation.

ParameterTypeRequiredDescription
docIdstringyesPage id from search_documentation, such as a guide path.

Ready to connect? . Other questions? Contact us.