Skip to content

feat: add claude-history-mcp to community extensions#290

Open
sydasif wants to merge 3 commits into
daaain:mainfrom
sydasif:add-claude-history-mcp-community-extension
Open

feat: add claude-history-mcp to community extensions#290
sydasif wants to merge 3 commits into
daaain:mainfrom
sydasif:add-claude-history-mcp-community-extension

Conversation

@sydasif

@sydasif sydasif commented Jul 23, 2026

Copy link
Copy Markdown

Adds claude-history-mcp as a community extension in the README.

This MCP server lets Claude Code query its own session history — search messages, list sessions, retrieve transcripts, and analyze usage patterns across all your projects.

Key features:

  • Reads from ~/.claude/projects/**/*.jsonl (session transcripts) and ~/.claude/history.jsonl (command history)
  • Caches data in a local SQLite database with incremental mtime tracking
  • Exposes 7 MCP tools and 2 resources via FastMCP (stdio transport)
  • Natural language date filtering ("yesterday", "last week", etc.)
  • Install: claude mcp add claude-history --scope user -- uvx --from git+https://github.com/sydasif/claude-history-mcp claude-history-mcp

Summary by CodeRabbit

  • Documentation
    • Updated the Community Extensions section to include claude-history-mcp.
    • Added details on its transcript/history input locations, local SQLite caching with incremental tracking, and the number of FastMCP tools and resources available.
    • Adjusted the related projects listing formatting and updated the TODO item formatting for GitHub Actions.

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c803b90b-ec31-4c57-8ea3-7e28f8499998

📥 Commits

Reviewing files that changed from the base of the PR and between 053f17a and 27f31a3.

📒 Files selected for processing (1)
  • README.md

📝 Walkthrough

Walkthrough

README.md restructures the Community Extensions project list, adds a claude-history-mcp related-project entry with its data sources and MCP capabilities, and updates the wording and formatting of one TODO item.

Changes

README documentation

Layer / File(s) Summary
Community extension and TODO updates
README.md
Adds claude-history-mcp details covering transcript inputs, SQLite caching, and FastMCP tools/resources; updates the GitHub Actions import TODO entry.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: daaain

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding claude-history-mcp to the README’s extensions/projects listing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 307: Update the TODO entry in the README list to use the repository’s
established list-item marker instead of an indented en dash, and capitalize
“GitHub” in the item text.
- Line 298: Update the README install command to pin sydasif/claude-history-mcp
to a reviewed commit SHA instead of the default branch, and add a brief
trust/privacy note explaining that this MCP reads session transcripts and
command history.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d61414ba-caa0-4fde-a820-f816da89f93b

📥 Commits

Reviewing files that changed from the base of the PR and between fa10afb and f1ef713.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated
Comment thread README.md Outdated
@cboos

cboos commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Neat! But that project doesn't seem to use anything from us, so I don't see how this could be categorized as a "community extension." Can you enlighten us?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants