sciverse-mcp-server 0.11.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- export declare const TOOLS_VERSION = "0.11.2";
1
+ export declare const TOOLS_VERSION = "0.12.0";
2
2
  export interface ToolDef {
3
3
  name: string;
4
4
  description: string;
@@ -1,6 +1,6 @@
1
1
  // Auto-generated by scripts/gen-tools.mjs. Do not edit.
2
2
  // Source of truth: openapi.yaml
3
- export const TOOLS_VERSION = "0.11.2";
3
+ export const TOOLS_VERSION = "0.12.0";
4
4
  export const TOOLS = [
5
5
  {
6
6
  "name": "search_papers",
@@ -184,6 +184,48 @@ export const TOOLS = [
184
184
  ]
185
185
  }
186
186
  },
187
+ "filters": {
188
+ "type": "object",
189
+ "description": "结构化过滤(可选)。在召回阶段与语义检索同时生效(ES+Milvus 双引擎下推,\n不是结果后过滤);多个字段之间 AND,同一字段传数组时数组内 OR。\n⚠️ 宽松(软)语义:chunk 侧元数据缺失的文档不会被排除——例如按年份过滤时,\n缺年份信息的 chunk 仍可能返回。需要严格范围保证时勿当硬约束使用,\n表述结论时注明范围为\"近似过滤\"。\n数值/日期字段支持区间:{\"gte\":2020,\"lte\":2025} 或 [min,max](null 表示一侧不限);\n日期接受 YYYY / YYYY-MM / YYYY-MM-DD。\n实际可用字段受账号字段权限约束;未知字段服务端返回 400。\n例:{\"author\":[\"Hinton\"],\"publication_published_year\":{\"gte\":2023},\n \"topics\":{\"dimensions\":{\"primary_topic_domain\":\"Health Sciences\"}}}\n",
190
+ "properties": {
191
+ "lang": {
192
+ "description": "语言代码,如 \"en\"、\"zh\";也接受别名 language。"
193
+ },
194
+ "metadata_type": {
195
+ "description": "资源类型,仅单值:\"paper\" 或 \"ebook\"。"
196
+ },
197
+ "author": {
198
+ "description": "作者名,string 或 string[](数组=任一命中)。"
199
+ },
200
+ "publication_venue_name_unified": {
201
+ "description": "发表载体名称(期刊/会议,规范化名,适合精确匹配)。"
202
+ },
203
+ "publication_venue_type": {
204
+ "description": "载体类型:\"journal\"、\"conference\"、\"repository\"、\"book series\"、\"ebook platform\"、\"metadata\"、\"raidRegistry\"、\"igsnCatalog\"、\"other\"(不区分大小写)。"
205
+ },
206
+ "publication_published_year": {
207
+ "description": "发表年份,单值或区间({\"gte\":..,\"lte\":..} / [min,max])。"
208
+ },
209
+ "publication_published_date": {
210
+ "description": "发表日期,\"YYYY[-MM[-DD]]\" 单值或区间。"
211
+ },
212
+ "citation_count": {
213
+ "description": "被引次数,单值或区间。"
214
+ },
215
+ "influential_citation_count": {
216
+ "description": "高影响力被引次数,单值或区间。"
217
+ },
218
+ "title": {
219
+ "description": "标题精确匹配(标题检索一般更适合 search_papers)。"
220
+ },
221
+ "topics": {
222
+ "description": "主题组合过滤:{\"logic\":\"and|or\",\"dimensions\":{\"primary_topic\":\"...\",\"primary_topic_domain\":\"Physical Sciences|Social Sciences|Health Sciences|Life Sciences\"}};logic 省略默认 or。"
223
+ },
224
+ "doc_id": {
225
+ "description": "唯一的硬约束字段(其余字段均为软语义):命中绝不越出给定集合。\n值为 64 位小写 hex sha256(即 search_papers 返回的 doc_id;仅有全文的论文才有),\nstring 或 string[],仅 eq/in。去重后上限默认 1000,超限返回 400 SCOPE_TOO_LARGE;\n显式传空数组返回 200 空 hits(候选集为空,不退化为全局检索)。\n典型用法:先 search_papers 圈定候选集合,再在集合内做受限语义检索。\n"
226
+ }
227
+ }
228
+ },
187
229
  "mode": {
188
230
  "type": "string",
189
231
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sciverse-mcp-server",
3
- "version": "0.11.2",
3
+ "version": "0.12.0",
4
4
  "description": "Sciverse MCP server — exposes academic paper retrieval (search_papers / semantic_search / read_content) to MCP-compatible coding agents (Claude Code, Cursor, Codex CLI, Windsurf, ...).",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/opendatalab/Sciverse-Agent-Tools/tree/main/packages/mcp",