npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@claudetools/tools

v0.7.7

Published

Persistent AI memory, task management, and codebase intelligence for Claude Code

Downloads

2,845

Readme

claudetools

Persistent AI memory, task management, and codebase intelligence for Claude Code.

Installation

npm install -g claudetools

Quick Start

# Interactive setup
claudetools --setup

# Or just start using - projects auto-register on first use

Configuration

Add to Claude Code's MCP settings (~/.claude/mcp.json):

{
  "mcpServers": {
    "claudetools": {
      "command": "claudetools"
    }
  }
}

Environment Variables (Optional)

CLAUDETOOLS_API_KEY=your-api-key      # From claudetools.dev
CLAUDETOOLS_API_URL=https://api.claudetools.dev

Config File (Optional)

~/.claudetools/config.json:

{
  "apiKey": "your-api-key",
  "apiUrl": "https://api.claudetools.dev",
  "autoRegister": true
}

Features

Memory System

  • Persistent memory across sessions
  • Knowledge graph with entities and relationships
  • Semantic search for relevant context
  • Auto-injection of relevant memories

Task Management

  • Hierarchical tasks (epics → tasks → subtasks)
  • Parallel execution with worker dispatch
  • Progress tracking with state management

Codebase Intelligence

  • Function call graphs and dependencies
  • Impact analysis for changes
  • Pattern detection (security, performance)

CodeDNA (AI Code Generation)

  • 95-99% token savings by generating production code from compact Entity DSL specs
  • Production-ready APIs with models, controllers, routes, validation, tests
  • Express.js generator available (FastAPI, NestJS, React coming soon)
  • Template registry hosted on ClaudeTools API with global CDN

10/10 Prompt Engineering Framework

  • Production-proven architecture from Claude 4 analysis (~60K char prompt)
  • 4 complexity tiers (Minimal/Standard/Professional/Enterprise) with progressive disclosure
  • 7 semantic layers with XML boundaries for machine-parseability
  • Token-optimized templates (500t → 10000t based on complexity)
  • Compliance verification with automated validation script

Quick Example

// Instead of AI writing 1000 lines of code (30,000 tokens)...
// Use a compact Entity DSL spec (150 tokens):

codedna_generate_api({
  spec: "User(email:string:unique, password:string:hashed, age:integer:min(18))",
  framework: "express",
  options: {
    auth: true,
    validation: true,
    tests: true,
    database: "postgresql"
  }
})

// Returns 6 complete files:
// - src/models/user.model.ts
// - src/controllers/user.controller.ts
// - src/routes/user.routes.ts
// - src/validators/user.validator.ts
// - src/middleware/auth.middleware.ts
// - tests/user.test.ts

// Token savings: 11,100 tokens (98.7%)
// Cost savings: $0.11 per generation
// Time savings: 2-3 minutes → 10 seconds

Available Tools

  • codedna_generate_api(spec, framework, options) - Generate complete REST API
  • codedna_validate_spec(spec) - Validate Entity DSL syntax
  • codedna_list_generators() - List available code generators

See CODEDNA_README.md for full documentation.

CLI

claudetools --setup        # Interactive configuration
claudetools --version      # Show version
claudetools --help         # Show help
claudetools                # Start MCP server
npm run prompt:verify      # Verify prompt compliance with 10/10 framework

Documentation

License

MIT