Keryx

v0.4.50
io.github.tang-vu/keryx Checked 12 hours ago Published 1 day ago

Budgeted research with cited evidence and visible payment state on the selected Arc network.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ask_keryx_sponsored Ask Keryx — sponsored public research

Run hosted sponsored research without a buyer wallet, funding or API key. Requires publicReport: true: your question and trial report become public. Server quota, pause and spending limits apply; source budget is 0–0.08 USDC, separate from model/search costs. This creates a new research run and may contact external sources. No automatic retry or paid fallback. Timeouts/disconnects may leave server work running; do not resend automatically. For a separately authorized purchase from your own funded wallet, use the paid buyer tool ask_keryx.

ParameterTypeDescription
publicReport *booleanRequired explicit consent: the question and resulting trial report are public.
question *stringPublic research question, 1–2000 characters after trimming. Never include private information.
budgetnumberSource budget in USDC, 0–0.08 inclusive. Zero is valid. Separate from model/search operating costs; service limits still apply.
modestringHosted research mode: quick or deep (service default when omitted).

research_feedback_read Read feedback for your original answer

Original-caller private opinion on the exact delivered ordinary research answer. Requires its private bearer capability; a public report ID or link grants no authority. First choice is retained, exact retries are idempotent. Silence is no response. No research, source fetching, revision execution, refunds, signing or payments.

ParameterTypeDescription
token *stringPrivate capability received with your original completed answer. Keep it out of reports, prompts to Keryx research, public links and exports.

research_feedback_submit Record usefulness of your original answer

Original-caller private opinion on the exact delivered ordinary research answer. Requires its private bearer capability; a public report ID or link grants no authority. First choice is retained, exact retries are idempotent. Silence is no response. No research, source fetching, revision execution, refunds, signing or payments.

ParameterTypeDescription
choice *stringYour opinion of this exact delivered answer: useful, revise or reject.
token *stringPrivate capability received with your original completed answer. Keep it out of reports, prompts to Keryx research, public links and exports.
reasonstringOptional private explanation of your choice, up to 1000 characters; defaults to empty.

operator_obligations_read Read delegated Operator obligations

Read a private conservative obligation projection for the exact server-delegated reader with explicit operator:read API-key scope. Disabled without protected reader/role configuration. Partial native history remains unknown with zero safe/advisory surplus. No cash probe, signer, custody, spending, release, refund or scheduler authority. No caller owner/role selectors.

evidence_draft Assemble a private retained-evidence draft

Assemble user-selected claim spans and related-work quote themes from saved Include paper records and caller-supplied retained Keryx report rows. A theme may carry author-written statements (contribution, agreement, disagreement, gap); a statement naming a paper is exported only with a citation and a selected retained excerpt from each named paper, otherwise it is withheld. Exported citations and BibTeX/RIS entries are checked to correspond one to one. Exact version/excerpt matching does not authenticate imported reports or verify semantic support. No fetching, model, database, history, paymen…

ParameterTypeDescription
draftVersion-1 private-evidence-draft contract, at most 65536 UTF-8 bytes. Optional assembly {mode:append} or {mode:regenerate,themeId} quotes retained text without model calls; optional readingStatuses se…

draft_check Check a draft's cited claims against supplied source text

Split a private passage into sentences, bind citation markers ([3], cite{key}, [@key], Author (Year)) to a BibTeX, RIS or DOI/link reference list, and compare each cited sentence with source text you supply. Each verdict (supported, partly-supported, not-found, source-unavailable) carries a verbatim excerpt of that text or states that no supporting passage was found; a source without supplied text is always source-unavailable. Deterministic wording comparison, not semantic review. No fetching, model, database, history, payment or reward I/O. Inputs and results can be retained by your MCP clien…

ParameterTypeDescription
checkVersion-1 private-draft-check contract, method lexical-overlap-v2, at most 65536 UTF-8 bytes. Optional sources[].identity binds exact DOI/URL and contentVersion; suggestions[] stays separate from writ…

compare_saved_research Compare two saved research receipts locally

Checks both recorded payload SHA-256 digests, then compares retained excerpt rows with exact source/item/URL/version identity and reading context. Unique identical target text is matched automatically; matches can explicitly select one-to-one target pairs. Or supply matchingPlan JSON to restore choices bound to these receipts in this order; never combine both options. Returns a reusable matchingPlan without report text alongside the comparison. Duplicate or renamed targets are not guessed. Missing historical ledgers remain unknown. This is a local stdio operation without fetching, database, mo…

