claude-json-reporter-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-json-reporter-mcp-server 今日のClaude Code作業履歴から日報を作成してください"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-json-reporter-mcp-server
Claude Code の履歴ファイルを読み取る MCP (Model Context Protocol) サーバー。日報生成や作業分析に活用できます。
特徴
Claude Code の会話履歴 (
~/.claude) にアクセスプロジェクト別、日付別のフィルタリング
セッション詳細の取得
日報生成の自動化に最適
Claude Plugins 対応 (日報生成スキル付属)
Related MCP server: ClaudeX
インストール
npm
npm install -g claude-json-reporter-mcp-serverソースから
git clone https://github.com/elchika-inc/claude-json-reporter-mcp-server.git
cd claude-json-reporter-mcp-server
npm install
npm run buildセットアップ
方法1: MCP サーバーとして使用
MCP サーバーとして直接使用する場合の設定です。
グローバル設定
~/.claude/settings.json に追加:
{
"mcpServers": {
"claude-json-reporter": {
"command": "npx",
"args": ["-y", "claude-json-reporter-mcp-server"]
}
}
}プロジェクト設定
プロジェクトの .mcp.json に追加:
{
"mcpServers": {
"claude-json-reporter": {
"command": "npx",
"args": ["-y", "claude-json-reporter-mcp-server"]
}
}
}方法2: Claude Plugin として使用
日報生成スキルを含む Claude Plugin として使用する場合の設定です。
インストール
claude plugins:add elchika-inc/claude-json-reporter使い方
Plugin をインストールすると、以下のスキルが利用可能になります:
daily-report: 日報生成スキル
/daily-report # 今日の日報を生成
/daily-report 2024-01-15 # 特定日の日報を生成日報は以下の6つのラベルで分類されます:
作業依頼 (task_request)
技術確認 (tech_check)
フィードバック (feedback)
コマンド (command)
情報共有 (info_share)
質問 (question)
MCP ツール
list_projects
履歴が存在するプロジェクト一覧を取得。
// 入力: なし
// 出力
{
"projects": [
{
"name": "my-app",
"path": "/Users/xxx/projects/my-app",
"encodedPath": "-Users-xxx-projects-my-app",
"sessionCount": 5
}
],
"count": 1
}list_sessions
プロジェクトのセッション一覧を取得。
// 入力
{
"project_path": "/Users/xxx/projects/my-app"
}
// 出力
{
"projectPath": "/Users/xxx/projects/my-app",
"sessions": [
{
"id": "abc123-...",
"modifiedAt": "2024-01-15T10:00:00.000Z"
}
],
"count": 1
}get_history
グローバル履歴を取得。日付・プロジェクトでフィルタリング可能。
// 入力
{
"start_date": "2024-01-15", // ISO 8601 形式 (任意)
"end_date": "2024-01-15", // ISO 8601 形式 (任意)
"project": "/Users/xxx/...", // プロジェクトパス (任意)
"limit": 100 // 取得件数上限 (デフォルト: 100)
}
// 出力
{
"entries": [
{
"display": "ユーザーの入力テキスト",
"project": "/Users/xxx/projects/my-app",
"timestamp": "2024-01-15T10:00:00.000Z"
}
],
"totalCount": 100,
"returnedCount": 50
}get_session_detail
セッションの詳細な会話履歴を取得。
// 入力
{
"project_path": "/Users/xxx/projects/my-app",
"session_id": "abc123-..."
}
// 出力
{
"sessionId": "abc123-...",
"projectPath": "/Users/xxx/projects/my-app",
"summary": {
"userMessageCount": 10,
"assistantMessageCount": 10,
"toolUseCount": 25,
"startTime": "2024-01-15T10:00:00.000Z",
"endTime": "2024-01-15T11:00:00.000Z"
},
"messages": [...]
}使用例
日報生成
今日の作業履歴から日報を作成してください。
get_history ツールで今日の履歴を取得し、プロジェクトごとにまとめてください。特定日の履歴取得
2024-01-15 の作業履歴を確認してください。プロジェクト作業サマリー
/Users/xxx/projects/my-app の最近のセッションを確認し、
何を実装したかサマリーを作成してください。動作環境
Node.js >= 18.0.0
Claude Code
開発
# 開発モード
npm run dev
# テスト
npm run test
# リント
npm run lint
# ビルド
npm run build関連リンク
Model Context Protocol - MCP 公式ドキュメント
Claude Code - Anthropic 公式 CLI
Author
Available Tools
4 toolsget_historyC
Claude Code のグローバル履歴を取得します。日付やプロジェクトでフィルタリングできます。
Inputs: limit, project, end_date, start_date.
get_session_detailA
指定したセッションの詳細な会話履歴を取得します。ユーザーとアシスタントのメッセージ、ツール使用回数などのサマリーが含まれます。
Inputs: session_id (required), project_path (required).
list_projectsA
Claude Code の履歴が存在するプロジェクト一覧を取得します。各プロジェクトのセッション数も含まれます。
Inputs: no named parameters.
list_sessionsB
指定したプロジェクトのセッション一覧を取得します。セッションID、更新日時が含まれます。
Inputs: project_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools target distinct levels of the Claude Code history hierarchy: projects, sessions, global history, and session detail. The boundary between get_history and get_session_detail is mostly clear from descriptions, though both involve retrieving conversation history and could be momentarily confused.
All tools use consistent snake_case verb_noun naming: list_projects, list_sessions, get_history, get_session_detail. The pattern is predictable and easy to reason about.
Four tools is compact and well-scoped for a read-only reporting server. Each tool maps to a clear browsing step, though the surface is slightly thin if future filtering or search needs arise.
The tools cover the main read-only workflow: list projects, list sessions, view global history, and inspect session detail. Minor gaps like explicit search or export are not required for the stated reporting purpose.
Maintenance
Related MCP Connectors
Running journal for Claude & ChatGPT: logs runs, reads your history, writes your next session.
Your versioned prompt library: search, read, save and version prompts from Claude Code.
Ask Claude about your meetings: summaries, action items and transcripts from Roomtone
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving Claude Code conversation history that would otherwise expire after 30 days. Supports full-text search, semantic search, and session management with automatic backup of all conversations.28MIT
- AlicenseAqualityDmaintenancePersistent memory + FTS5 full-text search for Claude Code conversation history. Indexes ~/.claude/projects/ JSONL into SQLite, exposes 10 MCP tools (store/recall/search memories, browse sessions, get summaries) plus prompts. Includes a web UI for visual exploration10106 npm98MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to query and analyze past Claude Code sessions, providing structured insights like file changes, decisions, errors, and git history across projects.111MIT
- AlicenseNot gradedqualityDmaintenanceSearch and reference your Claude Code conversation history directly from Claude, with full-text search, conversation viewing, and project browsing.MIT