styx-search
Enables MCP clients such as Claude to search over 450,000+ open-access papers, standards, and legal documents, download PDFs, retrieve citations, and fetch full document metadata.
README
styx-search
Search 450,000+ open-access papers, standards, textbooks, and legal documents — right from your terminal or your AI agent.
styx-search is a zero-configuration CLI and Model Context Protocol (MCP) server for the Styx Open Knowledge Archive. Every source in the archive is open access or public domain — no paywalls, no accounts required to search.
- For humans — search, export BibTeX/APA/MLA/Chicago citations, and download PDFs to disk with one command.
- For AI agents — a stdio MCP server with four tools, so Claude, Cursor, Windsurf, OpenCode, or any MCP client can search papers and save PDFs into your workspace.
- 100% self-contained — talks only to the public HTTPS API. No API keys, no sign-up, no internal infrastructure.
Install
pip install styx-search
Or from source:
git clone https://github.com/0x923041-dotcom/styx-cli.git
cd styx-cli
pip install .
Requires Python 3.8+.
Quick start
# Search — supports source:/lang:/category: directives
styx search "attention is all you need" --limit 5
styx search "source:nist zero trust" --category "Computer Science & Tech"
styx search "source:eurlex AI act" --json
styx search "meditations marcus aurelius" --markdown # for Obsidian/Notion
# Download the original PDF
styx download 297465 -o paper.pdf # by document ID
styx download "https://arxiv.org/pdf/2604.21816v1.pdf" # by URL
# Citations
styx cite 7288 --format bibtex
styx cite 7288 --format apa
# Document metadata
styx info 2844
# License key (Pro) + quota
styx auth STYX-XXXX-XXXX-XXXX
styx quota
# AI agent server
styx mcp
Example
$ styx search "source:nist zero trust" --limit 3
Styx - 3 results for "source:nist zero trust"
# Year Title Author Source
1 n.d. NIST SP 1800-35: Implementing a Zero Scott Rose (NIST); .. NIST
Trust Architecture: High...
2 n.d. NIST SP 800-207: Zero Trust Scott Rose (NIST); .. NIST
Architecture
3 n.d. NIST SP 800-207A: A Zero Trust Ramaswamy Chandramo.. NIST
Architecture Model for Access ...
Tip: styx download 2844 saves the PDF, styx cite 2844 exports a citation.
Search directives
The CLI understands the same directives as the Styx web app — they are stripped from the query and applied as real filters:
| Directive | Example | Effect |
|---|---|---|
source: / src: |
source:nist |
Restrict to one or more sources (source:nist source:owasp) |
lang: / language: |
lang:it |
Restrict to a language (ISO code) |
category: / cat: |
cat:"Law & Regulation" |
Restrict to a category tab |
Directives can be combined freely: styx search "cat:\"Computer Science & Tech\" source:nist lattice cryptography".
Model Context Protocol (MCP)
The styx mcp command starts a stdio JSON-RPC MCP server. It is dependency-free
(no MCP SDK required) and works with any MCP client.
Tools
| Tool | Description |
|---|---|
styx_search |
Search the archive (query, limit, category). Returns structured results with titles, authors, years, source, snippet, and direct_pdf_url. |
styx_download_pdf |
Download the original PDF for a document ID or URL to a local path. |
styx_get_citation |
BibTeX / APA / MLA / Chicago citation for a document ID. |
styx_get_document |
Full metadata (description, license, source, direct PDF URL) for a document ID. |
Claude Desktop
Add to claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"styx": {
"command": "styx",
"args": ["mcp"]
}
}
}
Cursor
Settings → Cursor Settings → MCP → Add new MCP server:
{
"mcpServers": {
"styx": {
"command": "styx",
"args": ["mcp"]
}
}
}
After adding, restart the client and you can ask, for example:
"Find the NIST post-quantum encryption standard and download the PDF into my workspace."
Manual smoke test
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | styx mcp
Fair use
Every source in Styx is open access or public domain, and searching is free. To keep the archive open for everyone, a trial allowance applies per client (and then a rate limit). When a limit is reached, the CLI returns a clear, non-blocking message:
Free trial allowance exhausted. Add a license key to continue at higher
limits: docs at https://styx-iota.vercel.app or `styx auth <key>`.
Add a license key once with styx auth <key> — it is stored in
~/.styx/config.json and sent with every request. No account or sign-up is
required to search.
Development
pip install -e . pytest
pytest tests/ # 36 offline tests (mocked HTTP, no network)
License
MIT — see LICENSE.
Built on the Styx Open Knowledge Archive — 500+ living sources: arXiv, NIST, OWASP, CISA, PubMed/PMC, MIT OpenCourseWare, EUR-Lex, Project Gutenberg, and more.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。