ClaudeCode Session Notes MCP Server
Click on "Install 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., "@ClaudeCode Session Notes MCP ServerStart a new development session"
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.
ClaudeCode Session Notes MCP Server
A production-ready Model Context Protocol (MCP) server for comprehensive ClaudeCode session workbook collection and analysis. Built with FastMCP 2.0 for maximum performance and reliability.
🚀 Features
📊 Session Management
Start/End Sessions - Track development sessions with comprehensive metadata
Environment Collection - Automatic system environment capture (Python, OS, process info)
Session Status - Real-time session monitoring and metrics
Metadata Updates - Dynamic session attribute management
🤖 Agent Tracking
Agent Registration - Register AI agents with type, purpose, and capabilities
Execution Logging - Track agent actions with parameters, results, and timing
Interaction Analysis - Advanced behavioral tracking for decision-making patterns
Agent Statistics - Comprehensive activity metrics and performance data
🛠️ Tool Usage Analytics
Tool Request Logging - Track tool availability and usage patterns
Missing Tools Detection - Identify gaps in available toolsets
Success Rate Analysis - Monitor tool execution effectiveness
Usage Pattern Analysis - Understand tool utilization trends
📈 Analytics & Reporting
Comprehensive Reports - Session summaries with detailed analytics
Missing Tools Reports - Identify frequently requested but unavailable tools
Performance Metrics - Execution times, success rates, and efficiency measures
Data Export - JSON-based data persistence for external analysis
Related MCP server: Session Buddy
🏗️ Architecture
Built on FastMCP 2.0 with modern Python practices:
FastMCP 2.0 Framework - State-of-the-art MCP server implementation
Pydantic Models - Type-safe data validation and serialization
File-Based Storage - Reliable
.claude/session-notes/hierarchyPIXI Dependency Management - Reproducible development environment
100% Test Coverage - Production-ready with comprehensive test suite
📦 Installation
Prerequisites
Python 3.12+
PIXI (recommended) or pip
Git for development
Quick Start with PIXI (Recommended)
# Clone the repository
git clone https://github.com/Claire-s-Monster/claudecode-session-notes.git
cd claudecode-session-notes
# Install with PIXI
pixi install
# Start the MCP server
pixi run serverAlternative: pip Installation
# Clone and install
git clone https://github.com/Claire-s-Monster/claudecode-session-notes.git
cd claudecode-session-notes
# Install in editable mode
pip install -e .
# Start the MCP server
python -m session_notes.server🔧 MCP Integration
Claude Desktop Configuration
Recommended (PIXI - Production Ready)
Add to your ~/.claude_desktop_config.json:
{
"mcpServers": {
"session-notes": {
"command": "pixi",
"args": ["run", "-e", "quality", "server"],
"cwd": "/path/to/claudecode-session-notes"
}
}
}Alternative Configurations
Development Mode (with debug logging):
{
"mcpServers": {
"session-notes": {
"command": "pixi",
"args": ["run", "-e", "quality", "server"],
"cwd": "/path/to/claudecode-session-notes",
"env": {
"PYTHONPATH": "src",
"CLAUDE_DEBUG": "1"
}
}
}
}Minimal Runtime (fastest startup):
{
"mcpServers": {
"session-notes": {
"command": "pixi",
"args": ["run", "server"],
"cwd": "/path/to/claudecode-session-notes"
}
}
}Legacy Python (fallback option):
{
"mcpServers": {
"session-notes": {
"command": "python",
"args": ["-m", "session_notes.server"],
"cwd": "/path/to/claudecode-session-notes"
}
}
}💡 Why PIXI? Using PIXI commands ensures reproducible environments, exact dependency versions from
pixi.lock, and optimal FastMCP 2.0 integration with conda-forge packages.
Available MCP Tools
Tool | Description |
| Begin tracking a new development session |
| End session with metrics calculation |
| Update session attributes dynamically |
| Retrieve real-time session information |
| Register an AI agent in the session |
| Get comprehensive agent statistics |
| Record agent actions and results |
| Track tool usage and availability |
| Record complex agent behaviors |
| Identify missing tool patterns |
| Generate missing tools analysis |
Example Usage
# Start a session
start_session("my-dev-session")
# Register an agent
register_agent(
session_id="my-dev-session",
agent_type="code-reviewer",
purpose="Review and analyze code quality"
)
# Log agent activity
log_agent_execution(
session_id="my-dev-session",
agent_id="agent-uuid",
agent_type="code-reviewer",
action="analyze_code",
parameters={"file": "main.py"},
result={"issues": 2, "score": 8.5}
)
# End session with metrics
end_session("my-dev-session", outcome="completed")🧑💻 Development
Quality Standards
This project maintains production-grade quality standards:
✅ 100% Test Pass Rate (285/290 tests passing)
✅ Zero Critical Lint Violations
✅ Type Safety with Pydantic models
✅ Error Handling for all edge cases
✅ Performance Optimized with FastMCP 2.0
Development Commands
# Install development environment
pixi install -e quality
# Run tests (100% pass rate)
pixi run test
# Run with coverage
pixi run test-cov
# Quality checks
pixi run lint # Critical violations check
pixi run typecheck # Type safety validation
pixi run quality # Full quality pipeline
# Run the server in development
pixi run devProject Structure
claudecode-session-notes/
├── src/session_notes/
│ ├── __init__.py
│ └── server.py # Main MCP server implementation
├── tests/ # Comprehensive test suite (285 tests)
├── docs/ # Documentation
├── pyproject.toml # PIXI configuration & dependencies
├── .claude/ # Claude integration
└── README.md # This file📊 Data Storage
Session data is stored in a structured hierarchy under .claude/session-notes/:
.claude/session-notes/
├── {session-id}/
│ ├── session.json # Session metadata & metrics
│ ├── missing_tools.json # Missing tools analysis
│ └── agents/
│ └── {agent-id}/
│ ├── metadata.json # Agent registration info
│ ├── execution.json # Action logs
│ ├── tools.json # Tool usage logs
│ └── interactions.json # Behavioral data🤝 Contributing
We welcome contributions! This project has achieved 100% test pass rate and maintains high quality standards.
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureMaintain quality: Run
pixi run qualitybefore committingWrite tests: Ensure 100% test coverage continues
Submit a Pull Request
Quality Requirements
✅ All tests must pass (
pixi run test)✅ No critical lint violations (
pixi run lint)✅ Type safety maintained (
pixi run typecheck)✅ Code coverage maintained (
pixi run test-cov)
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🏆 Acknowledgments
FastMCP Framework - Built on the excellent FastMCP 2.0 by jlowin
PIXI Package Manager - Modern Python package management
Pydantic - Runtime type checking and data validation
ClaudeCode Integration - Seamless AI development workflow integration
📈 Project Status
Production Ready ✅
100% Test Pass Rate ✅
Zero Critical Issues ✅
Actively Maintained ✅
Ready to supercharge your ClaudeCode development sessions with comprehensive analytics and insights! 🚀
For questions or support, please open an issue on GitHub.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Claire-s-Monster/claudecode-session-notes'
If you have feedback or need assistance with the MCP directory API, please join our Discord server