jira-digest-mcp: Instructions file for Claude Code

CLAUDE.md

jira-digest-mcp CLAUDE.md is an instructions file for Claude Code from rprouse/jira-digest-mcp. It costs 1,302 tokens per session, scanned A, original, MIT.

Project instructions for Claude Code, an AI coding assistant. They document a Jira digest server, its commands, architecture, testing, configuration, and release guidance.

In plain words
What is it for?
Use them when working on the server, running its Python commands or tests, configuring Jira access, or understanding its code structure.
Why use it?
They give the assistant the repository context needed to run, test, and modify the project consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is rprouse/jira-digest-mcp's own configuration. It tells Claude Code how to work on jira-digest-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jira-digest-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rprouse/jira-digest-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rprouse/jira-digest-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/rprouse/jira-digest-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jira-digest-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rprouse/jira-digest-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/rprouse/jira-digest-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rprouse/jira-digest-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/rprouse/jira-digest-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jira-digest-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rprouse/jira-digest-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/rprouse/jira-digest-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,302 This file is loaded in full into every session.
When invoked 1,302 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01302 $0.01302
Opus 5 $0.00651 $0.00651
Sonnet 5 $0.00260 $0.00260
Haiku 4.5 $0.00130 $0.00130

Measured 10d ago against content hash d710cc0ef8ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

jira-digest-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project

A stdio MCP server (FastMCP) exposing a single tool, get_resolved_issues, that queries resolved Jira tickets across multiple Atlassian Cloud sites with one (JIRA_USERNAME, JIRA_API_TOKEN) credential pair. The intended consumer is an LLM producing executive summaries across a portfolio of companies, so the response shape is deliberately lean.

Python >=3.12, managed with uv. Entry point: jira_digest_mcp.server:main.

Commands

uv sync                       # install deps + create .venv
uv run pytest -v              # run the full test suite
uv run pytest tests/test_jql.py::test_name   # single test
uv run jira-digest-mcp        # run the stdio server (needs JIRA_USERNAME / JIRA_API_TOKEN env)

Pyright is configured via pyrightconfig.json; there is no separate lint command.

To run the server against the dev checkout from an MCP client, use uv run --project D:\src\AI\jira-digest-mcp jira-digest-mcp — restart the client to pick up source changes. Set LOG_LEVEL=DEBUG for request-level logs on stderr.

Architecture

Four modules under src/jira_digest_mcp/, each with one responsibility:

  • jql.pypure functions, no I/O. Parses since / until (ISO YYYY-MM-DD or relative offsets like -7d / -2w) and builds the JQL string. Anything date- or query-shape-related belongs here, not in the client or server.
  • models.py — Response-shape models and pure transforms over them. ResolvedIssue.from_raw() flattens the verbose Jira REST issue payload via the _get() nested-dict walker (use that pattern for new fields, not chained .get() calls). ResolvedIssuesResponse.from_issues() wraps a list with total_count and epic_rollup (per-parent_key aggregates that track unestimated_count separately so unpointed work doesn't get silently summed as zero). New aggregate/derived fields belong here, not in server.py.
  • jira_client.py — async httpx client. Two important behaviors:
    1. Per-site Story Points field discovery. Atlassian assigns each custom field a different customfield_XXXXX ID per site, so the client looks up /rest/api/3/field once per base_url, matches by name (case-insensitive "story points"), and caches the result. None is cached too, meaning "looked, doesn't exist here" — don't re-query on misses.
    2. Pagination via nextPageToken against /rest/api/3/search/jql (the newer endpoint, not the deprecated /search). The max_results cap is honored both per-page (via maxResults) and across pages. HTTP errors are translated into JiraAuthError (401/403), JiraNotFoundError (404), JiraTransportError (5xx, network, JSON decode). The server layer turns these into user-facing RuntimeError messages.
  • server.py — FastMCP wiring. Reads env vars, builds the client, registers get_resolved_issues, and starts stdio transport. Keep argument validation in jql.parse_date / parse_until; the tool handler should stay a thin shell.

Read the full file on GitHub · 56 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 56 lines · 1,302 tokens per session scan A d710cc0ef8ea

Subscribe to this mod's changes

jira-digest-mcp CLAUDE.md is an instructions file published in the GitHub repository rprouse/jira-digest-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 1,302 tokens to every session, about $0.0065 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens