JSPM

claude-code-exporter

2.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q74864F
  • License MIT

Export, analyze, and aggregate Claude AI conversation sessions with TypeScript support and MCP integration

Package Exports

  • claude-code-exporter
  • claude-code-exporter/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (claude-code-exporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Claude Code Exporter

npm version npm downloads License: MIT Node.js Version

Export, analyze, and aggregate your Claude Code conversation sessions with ease

Claude Code Exporter is a powerful TypeScript tool that helps you extract, organize, and analyze your Claude AI conversations. Whether you need to document your AI-assisted development sessions, create knowledge bases, or analyze conversation patterns, this tool provides comprehensive export capabilities with multiple formats and intelligent aggregation features.

๐Ÿš€ Quick Start

# Install globally
npm install -g claude-code-exporter

# Run interactively
claude-prompts

# Export with options
claude-prompts --prompts --markdown -o ./exports
# Recommend demo command
claude-prompts aggregate --both --structured --mermaid -o "./_demo-aggregate/

๐Ÿ“– Full Quickstart Guide โ†’

๐Ÿ“š Documentation

Getting Started

Usage Guides

API & Development

Support

โœจ Key Features

  • ๐Ÿ”„ Export Conversations - Extract prompts, outputs, or full conversations from Claude sessions
  • ๐Ÿ“Š Smart Aggregation - Aggregate and analyze prompts across multiple projects
  • ๐ŸŽฏ Multiple Export Modes - Choose between prompts-only, outputs-only, or full conversations
  • ๐Ÿ“ Multiple Formats - Export to Markdown, JSON, TXT, or all formats simultaneously
  • ๐Ÿ”Œ MCP Integration - Use as a Model Context Protocol server with Claude Desktop
  • ๐Ÿ—๏ธ Clean Architecture - Built with NestJS using Domain-Driven Design principles
  • ๐Ÿ“ Organized Output - Timestamped directories with intelligent file organization
  • ๐ŸŽฎ Interactive Mode - User-friendly wizard for easy configuration
  • ๐Ÿงช Fully Tested - Comprehensive test coverage for reliability

๐ŸŽฏ Choose Your Version

We offer three ways to use Claude Code Exporter:

Version Best For Setup Required
V1 - CLI Quick exports, no database needed None
V2 - Full Production use, REST API, database PostgreSQL
MCP - Claude Desktop Use within Claude Desktop Node 20.x

Not sure which to use? โ†’ Read the Version Comparison

๐Ÿ› ๏ธ Example Commands

# Export only your prompts as markdown
claude-prompts --prompts --markdown

# Export full conversations from last week
claude-prompts --full --json --period 7d

# Aggregate all prompts across all projects
claude-prompts --aggregate -o ./all-prompts

# Export everything in all formats
claude-prompts --full --both

๐Ÿ“ฆ Installation

# Global CLI installation (recommended)
npm install -g claude-code-exporter

# For Claude Desktop integration
npm install -g mcp-claude-code-exporter

# As project dependency
npm install claude-code-exporter

Full Installation Guide โ†’

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐Ÿ™ Acknowledgments

Built with:


Made with โค๏ธ by developers, for developers