ParameterTypeDescription
after *stringLater caller-selected receipt JSON; at most 524288 UTF-8 bytes.
before *stringEarlier caller-selected receipt JSON; at most 524288 UTF-8 bytes.
matchesarrayOmit for unique exact-text matching; [] intentionally leaves every target unmatched.
matchingPlanstringSaved keryx-report-matching-v1 JSON, at most 65536 UTF-8 bytes. Must bind the same ordered receipt payload checksums. Mutually exclusive with matches.

export_saved_literature Export saved literature references locally

Convert a caller-supplied Keryx personal-bibliography v1 JSON backup (at most 1048576 UTF-8 bytes) to BibTeX, RIS, CSL-JSON or an inspectable Markdown bibliography. Markdown retains literal metadata/provenance with explicit unknown fields; it is not a literature synthesis. Optionally supply paperUrls: at most 50 unique exact saved landing URLs, in desired output order; an empty array exports no papers and missing/changed URLs refuse the entire export. An optional screening state further filters that selection. Without paperUrls keeps saved order. Validates the full backup and preserves exact v…

ParameterTypeDescription
backup *stringCaller-supplied personal-bibliography v1 JSON string, at most 1048576 UTF-8 bytes; may contain private notes retained by your MCP client.
format *stringReference output format: bibtex, ris, csl-json or markdown.
paperUrlsarrayUp to 50 unique exact saved paper landing URLs in output order; omit for saved order, or use [] to export none.
screeningstringOptional saved screening-state filter; defaults to all.

inspect_saved_literature Inspect a saved literature backup locally

Validate a caller-supplied Keryx personal-bibliography v1 JSON backup and return aggregate counts for saved records, personal screening, repositories, recorded publication types and missing metadata. Optional baselineBackup adds a redacted comparison: baseline is before, backup is after, regardless of timestamps. Each supplied JSON string is limited to 1048576 UTF-8 bytes and fully validated. Records match only by exact saved URL; separate versions remain separate. Report added/removed records, overlapping retained-record field changes, retained relative order and review-focus changes. Metadat…

ParameterTypeDescription
backup *stringCaller-supplied personal-bibliography v1 JSON string to inspect; the after snapshot when comparing. Maximum 1048576 UTF-8 bytes.
baselineBackupstringOptional before snapshot as the same bounded JSON string; both complete backups may contain private notes retained by your MCP client.

evidence_procurement Plan and inspect private evidence procurement

Assess missing evidence requirements, supplied provider offers, selections, deliveries and caller reviews with the shared private evidence procurement contract. Amounts are exact integer micro-USDC. Signature and content-binding checks do not establish delivery quality, buyer authority, payment or settlement. No fetching, model, provider, database, history, purchase, escrow or reward I/O. Caller selections and reviews are assertions, not financial authorization. Inputs and results may be retained by your MCP client; choose its privacy settings before sharing private material.

ParameterTypeDescription
formatOptional receipt format: json (default), markdown or csv. Formatted text is bounded to 524288 UTF-8 bytes and cannot be restored. Structured procurement stays unchanged.
packetVersion-1 private-evidence-procurement packet, at most 65536 UTF-8 bytes. Supply original inputs, never a derived procurement result.

deliverable_acceptance_read Read your delivered-version acceptance

Owner-only ordinary prepaid A2A deliverable state. Requires explicit deliverable:read. Historical remedy:none and missing response window remain visible. Native/enrolled, Monthly, private v2 and browser-only originals are unavailable. Not source-decision agreement or semantic verification.

ParameterTypeDescription
id *stringRetained prepaid A2A deliverable ID for your matching owner scope.

deliverable_acceptance_submit Record your deliverable choice or request

Record Accept, Request revision or Reject for the original customer's exact retained delivery. Requires explicit deliverable:write, expected current revision/digests and an idempotency key. Reason is private; publishState explicitly shares state/timestamp only. Request storage does not execute a revision/refund, recharge, change reservations or claw back rewards. Your MCP client may retain private messages.

ParameterTypeDescription
id *stringRetained prepaid A2A deliverable ID for your matching owner scope.
submission *objectCurrent delivery references, revision, idempotency key and explicit customer choice.

profile_read Read your private profile

Read the verified key owner's private profile and attributed activity. Requires explicit profile:read scope. No public identity, research or payment.

profile_update Update your private profile

Replace the verified key owner's private display name, handle, one-line bio/purpose and links. Requires explicit profile:write scope. No wallet selector or identity verification; no payment/history changes.

ParameterTypeDescription
profile *objectComplete replacement; empty text clears a field. Links are bounded HTTPS links to the allowed providers or a public website.

history_read Read your attributed dispatch history

Read bounded pages of the verified API-key wallet's ordinary current-store runs. Requires explicit history:read. Literal case-sensitive question search; storeNetwork describes the deployment, not per-run settlement. Recorded spend/allocation is not a payment receipt. No wallet selector, linked accounts, archive, private jobs, research or payment.

