Skip to main content
Glama

timestamped-mcp

An MCP server that gives AI agents independent, verifiable receipts for what they saw, did and agreed to.

When an agent reads a page, accepts a quote or produces a document, the record usually ends up in logs that the operator controls and can edit. This server lets the agent anchor that record with Timestamped.io as a public blockchain transaction. The operator can't quietly edit or backdate a transaction after the fact, and anyone can check it on the public chain.

Tools

Tool

Use it to

Needs API key

stamp_hash

Timestamp a SHA-256 or a local file. The file is hashed locally and never uploaded. Private by default.

yes

stamp_url

Record what a web page shows right now (full-page screenshot plus text, hashed and anchored). Call it before accepting terms, prices or offers.

yes

check_url_changed

Re-fetch a stamped page and report whether it still matches.

no

verify_stamp

Check that data was timestamped in a given transaction. Private stamps also need the proof_blob.

no

get_proof

Fetch the raw transaction and Merkle proof of a hash stamp (by txid or record_id), or a URL stamp's proof package (by url_record_id). Also resumes a stamp that came back pending.

no (except private URL records)

Waiting for results. Stamping and page checks wait for the result inside the call, for up to 45 seconds in total, request time included. That keeps them under the 60-second request timeout most MCP clients use. If the result isn't ready by then, the tool returns status: "pending" together with the exact tool call that resumes it.

Privacy, in plain terms

  • stamp_hash with visibility: "private" (the default) puts nothing identifying on-chain. It returns a proof_blob.

    • The proof_blob is the only way to prove the stamp later, so store it with the data.

  • stamp_hash with visibility: "public" puts the hash, and any public_metadata, on-chain where anyone can read it.

  • stamp_url writes the URL itself on-chain in plain text in every privacy mode.

    • Don't stamp URLs that contain tokens, session ids or personal data.

    • The privacy option only controls who can see the screenshot and record on timestamped.io.

  • stamp_url fetches the page from Timestamped's server, not from your machine. Pages behind your login show their logged-out version.

  • check_url_changed compares bytes exactly. Pages with ads, clocks or other dynamic content usually report "changed".

Verification today

verify_stamp asks the Timestamped API. How far the check goes depends on the stamp:

  • Private stamps: the server checks the proof_blob against the transaction on-chain.

  • Public stamps: it compares your hash with its own record of that transaction.

To check without trusting our server, use get_proof. It returns the raw transaction and Merkle proof, which you can check yourself against any BSV block-header source. An open-source offline verifier is at https://timestamped.io/verifier/timestamped_verify.py (format: https://timestamped.io/verifier/proof-format.md).

Related MCP server: otskit-mcp

Setup

  1. Create an API key at https://timestamped.io/settings/api-keys. You only need it for stamping; verifying works without one.

  2. Add the server to your client using one of the configs below.

Claude Code

claude mcp add timestamped --env TIMESTAMPED_API_KEY=ts_... -- npx -y timestamped-mcp

Claude Desktop

Add this to claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/

  • Windows: %APPDATA%\Claude\

{
  "mcpServers": {
    "timestamped": {
      "command": "npx",
      "args": ["-y", "timestamped-mcp"],
      "env": { "TIMESTAMPED_API_KEY": "ts_..." }
    }
  }
}

Cursor

Use ~/.cursor/mcp.json for all projects, or .cursor/mcp.json in a single project:

{
  "mcpServers": {
    "timestamped": {
      "command": "npx",
      "args": ["-y", "timestamped-mcp"],
      "env": { "TIMESTAMPED_API_KEY": "ts_..." }
    }
  }
}

Environment

Variable

Default

TIMESTAMPED_API_KEY

(unset)

Required for stamp_hash and stamp_url

TIMESTAMPED_API_URL

https://timestamped.io/api/v1

Point it at another deployment

Each stamp is a real transaction and counts against your plan's daily quota.

Development

npm install
npm test          # mocked API; never touches the network or spends coins
npm run build
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list
  • src/server.ts builds a transport-agnostic McpServer.

  • src/index.ts only wires it to stdio, so a remote (HTTP) transport can reuse the same tools unchanged.

License

MIT

Hosted (HTTP) mode

timestamped-mcp-http serves the same tools over Streamable HTTP at POST /mcp, for agents that cannot run a local process. It is stateless: each request carries the caller's own Timestamped API key (Authorization: Bearer ts_...) and is served with that key only.

PORT=8787 MCP_ALLOWED_HOSTS=mcp.example.com timestamped-mcp-http   # behind a TLS proxy; binds 127.0.0.1
  • file_path is refused in this mode (the server must never read its own disk for a caller); send sha256.

  • MCP_ALLOWED_ORIGINS lists browser origins allowed to call it; requests without an Origin header pass.

  • OAuth is not implemented yet: clients that only speak OAuth cannot connect to this mode.

  • Not tested against real MCP clients; only against the SDK's own HTTP client.

