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

eliza-mcp

v1.0.0

Published

A Model Context Protocol (MCP) server for the ELIZA chatbot

Downloads

21

Readme

ELIZA MCP Server

A Model Context Protocol (MCP) server that provides access to the classic ELIZA chatbot. ELIZA is a famous early natural language processing program that simulates a Rogerian psychotherapist.

Overview

This MCP server exposes ELIZA's conversational capabilities through a standardized interface, allowing LLMs to interact with this historic chatbot for demonstrations, examples, or entertainment purposes.

Features

  • Stateful Conversations: Maintains conversation context across multiple interactions
  • Classic ELIZA Responses: Uses the original ELIZA algorithm from the elizabot npm package
  • Simple API: Four tools for complete control over ELIZA interactions

Installation

npm install
npm run build

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "eliza": {
      "command": "node",
      "args": ["C:\\Users\\User\\Downloads\\elisa-mcp\\dist\\index.js"]
    }
  }
}

Standalone

npm start

Available Tools

eliza_chat

Send a message to ELIZA and receive a response.

Parameters:

  • message (string, required): The message to send to ELIZA

Returns:

  • response (string): ELIZA's response
  • quit (boolean): Whether the user said a quit phrase

Example:

{
  "message": "I'm feeling sad today"
}

eliza_reset

Reset the ELIZA conversation, clearing all memory and starting fresh.

Parameters: None

Returns: Confirmation message

eliza_get_initial

Get ELIZA's initial greeting message to start a new conversation.

Parameters: None

Returns: ELIZA's greeting

eliza_get_final

Get ELIZA's farewell message when ending the conversation.

Parameters: None

Returns: ELIZA's farewell

Example Interaction

  1. Get initial greeting:
Tool: eliza_get_initial
Response: "Hello. How are you feeling today?"
  1. Chat with ELIZA:
Tool: eliza_chat
Input: { "message": "I'm worried about my future" }
Response: { "response": "Why are you worried about your future?", "quit": false }
  1. Continue conversation:
Tool: eliza_chat
Input: { "message": "I don't know what I want to do" }
Response: { "response": "Do you often feel uncertain about what you want?", "quit": false }
  1. Reset if needed:
Tool: eliza_reset
Response: "ELIZA conversation has been reset..."

How ELIZA Works

ELIZA uses pattern matching and substitution to simulate conversation. It:

  • Recognizes keywords and patterns in user input
  • Applies transformation rules to generate responses
  • Maintains a small memory of previous statements
  • Occasionally reflects earlier topics back to the user

The chatbot gives the illusion of understanding while using simple text manipulation techniques.

Technical Details

  • Built with the official MCP TypeScript SDK
  • Uses the elizabot npm package (v0.0.3)
  • Maintains conversation state in memory
  • Communicates via stdio transport

References

License

MIT

Sources

This project was built using information from: