hypothesis-mcp
Provides tools for searching, creating, updating, deleting, and moderating annotations, as well as reading PDFs and discovering which PDFs discuss a given topic via the Hypothesis API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hypothesis-mcpsearch annotations for quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hypothesis-mcp
MCP server for the Hypothesis annotation service. Gives Claude access to your annotations and the ability to read PDFs — including finding which PDF in your library discusses a given topic.
Note: All code written by Claude (Anthropic) under the supervision of Ankit Goyal.
Quick Install (Claude Code)
# 1. Get your API key: https://hypothes.is/account/developer
# 2. Run this in Claude Code:
claude mcp add hypothesis -e HYPOTHESIS_API_KEY=your-key-here -- uvx --from git+https://github.com/imankgoyal/hypothesis-mcp hypothesis-mcpThat's it — no cloning, no venv, no config files. Requires uv.
Related MCP server: mendeley-mcp
Tools
Tool | Description |
| Search annotations by URL, user, group, tag, text |
| Fetch a single annotation by ID |
| Create an annotation with optional quote/selectors |
| Update annotation text or tags |
| Delete an annotation |
| Flag an annotation for moderation |
| Hide or unhide an annotation |
| List or fetch groups |
| Fetch the authenticated user's profile |
| Extract text from a PDF URL (direct or Chrome extension viewer format) |
| Scan all your annotated PDFs and find which ones discuss a topic |
Installation
Option A — uvx from GitHub (recommended, no cloning required)
Requires uv to be installed.
claude mcp add hypothesis -e HYPOTHESIS_API_KEY=your-key-here -- uvx --from git+https://github.com/imankgoyal/hypothesis-mcp hypothesis-mcpOption B — local install
git clone https://github.com/imankgoyal/hypothesis-mcp
cd hypothesis-mcp
python3 -m venv .venv
.venv/bin/pip install -e .
claude mcp add hypothesis \
-e HYPOTHESIS_API_KEY=your-key-here \
-- /path/to/hypothesis-mcp/.venv/bin/hypothesis-mcpClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hypothesis": {
"command": "uvx",
"args": ["--from", "git+https://github.com/imankgoyal/hypothesis-mcp", "hypothesis-mcp"],
"env": {
"HYPOTHESIS_API_KEY": "your-key-here"
}
}
}
}Troubleshooting
uvx not found
Claude Code and Claude Desktop launch MCP servers without inheriting your shell PATH, so uvx may not be found even if it works in your terminal.
Fix: Use the full path to uvx. Find it with:
which uvxThen replace uvx in the install command with the full path, e.g.:
# Claude Code
claude mcp add hypothesis -e HYPOTHESIS_API_KEY=your-key-here -- /Users/yourname/.local/bin/uvx --from git+https://github.com/imankgoyal/hypothesis-mcp hypothesis-mcp// Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"hypothesis": {
"command": "/Users/yourname/.local/bin/uvx",
"args": ["--from", "git+https://github.com/imankgoyal/hypothesis-mcp", "hypothesis-mcp"],
"env": {
"HYPOTHESIS_API_KEY": "your-key-here"
}
}
}
}If uv is not yet installed, follow the uv installation guide — uvx is included.
PDF URL formats
read_pdf accepts both formats:
https://arxiv.org/pdf/2507.05331
chrome-extension://bjfhmglciegochdpefhhlphglcehbmek/pdfjs/web/viewer.html?file=https%3A%2F%2Farxiv.org%2Fpdf%2F2507.05331Paste either directly — the chrome-extension URL is automatically unwrapped.
Self-hosted Hypothesis
Point the server at your own instance by setting HYPOTHESIS_BASE_URL:
claude mcp add hypothesis \
-e HYPOTHESIS_API_KEY=your-key-here \
-e HYPOTHESIS_BASE_URL=https://your-hypothesis-instance.com/api \
-- uvx hypothesis-mcpLicense
Apache 2.0 — see LICENSE. Any modifications must credit Ankit Goyal as the original author and state what was changed (per Apache 2.0 Section 4(b)).
This server cannot be deployed
Maintenance
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.31801 npm920MIT
- AlicenseAqualityAmaintenanceMCP server for Mendeley reference manager - search, retrieve, and manage your academic library from Claude and other MCP clients18225 PyPI39MIT
- AlicenseBqualityCmaintenanceA local MCP server that gives Claude a durable reading room for EPUB and plain text books, enabling chunk-by-chunk navigation, annotations, progress tracking, and shared margin cards.26113MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Outline that gives Claude the ability to search and read documents from your Outline instance.MIT