@Cyanheads/Paleobiology Server
БесплатноНе проверенSearch fossil occurrences, resolve taxon fossil ranges, plot diversity through deep time, and look up the geologic time scale via MCP.
Описание
Search fossil occurrences, resolve taxon fossil ranges, plot diversity through deep time, and look up the geologic time scale via MCP.
README
@cyanheads/paleobiology-mcp-server
Search fossil occurrences, resolve taxon fossil ranges, plot diversity through deep time, and look up the geologic time scale via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://paleobiology.caseyjhand.com/mcp
Overview
Fossil biodiversity over the Paleobiology Database (PBDB), spanning roughly 540 million years. Resolve taxon fossil ranges, search fossil occurrences and collections by taxon, geologic time, and location, and plot diversity through deep time.
Tools
| Tool | Description |
|---|---|
paleobiology_search_occurrences |
Search fossil occurrences by taxon, geologic time, geography, and depositional environment. Every row carries both modern and paleo coordinates; with DataCanvas on, broad results spill to a canvas for SQL. |
paleobiology_get_taxon |
Resolve a taxon by name or taxon_no to matched and accepted identities, status, classification, and FAD/LAD range. |
paleobiology_get_diversity |
Compute a diversity / origination / extinction curve for a clade across geologic time. |
paleobiology_list_intervals |
Look up the geologic time scale — named intervals ↔ absolute Ma boundaries. |
paleobiology_search_collections |
Find fossil collections (localities) by area, geologic time, formation, and lithology. |
paleobiology_get_references |
Resolve the reference_no on occurrence and collection rows to full citations — authors, year, title, publication, pages, DOI. |
paleobiology_dataframe_query |
Run a read-only SQL SELECT over occurrence sets staged on a DataCanvas. Listed only when DataCanvas is on. |
paleobiology_dataframe_describe |
List the tables and columns staged on a DataCanvas. Listed only when DataCanvas is on. |
paleobiology_dataframe_drop |
Drop a single staged table to free memory before its TTL expires. Opt-in; also needs DataCanvas. |
Resources
| Resource | Description |
|---|---|
paleobiology://occurrence/{occurrence_no} |
One fossil occurrence with full detail — modern + paleo coordinates, classification, strata, locality. |
paleobiology://taxon/{taxon_no} |
One taxon record with its fossil range and classification. |
paleobiology://reference/{reference_no} |
One bibliographic reference — the formatted citation plus its structured fields. |
All resource data is also reachable via tools — the resources mirror a single-record read of paleobiology_search_occurrences / paleobiology_get_taxon / paleobiology_get_references for clients that surface resources. Tool-only clients lose nothing.
Capability reference
paleobiology_search_occurrences tool
- Requires at least one taxon, time, geographic, formation, environment, or
collection_nofilter. Usebase_nameorbase_idfor a clade,taxon_namefor an exact match; page withlimit(default 100) andoffset. Requests above the inline cap return a cap notice. Every served row appears on both response surfaces - Returns modern and paleo coordinates, named intervals and Ma ages, strata, and higher classification, with
totalCountfor PBDB's true match count. Errors:missing_filter,conflicting_taxon_filter,incomplete_bbox,inverted_ma_range, andpbdb_invalid_parameter(with PBDB's reason) for a value PBDB cannot use - With DataCanvas on, a first page with further matches fetches and stages up to 50,000 matching occurrences from offset zero. The requested page stays inline; the notice reports staged versus total coverage. Later pages and complete pages stage nothing. Use
canvas_id+table_namewithpaleobiology_dataframe_describe, then SQL. Reusing a canvas atomically replaces its occurrence table. At the canvas cap, reuse an existing canvas or narrow the matching set - Optional staging shares a 55-second deadline with the page request. A transient staging-fetch failure returns the valid inline page with an unavailable notice; caller cancellation propagates
paleobiology_get_taxon tool
- Resolve by
nameortaxon_noto the matched record's name, rank, classification, parent, occurrence count, and FAD/LAD range in Ma. Accepted identity (accepted_no,accepted_name,accepted_rank) and PBDB's taxonomic status are separate; useaccepted_noasbase_idfor an accepted-clade search extantis present only when PBDB records a status. The text response labels a missing status as unknown.show_childrenadds up to 200 immediate child taxa per call;children_truncatedandchildren_offsetsay whether and where to continue- Typed errors:
taxon_not_found,missing_selector,conflicting_selectorwhen bothnameandtaxon_noare sent
paleobiology_get_diversity tool
- Requires a clade (
base_nameorbase_id), optionally bounded by time,country,state,county,formation,environment, or a geographic bounding box. Choosecount(genera,species,families) andresolution(period,epoch,age); defaults are genera by period - Returns bins oldest-first and reports PBDB’s available counts of occurrences scanned, binned, or skipped.
timerulecontrols age assignment (majorby default,contain, oroverlap). Underoverlap, one occurrence can contribute to several bins - Originations and extinctions are first/last appearances in the selected data, not established biological events. Notices identify possible truncation at the oldest and youngest bins.
recent: trueextends known extant ranges to the present; the default isfalse - Typed errors:
missing_filter,conflicting_taxon_filter,incomplete_bbox,inverted_ma_range,pbdb_invalid_parameterfor a value PBDB cannot use (an unknown interval)
paleobiology_list_intervals tool
- Filter by
name, amin_ma/max_maoverlap window, orlevel(eon,era,period,epoch,age); omit filters to browse the bundled PBDB international scale (scale_id=1). Nonzero and single-bound windows require positive-duration overlap; an explicit equal-bound point includes both intervals meeting there - Returns interval rank, Ma boundaries,
parent_no, and an upstreamscalewhere available.source(bundled_ics/pbdb_upstream) andsnapshot_versionidentify the source; names outside the snapshot use PBDB - Typed errors:
interval_not_foundfor an unmatched name; retryableinterval_lookup_unavailablewhen PBDB cannot resolve a name outside the snapshot;inverted_ma_rangewhenmax_mais belowmin_ma
paleobiology_search_collections tool
- Search by taxon, time, place, formation, lithology, environment, or
collection_no(an array of 1–1,000 IDs). Page withlimit(default 100) andoffset. A notice discloses any cap applied - Returns modern coordinates and, when recorded, paleo coordinates and their reconstruction model, plus age, strata, lithology, environment, and
n_occs, with totals. Passcollection_notopaleobiology_search_occurrencesfor the fauna at that locality - Typed errors:
missing_filter,conflicting_taxon_filter,incomplete_bbox,inverted_ma_range,pbdb_invalid_parameterfor a value PBDB cannot use (an unknown interval, or an unknown lithology sent as the only filter)
paleobiology_get_references tool
- Pass a nonempty list of positive integer
reference_nosfrom occurrence or collection rows; the first 500 distinct IDs resolve in one PBDB request, and the rest come back inremaining_reference_nosfor the next call - Returns references in request order:
citation,title, andpublicationconverted from PBDB HTML to plain text with one entity decode, plusyear,authors,editors,volume,issue, pages,publisher,language, anddoiwhere recorded - Ids PBDB has no reference for land in
not_foundwith a notice — a miss is a result, not an error
paleobiology_dataframe_query tool
- Runs read-only SQL against occurrence sets staged by
paleobiology_search_occurrences. Use the returnedtable_nameinSELECT,SHOW, orDESCRIBE. Userange()orgenerate_series()with constant arguments to build bins or fill gaps. - The
classificationcolumn is JSON — roll up by rank withjson_extract_string(classification, '$.family')(also$.phylum,$.class,$.order,$.genus) - Returns every row supplied by the canvas query.
truncated: truemeansrow_countstopped at the framework's row cap; use a stableORDER BYwith SQLLIMIT/OFFSETto continue - Listed only when DataCanvas is on (
CANVAS_PROVIDER_TYPE=duckdb)
paleobiology_dataframe_describe tool
- Lists staged tables with row counts, column names, normalized types, exact DuckDB types (
engine_type), and nullability. Call beforepaleobiology_dataframe_queryto discover identifiers. - Listed only when DataCanvas is on (
CANVAS_PROVIDER_TYPE=duckdb)
paleobiology_dataframe_drop tool
- Drops one staged table by
canvas_id+table_nameto free memory before its TTL expires; dropping a nonexistent table returnsdropped: false, not an error - Opt-in — needs DataCanvas on and
PALEOBIOLOGY_DATAFRAME_DROP_ENABLED=true - Typed error:
canvas_not_foundwhen the canvas has expired or never existed
paleobiology://occurrence/{occurrence_no} resource
- Path param
occurrence_nois a bare positive integer (regex-validated), frompaleobiology_search_occurrencesoutput - Returns the same full occurrence detail as the tool — accepted/identified names, age, modern + paleo coordinates, formation/strata, locality — plus a CC BY 4.0
attributionfield - Typed error:
occurrence_not_found
paleobiology://taxon/{taxon_no} resource
- Path param
taxon_nois a bare positive integer (regex-validated), frompaleobiology_get_taxonor an occurrence'saccepted_no - Mirrors
paleobiology_get_taxon's shape exactly — matched and accepted identities, status, classification, parent, FAD/LAD range — plus a CC BY 4.0attributionfield - Typed error:
taxon_not_found
paleobiology://reference/{reference_no} resource
- Path param
reference_nois a bare positive integer (regex-validated), from an occurrence or collection row - Returns the same record as one
paleobiology_get_referencesentry plus a CC BY 4.0attributionfield - Typed error:
reference_not_found
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
PBDB-specific:
- Type-safe client for the Paleobiology Database (PBDB) REST API. Most endpoints use readable
vocab=pbdb; taxon endpoints use compact records to preserve matched rank separately from accepted rank - PBDB international time-scale snapshot (
scale_id=1, captured 2026-11-21) —paleobiology_list_intervalsresolves the international scale's named intervals ↔ absolute Ma boundaries with no network call, falling back to a PBDB lookup for sub-stage and regional names - DataCanvas spill for broad occurrence queries (on by default;
CANVAS_PROVIDER_TYPE=noneturns it off): an inline preview plus a staged table queryable with read-only SQL (count by interval, group by formation/country, roll up by family from theclassificationJSON column) - No auth, no API key — PBDB is fully open (
MCP_AUTH_MODEdefaults tonone) - Diversity counts reflect sampling and collection effort, not true past diversity
Agent-friendly output:
- Two coordinate systems on every occurrence — modern lng/lat and paleo lng/lat, distinctly labeled, so an agent never plots a deep-time fossil on a modern coastline
- Both temporal representations on every age — the named interval and its Ma boundaries
- Provenance on every row:
reference_noforpaleobiology_get_references, plus CC BY attribution on tools and resources - Sparse upstream fields (paleo-coords, formation,
late_interval) are omitted rather than zeroed
Occurrence, collection, and diversity searches accept country as comma-separated two-letter country codes or PBDB continent codes, with leading ! exclusion and ^ subtraction. Use state with country, and county with both, to distinguish places with the same name. PBDB locality records can lack either field. Formation filters preserve PBDB's stored-name, list, and wildcard matching; do not automatically remove words such as “Formation” or “Member”.
The bundled paleobiology-guide covers identifier chaining, coverage checks, sampled turnover, and citation workflows. It ships with plugins, npm, Docker, and MCPB, and is served through MCP skill resources.
Getting started
Connect to the hosted instance:
claude mcp add --transport http paleobiology-mcp-server https://paleobiology.caseyjhand.com/mcp
Or run it locally:
claude mcp add paleobiology-mcp-server -- npx -y @cyanheads/paleobiology-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": {
"paleobiology-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/paleobiology-mcp-server"]
}
}
}
PBDB is keyless. For Docker or a source build, see Running the server.
SQL over large occurrence sets is on by default (the @duckdb/node-api peer dep ships in dependencies). With CANVAS_PROVIDER_TYPE=none, paleobiology_search_occurrences still returns its complete requested page, and the paleobiology_dataframe_* tools are left off tools/list (the HTTP landing page shows them as disabled, with the setting that enables them).
Configuration
All variables are optional — the server runs with no configuration against the public PBDB API.
| Variable | Description | Default |
|---|---|---|
PBDB_BASE_URL |
Paleobiology Database API base. Override for a mirror/proxy or pinned API version. | https://paleobiodb.org/data1.2 |
PBDB_TIMEOUT_MS |
Per-request timeout in milliseconds. Diversity queries over large clades can be slow. | 30000 |
PBDB_MAX_OCCURRENCES |
Rows served per inline occurrence or collection page, up to 10,000. Whole-set staging has a separate 50,000-row bound. | 1000 |
PBDB_CLAMP_LIMITS |
Serve a capped page when a request exceeds 10,000. Set to false to reject those requests during validation. |
true |
CANVAS_PROVIDER_TYPE |
DataCanvas spill path and the paleobiology_dataframe_* tools. none disables both. |
duckdb |
PALEOBIOLOGY_DATAFRAME_DROP_ENABLED |
Enable paleobiology_dataframe_drop (DataCanvas must also be on). |
false |
MCP_TRANSPORT_TYPE |
Transport: stdio or http. |
stdio |
MCP_HTTP_PORT |
Port for HTTP server. | 3010 |
MCP_SESSION_MODE |
HTTP session mode: stateless, stateful, or auto. |
stateless |
MCP_AUTH_MODE |
Auth mode: none, jwt, or oauth. |
none |
MCP_LOG_LEVEL |
Log level (RFC 5424). | info |
OTEL_ENABLED |
Enable OpenTelemetry instrumentation (spans, metrics, completion logs). | false |
OTEL_EXPORTER_OTLP_ENDPOINT |
Base OTLP URL for traces and metrics. Logs require their own endpoint. | unset |
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT |
Enable OTLP log export to this exact URL. | unset |
LOG_TOOL_FAILURE_PAYLOADS |
Log failed tool arguments and results, with key-name redaction; secrets in free-form values remain. | false |
LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES |
UTF-8 byte cap per logged payload. | 16384 |
See .env.example for the full list of optional overrides.
Running the server
Local development
Requires Bun v1.4.4 or higher (or Node.js v24+). No API key is required.
git clone https://github.com/cyanheads/paleobiology-mcp-server.git
cd paleobiology-mcp-server
bun install
cp .env.example .env # optional overrides
Build and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:httpRun checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker run --rm -p 3010:3010 ghcr.io/cyanheads/paleobiology-mcp-server:latest
The image defaults to HTTP transport, stateless session mode, and logs to /var/log/paleobiology-mcp-server. For stdio in an MCP client, use "command": "docker" and "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/paleobiology-mcp-server:latest"]. Build locally with docker build -t paleobiology-mcp-server .; OpenTelemetry peers are installed unless built with --build-arg OTEL_ENABLED=false.
Project structure
| Directory | Purpose |
|---|---|
src/index.ts |
createApp() entry point — registers tools/resources and inits services. |
src/config |
Server-specific environment variable parsing and validation with Zod. |
src/mcp-server/tools |
Tool definitions (*.tool.ts). |
src/mcp-server/resources |
Resource definitions (*.resource.ts). |
src/services/pbdb |
Paleobiology Database HTTP client, normalization, and domain types. |
src/services/intervals |
In-memory index over the bundled PBDB international geologic time-scale snapshot. |
tests/ |
Unit and integration tests mirroring src/. |
Development guide
See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storage - Register new tools and resources via the barrels in
src/mcp-server/*/definitions/index.ts - Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields (a missing paleo-coordinate is "unknown", not
0,0)
Data attribution
Data is from the Paleobiology Database, licensed CC BY 4.0 — credit it in downstream use.
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
License
Apache-2.0 — see LICENSE for details.
Установка @Cyanheads/Paleobiology Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cyanheads/paleobiology-mcp-serverFAQ
@Cyanheads/Paleobiology Server MCP бесплатный?
Да, @Cyanheads/Paleobiology Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для @Cyanheads/Paleobiology Server?
Нет, @Cyanheads/Paleobiology Server работает без API-ключей и переменных окружения.
@Cyanheads/Paleobiology Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить @Cyanheads/Paleobiology Server в Claude Desktop, Claude Code или Cursor?
Открой @Cyanheads/Paleobiology Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
автор: GitHub ActionsAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIdemo
demo — MCP server via Smithery
автор: yoojoohans-jpgServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoCompare @Cyanheads/Paleobiology Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
