Citation record key

citation-record-key · version 1.0.0 · Text · free, no key needed

Compute transparent deterministic match keys (DOI key and folded year|author|title key) for one CSL citation record.

Use when you need to: compute a deterministic match key for a citation record · case-insensitive DOI key for comparing references · accent and case folded title key for a bibliography entry.

Decide before calling

Read the versioned contract and the supported scope below. Reuse citation-record-key@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use citation-record-key@1.0.0 for compute a deterministic match key for a citation record. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "record": {
    "id": "r1",
    "type": "article-journal",
    "doi": "10.123/abc",
    "title": "Example"
  }
}

Response:

{
  "result": {
    "match_key": "doi:10.123/ABC",
    "key_type": "doi",
    "doi_key": "doi:10.123/ABC",
    "metadata_key": "meta:||example",
    "components": {
      "doi": "10.123/ABC",
      "year": null,
      "first_author": null,
      "title": "example"
    }
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "citation-record-key",
  "version": "1.0.0",
  "input": {
    "record": {
      "id": "r1",
      "type": "article-journal",
      "doi": "10.123/abc",
      "title": "Example"
    }
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/citation-record-key/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"record":{"id":"r1","type":"article-journal","doi":"10.123/abc","title":"Example"}}'

The machine-readable contract is at /v1/tools/citation-record-key/versions/1.0.0.

CLI

node cli.mjs run citation-record-key 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.