ELIZA MCP Server
Provides a Model Context Protocol interface to interact with the classic ELIZA chatbot, enabling stateful conversations with tools for chatting, resetting, and retrieving greetings/farewells.
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": "npx",
"args": ["elisa-mcp"]
}
}
}
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 responsequit(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
- Get initial greeting:
Tool: eliza_get_initial
Response: "Hello. How are you feeling today?"
- 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 }
- 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 }
- 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
elizabotnpm package (v0.0.3) - Maintains conversation state in memory
- Communicates via stdio transport
References
- Model Context Protocol
- MCP TypeScript SDK
- elizabot on npm
- Original ELIZA by Joseph Weizenbaum (1966)
License
MIT
Sources
This project was built using information from:
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.