case-chronology-mcp
A Model Context Protocol server for building and managing chronological timelines of case events, enabling legal professionals to organize complex case histories with smart date parsing, document parsing, multi-format export, and advanced search.
README
Case Chronology MCP Server
A Model Context Protocol (MCP) server for building and managing chronological timelines of case events. Perfect for legal professionals who need to organize complex case histories.
Features
- Smart Date Parsing: Handles various date formats including exact dates, approximate dates, months, and quarters
- Document Parsing: Automatically extract dates and events from pasted documents
- Multi-format Export: Generate timelines in Markdown, CSV, brief text, or JSON
- Advanced Search: Query by date range, parties, keywords, or tags
- Party & Document Indexing: Quick lookups by involved parties or source documents
Installation
Option 1: Using uvx (Recommended)
No installation needed! The server can be run directly with uvx.
Option 2: Traditional Installation
- Clone this repository:
git clone https://github.com/medelman17/case-chronology-mcp.git
cd case-chronology-mcp
- Install with uv:
uv pip install -e .
Or with pip:
pip install -r requirements.txt
Configuration
Add the server to your Claude Desktop configuration:
Windows Users - Step by Step
Step 1: Download and Setup
- Open PowerShell or Command Prompt
- Navigate to where you want to install (e.g., your GitHub folder):
cd C:\Users\%USERNAME%\GitHub - Clone the repository:
git clone https://github.com/medelman17/case-chronology-mcp.git cd case-chronology-mcp - IMPORTANT: Run the setup script (this creates a virtual environment and installs dependencies):
Wait for it to complete. You should see "Setup complete!" at the end..\setup.bat
Step 2: Configure Claude Desktop
- Open Claude Desktop
- Go to Settings (gear icon in bottom left)
- Click Developer tab
- Find the MCP Servers Configuration section
- Add this configuration (replace
%USERNAME%with your actual username):
{
"mcpServers": {
"case-chronology": {
"command": "C:\\Users\\%USERNAME%\\GitHub\\case-chronology-mcp\\run_server.bat"
}
}
}
For example, if your username is mikee, use:
{
"mcpServers": {
"case-chronology": {
"command": "C:\\Users\\mikee\\GitHub\\case-chronology-mcp\\run_server.bat"
}
}
}
- Save the configuration
- Restart Claude Desktop
Step 3: Test It Works
After restarting Claude Desktop, you should see the Case Chronology server connected. Try asking:
"Add an event: January 15, 2024 - Contract signed between ABC Corp and XYZ LLC"
Mac/Linux Users
Option 1: Using uvx (Recommended)
{
"mcpServers": {
"case-chronology": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/medelman17/case-chronology-mcp.git",
"case-chronology-mcp"
]
}
}
}
Option 2: Local Installation
{
"mcpServers": {
"case-chronology": {
"command": "python",
"args": ["/full/path/to/case-chronology-mcp/chronology_server.py"]
}
}
}
Usage Examples
Adding Events
Simple event:
"Add event: March 15, 2023 - Smith emails Jones about breach of contract. Parties: Smith, Jones"
Event with details:
"Add event: 3/15/2023 - Contract breach notification sent. Parties: Smith, Jones. Tag: breach, notice. Significance: First formal notice of breach"
Document Parsing
"Parse this email and add events to the chronology:
From: Bob Smith
To: Alice Jones
Date: March 15, 2023
I am writing to inform you that your failure to deliver by March 1, 2023 constitutes a breach..."
Searching the Timeline
- "Show all events in March 2023"
- "Find events involving Smith"
- "Search for events tagged 'breach'"
- "Show events between 1/1/2023 and 6/30/2023"
Exporting
- "Export the chronology as markdown"
- "Give me a brief timeline"
- "Export as CSV for Excel"
- "Export full JSON data"
Date Format Support
The server intelligently parses various date formats:
- Exact dates:
3/15/2023,March 15, 2023 - Approximate dates:
early March 2023,mid March 2023,late March 2023 - Month precision:
March 2023 - Quarter precision:
Q1 2023 - Approximate markers:
around 3/15/2023,approximately March 2023
Data Storage
Events are stored in case_chronology.json in the same directory as the server. The file is created automatically on first use.
Troubleshooting (Windows)
❌ "Virtual environment not found" error
- Make sure you ran
.\setup.batfirst - Check that the
venvfolder exists in your project directory
❌ "Python not found" error
- Install Python 3.10 or later from python.org
- Make sure to check "Add Python to PATH" during installation
❌ "Setup failed" error
- Try running PowerShell as Administrator
- Or manually create the environment:
python -m venv venv venv\Scripts\activate pip install -r requirements.txt
❌ Server disconnects immediately
- Check that your path in Claude Desktop config is correct
- Make sure to use double backslashes (
\\) in the JSON path - Verify your username is correct in the path
❌ "Permission denied" errors
- Run PowerShell as Administrator
- Or try installing in a different location (like your Documents folder)
Testing
Test the server with MCP Inspector:
npx @modelcontextprotocol/inspector python chronology_server.py
Tools Available
add_event- Add a single event to the chronologyparse_document- Extract events from document textsearch_timeline- Search events by various criteriaget_timeline_summary- Get overview statisticsexport_chronology- Export in different formatsupdate_event- Modify existing eventsdelete_event- Remove events from timeline
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。