HOW-TO GUIDE
How to compare a Jira MCP's token cost with markdown tickets in Git
Based on a guide by Weiwen Weng on DEV Community · Nov 27, 2026
You'll end with: A token count for your own backlog: the MCP tool list, a Jira issue's JSON, and the same ticket as a markdown file with YAML front matter.
Why it's worth having: Atlassian's Rovo MCP v1 loaded 32 tool definitions, about 15,000 tokens by Atlassian's count, before the user typed anything.
At a glance
WHO IT'S FOR
Engineering, project controls, and IT teams who track work in Jira and use AI coding agents.
LEVEL
Intermediate
COST
Free. The checks use curl, a free token counter from npm, and your own Jira data.
YOU NEED
curl · Node.js · gpt-tokenizer · A Jira project · An AI coding agent
The method, in short
- 1Count the tool list first, since the model sees every tool's name, description, and schema on every turn, used or not.
- 2Pull issues through the Jira REST search API, then size them with wc -c and a token counter, using one tokenizer throughout.
- 3Keep tickets as markdown with flat YAML front matter, so the agent finds open bugs with rg instead of a JQL tool call.
- 4Review bulk ticket edits with git diff, and undo them with git restore on the ticket folder.
Read the full guide from Weiwen Weng on DEV Community
The post has the token tables, the curl and token-counter commands, and both workflows side by side.
Credit: Weiwen Weng on DEV Community