关于 JAIL Search
JAIL Search 是一个跨领域文档搜索服务,覆盖学术论文、图书、代码、法律案例、论坛和维基百科等来源。README 标注后端离线;其 MCP 工具支持搜索与获取文档元数据。
主要功能
- 01搜索多类文档与内容来源
- 02按类型筛选并使用游标分页
- 03按文档 ID 获取完整元数据
- 04支持托管端点及本地 stdio 接入
适用场景
- 01跨来源查找论文、法律案例或代码
- 02检索论坛讨论与百科内容
- 03获取搜索结果对应的文档元数据
MCP 相关
提供托管 MCP 端点及 npm、PyPI 的 stdio 接入方式,向 MCP 客户端暴露 search 和 detail 工具。README 当前注明后端离线。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://api.jail.li/mcpclaude mcp add --transport http mefengl-jail https://api.jail.li/mcp{"mcpServers":{"mefengl-jail":{"type":"http","url":"https://api.jail.li/mcp"}}}在 Cursor 中打开{"servers":{"mefengl-jail":{"type":"http","url":"https://api.jail.li/mcp"}}}在 VS Code 中打开{"mcpServers":{"mefengl-jail":{"type":"http","url":"https://api.jail.li/mcp"}}}{"mcpServers":{"mefengl-jail":{"serverUrl":"https://api.jail.li/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
JAIL Search — MCP 服务
状态:后端离线。
搜索超过 10 亿份文档——论文、书籍、代码、法律案例、论坛、Wikipedia 等。
安装
连接到托管的 MCP 服务:
https://api.jail.li/mcp
获取 API 密钥以提高限额——在 URL 后追加 ?jailApiKey=。
Claude Code
claude mcp add --transport http jail https://api.jail.li/mcp
使用 API 密钥:
claude mcp add --transport http jail "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Codex
codex mcp add jail --url https://api.jail.li/mcp
使用 API 密钥:codex mcp add jail --url "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Cursor
添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"jail": {
"url": "https://api.jail.li/mcp"
}
}
}
使用 API 密钥:"url": "https://api.jail.li/mcp?jailApiKey=sk_live_..."
VS Code
添加到 .vscode/mcp.json:
{
"servers": {
"jail": {
"type": "http",
"url": "https://api.jail.li/mcp"
}
}
}
使用 API 密钥:"url": "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows):
{
"mcpServers": {
"jail": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.jail.li/mcp"]
}
}
}
使用 API 密钥:"args": ["-y", "mcp-remote", "https://api.jail.li/mcp?jailApiKey=sk_live_..."]
OpenCode
添加到你的 opencode.json:
{
"mcp": {
"jail": {
"type": "remote",
"url": "https://api.jail.li/mcp",
"enabled": true
}
}
}
使用 API 密钥:"url": "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Copilot CLI
编辑 ~/.copilot/mcp-config.json:
{
"mcpServers": {
"jail": {
"type": "http",
"url": "https://api.jail.li/mcp"
}
}
}
使用 API 密钥:"url": "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Windsurf
添加到 ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"jail": {
"serverUrl": "https://api.jail.li/mcp"
}
}
}
使用 API 密钥:"serverUrl": "https://api.jail.li/mcp?jailApiKey=sk_live_..."
Hermes
添加到 ~/.hermes/config.yaml:
mcp_servers:
jail:
url: "https://api.jail.li/mcp"
使用 API 密钥:url: "https://api.jail.li/mcp?jailApiKey=sk_live_..."
或者安装技能:hermes skill install jail-search
通过 npm 包安装
使用 npm/pypi 包进行 stdio 传输
{
"mcpServers": {
"jail": {
"command": "npx",
"args": ["-y", "jail-mcp@latest"]
}
}
}
也可以使用 Python:"command": "uvx", "args": ["jail-mcp"]
在 stdio 模式下使用 API 密钥:"env": { "JAIL_API_KEY": "sk_live_..." }
工具
| 工具 | 功能 |
|---|---|
search | 搜索所有内容类型。可按类型筛选,并使用游标翻页。 |
detail | 根据文档 ID 获取完整元数据。 |
内容类型
| 类型 | 来源 |
|---|---|
| academic | OpenAlex、arXiv、Semantic Scholar、DBLP |
| books | 书籍、数字图书馆、古典文学 |
| wiki | Wikipedia — en、zh、de、fr、es、ru、ja、ko + 另外 10 种语言 |
| forums | Hacker News、StackExchange、Lobsters、LessWrong 等 60 多个来源 |
| legal | Harvard Case Law、CourtListener、EUR-Lex、UK Legislation |
| news | 新闻文章与新闻报道 |
| packages | npm、PyPI、Crates.io、Libraries.io |
| economics | World Bank、IMF、FRED、ECB、BLS、Tax Foundation |
| knowledge | Wikidata、结构化知识 |
| video | IMDb、YouTube |
| music | Discogs、MusicBrainz |
| health | 临床试验、食品安全 |
| geo | 世界地名、地理数据 |
| tech | Dev.to、产品社区论坛 |
| social | Reddit、Mastodon、Lemmy、fediverse |
| fandom | 粉丝维基文章、社区知识 |
| crypto | DeFi 协议、代币数据、链上分析 |
| predictions | 预测市场、预测 |
| audio | 播客与音频内容 |
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。