Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

claude-code-exporter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

claude-code-exporter

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

latest
Source
npmnpm
Version
2.0.5
Version published
Weekly downloads
18
-5.26%
Maintainers
1
Weekly downloads
 
Created
Source

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:

VersionBest ForSetup Required
V1 - CLIQuick exports, no database neededNone
V2 - FullProduction use, REST API, databasePostgreSQL
MCP - Claude DesktopUse within Claude DesktopNode 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

Keywords

claude

FAQs

Package last updated on 01 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts