DocQuery

Read-only MCP over your Excel or Airtable plus the PDFs beside it, joined as one relational dataset.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
65%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~901token 数(工具定义)
~1.0 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.70%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "docquery": {
      "url": "https://docquery.io/api/v1/mcp"
    }
  }
}

远程端点

https://docquery.io/api/v1/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢list_tables

List all tables in the workspace. Call this first to learn table and column slugs. Returns slug, name, row_count, and columns (slug, name, type, primary_key) for each table. Document-extracted tables include source_document {id, filename, url}. source_document is null for CSV, Excel, Google Sheets, and Airtable. url is the signed-in document page; original file bytes are not stored, so it is not a download. Cite source_document.filename when you report a value taken from a document.

输入模式

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢list_relations

List the relations (foreign keys) between tables in the workspace. Each relation has from and to as "table_slug.column_slug" and a kind. Use it to find which columns link two tables before calling related_rows. Read-only; returns an empty list when no relations are defined.

输入模式

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢query_table(offset, filter, search, columns, limit, ...)

Read rows from a table. Optional filter is an exact-match map of column slug => value; optional search is a case-insensitive substring match across all cells. Returns source_document for the table (null for spreadsheets and Airtable). Each row includes source_page: the 1-based PDF page, PowerPoint slide, or Google Slides slide the row was extracted from, or null when the page is unknown (Word, ODT, RTF, spreadsheets, Airtable, manually created rows, or a row that spans pages). Cite source_document.filename and source_page when an extracted value looks wrong. Do not invent a page when source_page is null. If a column is already named source_page, the page is returned as _source_page.

输入模式

{
  "type": "object",
  "properties": {
    "offset": {
      "default": 0,
      "type": "integer",
      "description": "Rows to skip, for paging past the first page. Use offset + returned while it is below total."
    },
    "filter": {
      "type": "object",
      "description": "Optional exact-match filter: column slug => value.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "search": {
      "type": "string",
      "description": "Optional case-insensitive text search: keeps rows where any cell contains this text (e.g. part of a name or invoice number). Combines with filter; total counts matches."
    },
    "columns": {
      "type": "array",
      "description": "Optional column slugs to return (from list_tables). Omit for all columns. source_page is always included.",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "default": 25,
      "type": "integer",
      "description": "Maximum rows to return (default 25, max 100)."
    },
    "table_slug": {
      "type": "string",
      "description": "Slug of the table to read (from list_tables)."
    }
  },
  "required": [
    "table_slug"
  ]
}
🟢related_rows(value, column, table_slug)

Follow a relation from a source table to the rows it links to. Given a column on `table_slug` that participates in a relation and a `value` (usually a cell from a source row), returns the matching rows in the linked table. Works in both directions. Each linked table includes source_document when it came from an uploaded document, and each row includes source_page (or null). Cite the filename and page; do not invent a page.

输入模式

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "The value to match across the relation."
    },
    "column": {
      "type": "string",
      "description": "A column on table_slug that participates in a relation."
    },
    "table_slug": {
      "type": "string",
      "description": "Slug of the source table (from list_tables)."
    }
  },
  "required": [
    "table_slug",
    "column",
    "value"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具