Clearfund: follow a donation through every re-granting hop
说明与用途
Clearfund 是一个聊天机器人,使用 IRS 990 数据和 Sanity 可视化捐赠通过中间机构的路径。
问题
Users want to know how many intermediary hops a donation takes before reaching a program, but IRS Form 990 Schedule I tables are rarely read.
结果
Clearfund delivers accurate, source‑linked donation paths without login, enabling transparency of grant flows.
工作流
- 1. User asks a question in the chat UI.
- 2. The agent sends the question to Vercel AI SDK’s streamText, which selects tools.
- 3. Context MCP endpoint supplies background on organizations via a Knowledge Base.
- 4. Custom GROQ tools (traceChain, getGrantsByFunder, getGrantsByRecipient, findIntermediaries) query the Sanity dataset for exact grant data.
- 5. The agent assembles the chain diagram and grant table from tool outputs.
- 6. Each grant entry links to its IRS filing via sourceObjectId.
证据
Clearfund is a chat agent that answers questions like "If I donate to Silicon Valley Community Foundation, how many hops before it reaches a program?"
Each answer comes with: a chain diagram showing each hop, sized by grant amount; a grant table with amounts, years and purposes; a link on every grant to the original IRS filing
The agent connects to the Knowledge Base through the Context MCP endpoint. It reads the entry outline with initial_context, then uses knowledge_base_search and knowledge_base_read to find and open the entries it needs.
For anything that must be exactly right, the agent also calls four custom tools that run GROQ queries against the dataset.
- 记录日期: 2026-10-04T07:41:01.745Z