ParameterTypeDescription
cursorstringOpaque cursor from your previous page with identical filters; preserve it exactly.
fromstringInclusive creation-time lower bound in canonical UTC with milliseconds, e.g. 2026-01-01T00:00:00.000Z.
fundingstringFilter the recorded funding label; this label does not verify settlement.
limitintegerMaximum rows in this page, 1-50 inclusive; defaults to 25.
searchstringLiteral case-sensitive substring in your recorded questions, up to 200 characters.
surfacestringFilter by recorded originating surface; unknown retains missing provenance.
toInclusive creation-time upper bound in the same canonical UTC format; must not precede from.

history_owned_read Read your owned history

Same owner-private v2 contract as /api/me/asks. Explicit history:read required. Current store, bounded filters/keysets; missing membership/claims stay explicit. Export has explicit truncation/continuation. No research, signer, payment, public-owner selector or mutation authority.

history_export Export your owned history metadata

Same owner-private v2 contract as /api/me/asks. Explicit history:read required. Current store, bounded filters/keysets; missing membership/claims stay explicit. Export has explicit truncation/continuation. No research, signer, payment, public-owner selector or mutation authority.

history_private_jobs_list List your completed private jobs

Private data for this authenticated caller only. Exact-payer completed private jobs in the current store; explicit history:read required. Bounded scan/continuation, unknown provenance and NULL own spend/creator settlement remain explicit. No wallet selector, public report/share link, model prompt, research, source fetch, signer, purchase or mutation authority.

ParameterTypeDescription
cursorstringPrivate opaque cursor from this owner's previous page with identical filters; preserve it exactly.
fromstringInclusive creation-time lower bound in UTC (Z or +00:00), retaining up to six fractional digits.
limitintegerMaximum completed private-job rows per bounded page, 1-25 inclusive; defaults to 25.
networkstringFilter recorded network: eip155:5042 for Arc or eip155:5042002 for Arc testnet; selects no signer.
searchstringLiteral case-sensitive substring in your saved private-job questions, up to 200 characters.
surfacestringFilter recorded job origin; missing provenance remains unknown.
toInclusive creation-time upper bound in the same UTC format; must not precede from.

history_private_jobs_detail Read one of your completed private results

Private data for this authenticated caller only. Exact-payer completed private jobs in the current store; explicit history:read required. Bounded scan/continuation, unknown provenance and NULL own spend/creator settlement remain explicit. No wallet selector, public report/share link, model prompt, research, source fetch, signer, purchase or mutation authority.

ParameterTypeDescription
id *stringExact private research ID: prv_ followed by 64 lowercase hex digits; preserve it and keep it private.

history_private_jobs_export Export your private job metadata

Private data for this authenticated caller only. Exact-payer completed private jobs in the current store; explicit history:read required. Bounded scan/continuation, unknown provenance and NULL own spend/creator settlement remain explicit. No wallet selector, public report/share link, model prompt, research, source fetch, signer, purchase or mutation authority. Manual finite JSON metadata export only; complete/truncated and continuation are returned. Result bodies are excluded.

ParameterTypeDescription
cursorstringPrivate opaque cursor from this owner's previous page with identical filters; preserve it exactly.
fromstringInclusive creation-time lower bound in UTC (Z or +00:00), retaining up to six fractional digits.
limitintegerMaximum completed private-job rows per bounded page, 1-25 inclusive; defaults to 25.
networkstringFilter recorded network: eip155:5042 for Arc or eip155:5042002 for Arc testnet; selects no signer.
searchstringLiteral case-sensitive substring in your saved private-job questions, up to 200 characters.
surfacestringFilter recorded job origin; missing provenance remains unknown.
toInclusive creation-time upper bound in the same UTC format; must not precede from.

run_privacy_read Read your question privacy

Owner-private current-store read using the verified key's explicit history:read scope. No wallet selector or signing. Visibility, defaults and erasure require the interactive web session. Storage admission is required.

ParameterTypeDescription
id *stringExisting current-store run ID owned by the authenticated key's wallet.

run_owner_export Export your question record

Owner-private current-store read using the verified key's explicit history:read scope. No wallet selector or signing. Visibility, defaults and erasure require the interactive web session. Storage admission is required.

ParameterTypeDescription
id *stringExisting current-store run ID owned by the authenticated key's wallet.
requestId *stringCaller-generated UUID identifying this manual export request in its audit record.

profile_identities_read Read your verified profile identities

Read only the verified key owner's saved ORCID/GitHub identities. Requires explicit profile:read scope. No wallet selector, provider OAuth, linking, unlinking, research or payment. Link identities interactively in your private profile browser page.

paper_lookup Look up paper bibliography

