Skip to content

The JapanFold skill

To fold and design from your AI agent instead of writing HTTP calls, install the JapanFold skill: a single SKILL.md built on the open Agent Skills standard. It teaches your agent the API, so you can ask in plain language.

The repo exposes it at two paths. The npx skills installer and anyone downloading the raw file take the root SKILL.md; the Claude Code plugin marketplace and Claude Science's GitHub import load plugins/japanfold/skills/japanfold/SKILL.md, a byte-for-byte copy written by the same script, so the two cannot drift.

Using Claude? Use JapanFold in Claude has the setup for claude.ai, Desktop, mobile, Claude Code, Claude Science and the Claude API in one place.

Install

  1. Set your token in the terminal you start your agent from. Make one at japanfold.aiand.com/account/token, then:

    export JAPANFOLD_API_KEY=jf_live_your_token
    export JAPANFOLD_BASE_URL=https://api.japanfold.aiand.com
    

    Never paste it into a chat. Chats are sent to the model provider.

  2. Start your agent from that terminal and paste this:

    JapanFold is a hosted API that runs structure prediction and binder design on real hardware and returns measured scores; your key is in JAPANFOLD_API_KEY. See it work: curl -sH "Authorization: Bearer $JAPANFOLD_API_KEY" https://api.japanfold.aiand.com/v1/models. Then download https://japanfold.aiand.com/skill.md with curl (a web-fetch tool returns only a summary of it), read it, and save it unchanged as your skill file, for Claude Code ~/.claude/skills/japanfold/SKILL.md.

Install it yourself

One command installs it into any compatible harness (Claude Code, Cursor, Codex, Gemini CLI, Cline, Windsurf, Copilot, Amp and more):

npx skills add japanfold/japanfold          # this project
npx skills add japanfold/japanfold -g       # global: every project / new chat
  • Target specific agents: -a claude-code, -a cursor, -a codex, -a '*' (all).
  • No installer? It is one file. Download it unchanged into your agent's skills directory, for Claude Code:

    curl -fsSL --create-dirs -o ~/.claude/skills/japanfold/SKILL.md https://japanfold.aiand.com/skill.md
    

    A web-fetch tool returns only a summary of the page, so an agent should use curl too.

Claude Code plugin marketplace

Install it as a managed plugin (auto-updates via /plugin marketplace update):

claude plugin marketplace add japanfold/japanfold
claude plugin install japanfold@japanfold

Restart Claude Code, then ask it to fold or design.

Claude Science

Add the MCP server under Settings > Connectors > Add connector > Remote with https://api.japanfold.aiand.com/mcp (a connector you added in claude.ai is already there), then Settings > Skills > Add skill > Import from GitHub and enter japanfold/japanfold. Approve api.japanfold.aiand.com when Claude first reaches it. Details on Use JapanFold in Claude.

Or connect the MCP server

Every MCP client (Claude Code, Claude Desktop, Cursor, Codex) can use JapanFold as tools instead of a skill. The server is https://api.japanfold.aiand.com/mcp, listed in the MCP Registry as io.github.japanfold/japanfold.

In claude.ai, Claude Desktop or ChatGPT, add https://api.japanfold.aiand.com/mcp as a custom connector (one click for Claude) and sign in with your email address when the browser opens; a new address opens an account with $100.00 of credit. No key to paste. The connector then appears under API keys on your account page, and revoking it there disconnects it.

Clients configured on your machine take the same key as the API:

claude mcp add --transport http japanfold https://api.japanfold.aiand.com/mcp \
  --header "Authorization: Bearer $JAPANFOLD_API_KEY"

In a client configured by JSON, give it the URL and the header Authorization: Bearer <your key>. The tools are generated from the API reference, so they take the same fields as the endpoints. get_job with wait holds until the job ends, up to 100 s a call (45 s on a client that cannot take a streamed answer), so a long job needs a call every minute or two, not every few seconds. When get_job reports a job succeeded it also hands back download, one shell command that fetches every result file.

Use

Once installed, ask in plain language:

"Fold this sequence with Boltz-2 and report the confidence: MKTAYIAK…"

"Co-fold this protein with aspirin and estimate the binding affinity."

"Design 10 nanobody binders against this target."

"Embed these sequences with ESMC-600M and save the pooled vectors."

Or invoke it explicitly where supported: /japanfold.

The API is public and self-describing, so you can also skip the skill entirely and tell your agent: "use the JapanFold API at api.japanfold.aiand.com to fold …".