Know what your team is working on without opening Linear. Ask Claude, ChatGPT, Codex or any AI agent, and it answers from a copy of your issues, projects and documents on your computer, even offline.
Docs · Install · Usage · Discord
- Ask instead of clicking. "What is still open in ENG?" gets an answer in a second, in Claude Code, Codex, Claude Desktop or any app that speaks MCP.
- Your workspace, offline. Issues, projects, comments and Linear documents are read from your computer, with no request to Linear.
- Writes you allow. The agent creates, moves and comments on issues as far as the profile lets it, and giving an issue to someone else needs a permission of its own.
- The answer, not the search. Ask about an issue in your own words. The agent finds it by its words, and by
meaning after
sync --embed, with its state, assignee and comments. Withwcat, it also finds it beside your notes and other documents. - Your open issues as your tasks. Open issues assigned to you become tasks in WireCat, and close when the issue is done or goes to someone else.
- Issues from the chat. Create an issue, move it to Done, change its assignee or priority, or add a comment.
- Documents beside the issues. Linear documents are copied too, and
wcatfinds them with your notes and other documents. - The whole Linear API too. Every operation of Linear's API is a command with its own help, for what has no command of its own yet.
You: What is still open on the invoice export?
Agent: (runs lnr work issues search invoice export, then issues show ENG-12)
· ENG-12 "Invoice export drops the currency", In Progress, Anna Example
· ENG-15 "Export invoices as CSV", Todo, no assignee
You: Move ENG-12 to Done and tell Anna it shipped.
Agent: (runs lnr work issues update ENG-12 --status Done, then issues comments create ENG-12 --text "Shipped")
ENG-12 is Done, with your comment.
Invented issues, illustrative output.
- A copy of your workspace on your computer.
synccopies teams, users, states, labels, projects, sprints (Linear's cycles), issues and comments into a local store, and the next sync takes only what changed. Lists and search then answer with no request to Linear, also offline. - A permission on every action. Each command and each Linear API operation has its own level: allow, ask, read only or deny. A delete needs a key of its own.
- The key stays in your system keyring. It never appears in output, errors or run records, and is never taken as an argument.
- Your issues beside your other context. They sit in the same local store as your messages, mail, notes and meetings from the other WireCat tools, so one search covers all of them.
- Free and open source. Apache 2.0.
In WireCat Desktop, add Linear from the tool list and paste a personal API key when it asks. Or in a terminal:
npm install -g @wirecat/linear-cli
lnr skill install # the agent skill, for Claude Code, Codex, Gemini CLI and OpenClaw
lnr work session start # paste your Linear personal API key
lnr work sync # copy your teams, projects, issues and comments
lnr work issues list type:startedThe command was linear before 0.10.0. Run lnr instead. If an agent still has a linear MCP server, run
lnr work mcp add claude-code (or codex) and remove the old one.
work is a profile, a name you choose for one Linear workspace. It is the first word of every command that uses an
account, and none is ever assumed.
The API key. In Linear, open Settings → Account → Security & access and make a personal API key. Read access is
enough to sync. Give it Write if your agent should change issues. session start asks for it without showing it and
keeps it in the system keyring.
You need Node.js 22.16 or a later 22.x, or Node.js 24 or later. lnr doctor needs no network and shows what is set
up.
More: installation and sign-in, step by step
Ask in plain words. The agent picks the commands.
"Use lnr. What did the team finish this week?" "Use lnr. Make an issue in ENG for the broken CSV export and give it to me."
- Claude Code, Codex, Gemini CLI and other agents with a terminal run
lnrthemselves.lnr skill installteaches them how. - Claude Desktop, Cursor and other MCP apps connect to the Linear MCP server,
lnr work mcp serve. - ChatGPT or Claude in the browser reach it through your own tunnel, after a login with a one-time code.
lnr work config set permissions.api readonly # no writes through the API on this profile
lnr work mcp add claude-code --allow-writes # or: codex
lnr work mcp config # the entry for Claude Desktop, Cursor and othersOver MCP nobody is at a terminal to answer a question, so a write set to ask goes ahead. Each one is kept as a run in
lnr work runs list. The first line above keeps the API's writes away from the agent.
More: MCP · permissions
lnr work issues list assignee:none
lnr work issues show ENG-12 # one issue with its state, assignee and comments
lnr work issues search invoice currency # every word, in any order; quoted words are one phrase
lnr work issues create --title "Export invoices as CSV" --team ENG
lnr work issues update ENG-12 --status Done
lnr work issues comments create ENG-12 --text "Shipped in 2.4"lnr work projects list
lnr work teams list
lnr work sprints list # each team's cycles: number, start and end
lnr work issues list sprint:<sprint id> # or sprint:noneAn issue you move to Linear's trash leaves the copy at the daily check for deleted issues, which the sync answer
names under deletions: Linear does not mark a trashed issue as changed, so a plain sync between those checks still
shows it. Its comments leave with it. An issue you restore from the trash comes back at the next daily check. Issues in
a Duplicate state stay, and issues list type:duplicate lists them.
lnr work folders add linear:all # or one project's id
lnr work sync
lnr work documents list
lnr work search "release checklist" # by words, and by meaning once indexed
lnr work changes --since 7d # documents the syncs added, changed or removedA document you move to Linear's trash leaves the copy on the next sync, read from the workspace's audit log. A key
without audit-log access gets the warning source.deletions-unchecked on each sync, and trashed documents then leave
only with sync --rescan. A document you restore from the trash comes back within a week, when sync walks the
chosen folders in full, or at once with sync --rescan, because Linear does not mark a restore as a change.
lnr work api list # every operation, without calling LinearMore: every command
- A personal API key. You make it in Linear. It is kept in the system keyring, or in a private file on a computer without one.
- A local copy.
synccopies the workspace into the WireCat local store, and later syncs read only what changed. - Writes go to Linear first.
issues create,updateandcommentchange Linear, then store Linear's copy.--dry-runshows what a write would send, and sends nothing. - Made for scripts.
--jsonprints one JSON value for every command, and an error comes as JSON with a code to branch on.
Each profile has a level for every command and every Linear API operation: allow, ask, readonly or deny.
Giving an issue to someone other than you is refused unless the profile allows issues.assign-others.
lnr work config set permissions.api readonly # the Linear API reads, never writes
lnr work config show # each setting and where it came fromMore: permissions · settings
The key can do what your Linear user can, so lnr keeps it in the system keyring and never prints it, in output,
errors or run records. Text from Linear is marked as untrusted, so an agent reads an issue as data, not as an
instruction.
More: security · Report a vulnerability: SECURITY.md
lnr doctor # what is set up, without connecting
lnr work session status --check # asks Linear whose key it isMore: troubleshooting · Ask on Discord · Bugs go to this repository's issues.
Everything is in docs/: installation, usage, MCP, permissions, settings, security and the command reference.
You need Node.js 22.16 or a later 22.x, or Node.js 24 or later, and pnpm.
pnpm install && pnpm testEvery operation is tested against a strict fake built from Linear's API description, with invented records, and nothing reaches a real workspace. The CLI was started from cli-template.
More: design · working rules
lnr is one of the WireCat tools: open-source, local-first command-line tools that give AI
agents your context from messengers, mail, calendars, CRMs and documents. Each one works on its own.