Available Tools

5 tools
check_url_changedCheck whether a timestamped page has changedA

Re-fetch the page behind an earlier URL timestamp (by its txid) and report whether it still matches what was recorded. Use it when a counterparty disputes what a page said, or before relying on a page you stamped earlier. The comparison is exact (text and screenshot bytes), so pages with ads, clocks or other dynamic content usually report content_changed=true even if the terms did not change; use get_proof for the original screenshot and compare yourself when that matters. Takes about 10-40 seconds; it starts a server job (rate-limited per IP) but does not spend transaction quota.

Inputs: txid, job_id, wait_seconds.

get_proofGet the proof for a timestampA
Read-only

Fetch the evidence behind a timestamp so it can be stored or handed to a third party. txid: the raw BSV transaction and its Merkle proof (available once mined) for a hash stamp; for URL stamps use url_record_id. record_id: status of a hash stamp from stamp_hash (use when stamp_hash returned 'pending'), plus its proof once broadcast. url_record_id: the proof package of a URL stamp (hashes, transaction, block data, verification steps) and a link to the original screenshot. Does not need an API key except for private records.

Inputs: txid, record_id, url_record_id.

stamp_hashTimestamp a hash or local fileA

Create an independent, tamper-evident timestamp (a BSV blockchain transaction) proving that a piece of data existed at this moment. Use it to keep a receipt of what you produced, received, or agreed to: a generated report, a downloaded document, a contract or quote you are about to accept, a log of your actions. Pass either a SHA-256 hex digest or a local file path; files are hashed locally and never uploaded. Default visibility 'private' puts nothing identifying on-chain and returns a proof_blob that is the ONLY way to prove the stamp later: store it with the data. 'public' puts the hash (and optional public_metadata) on-chain so anyone can look it up by hash. Costs one transaction from the account's daily quota.

Inputs: note, sha256, file_path, visibility, +2 more.

stamp_urlTimestamp what a web page shows right nowA

Have the Timestamped server load a URL in a headless browser, take a full-page screenshot, hash the visible text and the screenshot, and anchor the combined hash on BSV. Call before accepting terms, a quote, a price or an offer, or before acting on what a page says, to record exactly what was shown. The page is fetched by Timestamped's server, not by you, so pages behind your login show the logged-out view. WARNING: the URL itself is written to the blockchain in plain text in every privacy mode; do not stamp URLs that contain tokens, session ids or personal data. 'privacy' only controls who can view the screenshot and record on timestamped.io. Takes about 10-40 seconds. Costs one transaction from the daily quota.

Inputs: url (required), privacy, wait_seconds.

verify_stampVerify a hash timestampA
Read-only

Check that data (a SHA-256 or a local file) was timestamped in a given BSV transaction. Use it before trusting a receipt someone hands you, or to confirm your own stamp. Private stamps also need the proof_blob returned at creation. This asks the Timestamped API and does not need an API key. For private stamps the server checks the proof_blob against the transaction on-chain; for public stamps it compares the hash with its own record of that transaction (for a check that does not trust the server, use get_proof and verify the transaction yourself). Returns verified=false with a reason (unknown txid, hash mismatch, bad proof) rather than an error.

Inputs: txid (required), sha256, file_path, proof_blob.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation4/5

    stamp_hash vs stamp_url are clearly separated by input type and workflow, and check_url_changed is a distinct re-verification operation. verify_stamp and get_proof both deal with proof evidence and could be momentarily confused, though their descriptions distinguish an API-based check from fetching the raw evidence package.

    Naming Consistency5/5

    All tools use snake_case with a verb-first pattern: stamp_hash, stamp_url, check_url_changed, verify_stamp, get_proof. The naming is predictable and readable, with only a minor variation in check_url_changed's longer object name.

    Tool Count5/5

    Five tools is well-scoped for a timestamping service: two creation paths, one change-detection check, one verification check, and one proof retrieval. Each tool earns its place without obvious redundancy.

    Completeness4/5

    The core lifecycle is covered: create hash and URL timestamps, verify stamps, retrieve proofs, and re-check URL content. Minor gaps exist around listing or managing prior stamps and account/quota visibility, but nothing blocks the main workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.
      4
      100 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Stamp, upgrade, and verify Bitcoin timestamps via AI agents using the OpenTimestamps protocol. No API keys required.
      9
      217 npm
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Cryptographically anchored, tamper-evident evidence receipts for AI agents — verified run receipts, existence-at-time proofs, and cited answers from an anchored public record. Remote MCP with proof-gated settlement; attests existence and integrity, never truth.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Append-only evidence receipts for AI records: seal, verify, cite, chain-check, anchor status. A seal proves a record existed at a time, not that its contents are true. Five tools over stdio with npx -y apex-psi-mcp — no account, no key, verification free forever.
      5
      572 npm
      1
      MIT