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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@goobits/typemill

v0.8.18

Published

Pure Rust MCP server bridging Language Server Protocol functionality to AI coding assistants

Readme

TypeMill

Pure Rust MCP server bridging Language Server Protocol functionality to AI coding assistants

npm version License: MIT

Quick StartFeaturesToolsDocumentation

TypeMill Demo


Quick Start

npx @goobits/typemill start

That's it. No installation required.


What Can TypeMill Do?

🔄 Rename Across Your Entire Codebase

Before:                              After:
├── src/                             ├── src/
│   ├── utils.ts    ─────────────►   │   ├── helpers.ts
│   ├── app.ts                       │   ├── app.ts
│   │   import { foo } from './utils'│   │   import { foo } from './helpers'  ✓ Updated!
│   └── index.ts                     │   └── index.ts
│       import './utils'             │       import './helpers'               ✓ Updated!

📁 Move Files with Automatic Import Updates

Before:                              After:
├── src/                             ├── src/
│   ├── components/                  │   ├── components/
│   │   └── Button.tsx               │   │   └── ui/
│   └── App.tsx                      │   │       └── Button.tsx   ◄── Moved!
│       import { Button }            │   └── App.tsx
│         from './components/Button' │       import { Button }
│                                    │         from './components/ui/Button'  ✓ Fixed!

🔍 Understand Code Instantly

> inspect_code("src/server.ts", line=42, character=15)

{
  "definition": "src/types.ts:18",
  "type": "interface ServerConfig { port: number; host: string; }",
  "references": [
    "src/server.ts:42",
    "src/server.ts:67",
    "src/config.ts:12"
  ]
}

🔧 Extract, Inline, Transform

// Before: Messy inline code
const result = items
  .filter(x => x.active)
  .map(x => x.value * 2)
  .reduce((a, b) => a + b, 0);

// After: refactor action="extract" kind="function" name="calculateActiveTotal"
function calculateActiveTotal(items: Item[]): number {
  return items
    .filter(x => x.active)
    .map(x => x.value * 2)
    .reduce((a, b) => a + b, 0);
}
const result = calculateActiveTotal(items);

Architecture

┌─────────────────────────────────────────────────────────────────┐
│                         AI Assistant                            │
│                  (Claude Code / Claude Desktop)                 │
└─────────────────────────────┬───────────────────────────────────┘
                              │ MCP Protocol (stdio/WebSocket)
                              ▼
┌─────────────────────────────────────────────────────────────────┐
│                          TypeMill                               │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────────────────┐  │
│  │ inspect_code│  │ rename_all  │  │ workspace               │  │
│  │ search_code │  │ relocate    │  │ • find_replace          │  │
│  │             │  │ prune       │  │ • extract_dependencies  │  │
│  │             │  │ refactor    │  │ • verify                │  │
│  └─────────────┘  └─────────────┘  └─────────────────────────┘  │
└─────────────────────────────┬───────────────────────────────────┘
                              │ Language Server Protocol
          ┌───────────────────┼───────────────────┐
          ▼                   ▼                   ▼
   ┌─────────────┐     ┌─────────────┐     ┌─────────────┐
   │ typescript- │     │   rust-     │     │    pylsp    │
   │ language-   │     │  analyzer   │     │             │
   │   server    │     │             │     │             │
   └─────────────┘     └─────────────┘     └─────────────┘
        .ts .js             .rs                 .py

Tools

| Tool | Description | |------|-------------| | inspect_code | Get definition, references, type info, diagnostics at a position | | search_code | Search workspace symbols with fuzzy matching | | rename_all | Rename symbols, files, or directories (updates all imports) | | relocate | Move symbols, files, or directories | | prune | Delete with cleanup (removes unused imports) | | refactor | Extract functions, inline variables, reorder code | | workspace | Find/replace, dependency extraction, project verification |

All refactoring tools support dry-run mode (default) for safe previews.


Installation

Option 1: npx (Recommended)

npx @goobits/typemill start

Supported platforms for the npm package build: macOS (arm64) and Linux (arm64).

Option 2: Global Install

npm install -g @goobits/typemill
typemill start

Option 3: Build from Source

git clone https://github.com/goobits/typemill
cd typemill
cargo build --release
./target/release/mill start

Configuration

Add to Claude Desktop (~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "typemill": {
      "command": "npx",
      "args": ["@goobits/typemill", "start"]
    }
  }
}

Supported Languages

| Language | LSP Server | Extensions | |----------|------------|------------| | TypeScript/JavaScript | typescript-language-server | .ts .tsx .js .jsx | | Rust | rust-analyzer | .rs | | Python | pylsp | .py |


License

MIT