Find paper titles, recorded contributors, DOI and exact repository versions without research or payment. Default: retained catalog metadata with observation times. Set searchRepositories=true only to explicitly send the query to arXiv/Crossref (at most two requests, no paper-body reading). Missing DOI, peer review and withdrawal/replacement status remain unknown. Returns a field-scoped bibliography card with provenance, a short reference and reusable BibTeX/RIS text. Use this for exact title/ordered author/year/journal/DOI/version questions before requesting paid research; original paper text…

ParameterTypeDescription
query *stringTitle/topic (up to 120 characters), exact DOI (up to 200), or versioned arXiv ID/official URL.
languagestringLanguage for bibliography labels: en (default), fr or vi. Original titles, author names and venue names are preserved.
searchRepositoriesbooleanExplicit external metadata lookup; false by default. Sends the query to official scholarly providers.

research_monthly Research Monthly pilot

Read the four-request, 30-day Research Monthly quote and handoff. The current quote identifies its payment network. Never buys or redeems a plan.

keryx_operator_status Keryx business Operator status

Observe public prepaid research operations, queue, recorded ordinary/recovered/unknown completion latency cohorts and hold/review rationale. Timing is order createdAt to updatedAt (acceptance to recorded completion/update); later reconciliation can extend it. It is not first-answer or settlement time. Missing capability stays null. No spending or execution authority; exact books and customer jobs stay private.

keryx_public_job_ledger Public job transfer ledger

Inspect a partial selected-network public web-dispatch transfer ledger and balanced exact micro-USDC vouchers. Browser funding and Keryx sponsorship are separate. Pending/ambiguous/batched-attribution legs do not enter settled totals. No customer questions/identities, private invoices, complete business books, margin, cash balance, signing or execution authority. days1–31, default7. Export via /api/operator/ledger; a checksum is not authenticity or independent settlement proof.

ParameterTypeDescription
daysintegerLookback window in days, 1-31 inclusive; defaults to 7 on the selected network.

keryx_purchase_outcomes Recorded dispatch purchase outcomes

Read a public dispatch's retained exact-version BUY/citation/payment observations. Returns bounded sample counts, citation hit rate, calibration bands and integer micro-USDC uncited access cost. Recorded settlement is not revalidated on chain. Historical participant cohort is unknown; causal regret, missed value and cost per supported claim are unmeasured. No research, paid read, current-source backfill, private reviews, signing or learning. Use an existing dispatch ID, never a URL.

ParameterTypeDescription
dispatchId *stringExisting public dispatch ID whose retained purchase outcomes to inspect; supply the ID, not a URL.

keryx_source_learning Recorded source learning sample

Read the same bounded observational source/topic record as the public creator page and API. Only write-time independently classified/funded outside observations qualify; owners, unknown and private history are excluded. Source-declared public topics, counts, recorded citation contribution, exact rational average access price, descriptive uncertainty and abrupt-shift flag. No questions, wallets or receipt identifiers. Recorded settlement is not independently revalidated. Live learned selection and exploration are withheld, with zero live exploration allowance. No research, source read, payment,…

ParameterTypeDescription
sourceId *stringExisting registered source ID whose recorded public learning report to inspect; supply the ID, not a URL.

ask_keryx Ask Keryx

Ask Keryx — an autonomous research agent that buys paid sources under a budget, answers with inline citations, and pays each cited creator in USDC on Arc. Default deep-mode price is 0.05 USDC service fee + 0.05 USDC creator budget; the POST body sets the exact price. Paid from your own funded Arc Testnet wallet (eip155:5042002; run keryx_wallet_status first). Public research may send your question to Keryx's search provider. The source USDC budget is separate from model and search operating costs. New hosted runs are attributed to the verified paying wallet through agent-to-agent ingress; ed…

ParameterTypeDescription
question *stringThe research question to ask Keryx (3–2000 characters after trimming).
budgetnumberOptional prepaid creator-spend cap in USDC (default 0.05); added to the deep-mode service fee.
languagestringLanguage of generated labels only. Does not change the paid body/hash, original question or answer. Defaults to verified completed-answer language when available; unknown stays unknown, and a differin…
modeInteractive review mode is unavailable on stdio.
researchModeUnsupported on paid stdio research; omit this field.
responseModeUnsupported response override; omit this field.
reviewFirstbooleanReview-first requires the authenticated live browser; this adapter refuses true.

keryx_recover Recover paid Keryx research

Read the saved payment attempt and poll its query ID without submitting another payment. Use after a paid error or uncertain network outcome.

keryx_wallet_status Keryx wallet status

Show the configured Arc Testnet wallet (eip155:5042002) the Keryx MCP server pays from: address, balances and readiness. Testnet funds are available through the Circle faucet. Run this before ask_keryx.