Hypothesis
БесплатноНе проверенMCP server for the Hypothesis annotation service, enabling Claude to search, create, and manage annotations, as well as read and discover PDFs from your library
Описание
MCP server for the Hypothesis annotation service, enabling Claude to search, create, and manage annotations, as well as read and discover PDFs from your library.
README
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-mcp
That's it — no cloning, no venv, no config files. Requires uv.
Tools
| Tool | Description |
|---|---|
search_annotations |
Search annotations by URL, user, group, tag, text |
get_annotation |
Fetch a single annotation by ID |
create_annotation |
Create an annotation with optional quote/selectors |
update_annotation |
Update annotation text or tags |
delete_annotation |
Delete an annotation |
flag_annotation |
Flag an annotation for moderation |
hide_annotation / unhide_annotation |
Hide or unhide an annotation |
list_groups / get_group |
List or fetch groups |
get_user_profile |
Fetch the authenticated user's profile |
read_pdf |
Extract text from a PDF URL (direct or Chrome extension viewer format) |
discover_pdfs |
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-mcp
Option 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-mcp
Claude 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 uvx
Then 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.05331
Paste 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-mcp
License
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)).
Установить Hypothesis в Claude Desktop, Claude Code, Cursor
unyly install hypothesis-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add hypothesis-mcp -- uvx --from git+https://github.com/imankgoyal/hypothesis-mcp hypothesis-mcpFAQ
Hypothesis MCP бесплатный?
Да, Hypothesis MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Hypothesis?
Нет, Hypothesis работает без API-ключей и переменных окружения.
Hypothesis — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Hypothesis в Claude Desktop, Claude Code или Cursor?
Открой Hypothesis на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Hypothesis with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
