
Sequential Story MCP Server
Provides tools for structuring complex problems through narrative-based sequential story elements or systematic sequential thinking, helping make complex problems more memorable and easier to understand.
README
Sequential Story MCP Server
A Model Context Protocol (MCP) server for Sequential Thinking and Sequential Story as mnemonic techniques for problem-solving.
Overview
This project offers two complementary MCP tools for structuring complex problems:
-
Sequential Story - A narrative-based approach to sequential thinking. Instead of tracking abstract thoughts, it structures problems as story elements with characters, settings, and plot developments to make them more memorable and engaging.
-
Sequential Thinking - A pure Python port of the JavaScript implementation, eliminating Node.js dependencies
Both approaches leverage the power of sequencing and structure to enhance memory retention and problem understanding.
Features
Sequential Story
- Build problem solutions as narrative sequences
- Revise and branch story elements as needed
- Track characters, settings, tones, and plot points
- Formatted, color-coded display of story elements
Sequential Thinking
- Structure problems as a sequence of thoughts
- Revise or branch thinking paths as needed
- Generate and verify solution hypotheses
- Track thinking process completion
- Pure Python implementation (no Node.js required)
Common Features
- Formatted, color-coded display of elements
- Full MCP protocol support for integration with AI systems
- Support for branching and revision
Installation
During Development
When working with the package locally before publishing:
# Clone the repository
git clone https://github.com/dhkts1/sequentialStory
cd sequentialStory
# Install dependencies using uv
uv venv
source .venv/bin/activate
uv sync
# Install with development dependencies
uv sync --group dev
Installing with MCP
# Install in the Claude desktop app
mcp install -e . src/cli.py -n "Sequential Story"
# Install with only the Sequential Thinking tool
mcp install -e . src/cli.py -n "Sequential Thinking" --env-var "TOOLS='[\"thinking\"]'"
# Install with only the Sequential Story tool explicitly
mcp install -e . src/cli.py -n "Sequential Story" --env-var "TOOLS='[\"story\"]'"
# Install with both tools
mcp install -e . src/cli.py -n "Sequential Tools" --env-var "TOOLS='[\"thinking\",\"story\"]'"
For development:
# For development with the MCP Inspector
mcp dev src/__main__.py:main
You can also configure Claude desktop to use the tool with uvx
by adding this to your Claude mcpServers.json:
"mcpServers": {
"Sequential Story": {
"command": "uvx",
"args": [
"sequential-story"
]
}
}
The environment variable TOOLS
controls which tools are enabled. By default, only the Sequential Story tool is enabled, but the Sequential Thinking tool can be added as needed.
This is useful when you want to focus on a specific problem-solving approach or when integrating with other MCP tools. You can also update the environment variables directly in the Claude desktop app after installation.
Example story element
{
"element": "Our protagonist, a data scientist named Alex, encounters a mysterious pattern in the customer behavior data.",
"elementNumber": 1,
"totalElements": 5,
"nextElementNeeded": true,
"character": "Alex (data scientist)",
"setting": "Data analysis lab",
"tone": "Mysterious",
"plotPoint": "Discovery of pattern"
}
Example thought element
{
"thought": "The problem requires analyzing multiple data sources to identify correlations between customer behavior and sales patterns.",
"thoughtNumber": 1,
"totalThoughts": 5,
"nextThoughtNeeded": true
}
Development
# Install pre-commit hooks
uv run pre-commit install
# Run all pre-commit checks
poe pre
Credits
This project builds on the concepts of sequential thinking and structured problem-solving, adapting these approaches to both analytical and narrative frameworks for enhanced memory and problem-solving.
The Sequential Thinking implementation is a pure Python port inspired by the JavaScript implementation from the Model Context Protocol repositories: https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking
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.