DocketBird MCP Server
Enables searching and downloading court documents, listing cases, and retrieving case details via the DocketBird API. It supports secure OAuth 2.0 authentication for remote access and a standard local mode for personal use.
README
DocketBird MCP Server
An MCP server for searching and downloading court documents via the DocketBird API. Deployed on DigitalOcean with Docker, using OAuth 2.0 so each user brings their own DocketBird API key.
Tools
| Tool | Description |
|---|---|
docketbird_get_case_details |
Get case info, parties, and paginated documents |
docketbird_search_documents |
Search documents within a case by keyword |
docketbird_list_cases |
List cases for company or user scope |
docketbird_list_courts |
Get court codes and case types |
docketbird_download_document |
Download a single document by ID |
docketbird_download_files |
Download all available documents for a case |
Requirements
- Python 3.11
- uv package manager
Setup
- Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Create and activate a virtual environment:
uv venv
source .venv/bin/activate
- Install dependencies:
uv pip install -r requirements.txt
Running the Server
# stdio transport (uses DOCKETBIRD_API_KEY env var, no OAuth)
DOCKETBIRD_API_KEY="your-key" python docketbird_mcp.py --transport stdio
# HTTP transport with OAuth (Streamable HTTP at /mcp)
python docketbird_mcp.py --transport http
# Then visit http://localhost:8080/signup to create an account
Connecting to the Deployed Server
See DocketBird_MCP_Installation_Guide.pdf for the full walkthrough with screenshots.
Quick version
- Register at https://app.docketbird-mcp.com/signup with your email, password, and DocketBird API key
- In Claude.ai or Claude Desktop, add a remote MCP server with URL
https://app.docketbird-mcp.com/mcp - Claude auto-discovers OAuth, redirects you to log in, and connects
Stdio (local development)
For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"docketbird-mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/docketbird-mcp-plus",
"python",
"docketbird_mcp.py"
],
"env": {
"DOCKETBIRD_API_KEY": "YOUR_KEY"
}
}
}
}
Authentication
The server uses OAuth 2.0 with PKCE for HTTP mode. Each user registers with their own DocketBird API key, which is stored server-side and attached to OAuth tokens. The SDK handles the protocol endpoints automatically:
/.well-known/oauth-authorization-server- OAuth metadata discovery/register- Dynamic Client Registration/authorize- Authorization endpoint (redirects to/login)/token- Token exchange and refresh
In stdio mode, the DOCKETBIRD_API_KEY env var is used directly (no OAuth).
Security
- OAuth 2.0 with PKCE (no shared API key on the server)
- Per-user DocketBird API keys stored in SQLite with bcrypt-hashed passwords
- Rate limiting: 30 requests per 60 seconds per IP
- HTTPS-only downloads with SSRF domain allowlist
- Path traversal protection on file downloads
- Container runs as non-root
mcpuser - GitHub Actions pinned to commit SHAs
- Dependencies pinned to exact versions
Deployment
Deployed via Docker and GitHub Actions. Pushes to main trigger automatic deployment.
- Domain:
app.docketbird-mcp.com - Docker volume:
docketbird-dataat/app/data(SQLite auth database) - Health check:
https://app.docketbird-mcp.com/health - Caddy reverse proxy handles HTTPS (Let's Encrypt)
Local Docker Build
docker build -t docketbird-mcp:latest .
docker run -d \
--name docketbird-mcp \
--restart=always \
-e SERVER_URL="http://localhost:8040" \
-v docketbird-data:/app/data \
-p 8040:8080 \
docketbird-mcp:latest
Reference Data
courts.json- Court codes and namescase_types.json- Case type abbreviations and examples
Acknowledgment
This project is built upon the original docketbird-mcp developed in conjunction with @federicoburman and the Gravix.AI team.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。