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

claude-town-mcp

v0.1.4

Published

MCP server for orchestrating Claude Code web sessions

Readme

claude-town-mcp

MCP server for orchestrating Claude Code web sessions via the undocumented Claude Code Sessions API.

Features

  • list_sessions - List all your Claude Code web sessions with filtering by status
  • get_session - Get detailed information about a specific session
  • send_message - Send a message/task to a running session (fire-and-forget)
  • get_session_status - Check the current status of a session
  • create_session - Create a new Claude Code web session on a GitHub repository
  • list_environments - List available environments for session creation

Installation

npm install -g claude-town-mcp

Or add to your Claude Code MCP configuration:

claude mcp add claude-town -- npx claude-town-mcp

Connect to servers mid-session

You can also connect to this MCP server during an active Claude Code session using the /mcp command:

/mcp add claude-town -- npx claude-town-mcp

For a local stdio server from a cloned repository:

/mcp add claude-town -- node /path/to/claude-town-mcp/dist/index.js

Or using bun during development:

/mcp add claude-town -- bun run /path/to/claude-town-mcp/src/index.ts

Authentication

This MCP server automatically loads OAuth credentials from Claude Code's standard locations:

  1. macOS Keychain (primary on macOS) - Service: "Claude Code-credentials"
  2. File-based credentials - ~/.claude/.credentials.json

You must be authenticated with Claude Code (/login) for this to work.

Note: When running via SSH on macOS, Keychain access may require GUI authorization. If credentials are inaccessible, you can create a fallback file at ~/.claude/.credentials.json.

Usage

Once installed as an MCP server, you can use these tools from Claude:

List Sessions

Use list_sessions to see all my Claude Code web sessions

Options:

  • status_filter: Filter by session status (running, working, waiting, idle, completed, archived, cancelled, rejected)

Get Session Details

Use get_session with session_id "abc123" to get full details

Send Message

Use send_message to send "Run the tests" to session "abc123"

Check Status

Use get_session_status for session "abc123"

Create Session

Use create_session to start a new session on eastlondoner/claude with prompt "Fix the failing tests"

Options:

  • repo: GitHub repository in owner/name format (required)
  • prompt: Initial task/prompt for the session (required)
  • branch: Git branch to use (optional)
  • environment_id: Environment ID to use (optional, uses first active environment)
  • model: Model to use - claude-sonnet-4-20250514 or claude-opus-4-5-20251101 (optional)

List Environments

Use list_environments to see available environments

Session Statuses

  • running - Session is actively processing
  • working - Session is working on a task
  • waiting - Session is waiting for user input
  • idle - Session is idle
  • completed - Session has finished
  • archived - Session has been archived
  • cancelled - Session was cancelled
  • rejected - Session was rejected

Development

# Install dependencies
bun install

# Build
bun run build

# Run locally
bun run dev

# Type check
bun run typecheck

Requirements

  • Node.js >= 20.0.0
  • Claude Code installed and authenticated
  • The Anthropic GitHub App installed on repositories you want to access

License

MIT