Skip to content
Trending storyObserving

Spill 拦截超大 MCP 响应并转存 DuckDB 查询

1 report1 reporting sourceUpdated 1 day ago

Understand the story

AI synthesis

2026 年 10 月 6 日,Hacker News 上出现一个名为 Spill 的 Apache-2.0 开源工具,用于处理 MCP 工具返回结果过大的问题。其做法是通过 Hook 拦截超过 32 KiB 的 MCP 工具返回,把内容存为本地 DuckDB 表(路径为 ~/.spill/spill.duckdb),智能体只拿到一个紧凑描述符,之后用 SQL 查询数据,而不是把 5 万 token 的原始 JSON 读进上下文。目前该报道只介绍了工具的设计与用法,未提及后续版本、采用情况或争议。

Generated by AI from reports · Updated 11 hours ago

Report timeline

Follow the reports to explore different perspectives.

10/6
  1. Hacker News · MCPSelected
    Spill:把超大的 MCP 返回结果移出上下文,存入本地 DuckDB

    Spill 是一个 Apache-2.0 开源工具,通过 Hook 拦截超过 32 KiB 的 MCP 工具返回,将其存为本地 DuckDB 表(~/.spill/spill.duckdb),智能体只拿到一个紧凑描述符,再用 SQL 查询而不是读入 5 万 token 的原始 JSON。

Interest in this story

Current interest 5·Peak within comparable coverage 7(Oct 6, 15:00)·Change over 24 hours within comparable coverage –

0246810/615:0010/619:0010/622:0010/702:00

The trend compares the same participants under continuous, complete observation, so its coverage may be narrower than the current score. Hover or tap to view hourly interest; use the left and right arrow keys to navigate.