mcpField
A
Agentdb

Agentdb

本地服务
github.com/AgentBC9000记忆与知识120 周前更新

关于 Agentdb

AgentDB 是定期更新的精选知识库,将 40 个来源的内容整理为结构化摘要,供 AI Agent 使用。它适用于需要推理时新鲜上下文的 Agent,并通过 MCP 工具提供最新内容检索和关键词搜索。

主要功能

  1. 01精选 40 个来源的内容
  2. 02每周更新三次
  3. 03结构化摘要 JSON 记录
  4. 04检索最新内容与关键词搜索

适用场景

  1. 01获取近期 AI 与科技动态
  2. 02按关键词查找市场或创业摘要
  3. 03为兼容 MCP 的 Agent 提供新鲜上下文

MCP 相关

MCP 服务提供 `get_latest_knowledge`,可筛选并获取最新条目;`search_knowledge` 可搜索标题和摘要中的关键词。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

AgentDB

为 AI Agent 提供新鲜的 RAG 上下文——每周一、三、五更新。

License: MIT Python MCP Updated

AgentDB 是一个精选知识库,供 Agent 在推理时查询。它涵盖 40 个来源,包括 AI/科技、初创公司、另类市场和新兴经济体;内容经过抓取、AI 摘要处理,并整理为适用于 Agent 的 JSON。

不到 2 分钟,即可将它连接到 Claude Desktop、Cursor 或任何兼容 MCP 的 Agent。

网站 · 申请访问权限


为什么选择 AgentDB

Agent 在推理时需要最新信息,但原始来源会占用大量上下文。一段播客文字稿约需 2,400 个 token;AgentDB 中对应内容约需 160 个 token,是包含要点、标签和置信度评分的结构化摘要。信号相同,上下文用量减少约 15 倍。

{
  "title": "DeepSeek v4 and the limits of scaling",
  "content_type": "article",
  "summary": "DeepSeek's mixture-of-experts approach cuts inference cost...",
  "body": {
    "source_name": "Ars Technica",
    "key_points": [
      "MoE reduces active parameters by 4× at inference",
      "Outperforms GPT-4o on coding benchmarks",
      "Open weights released under MIT licence"
    ]
  },
  "tags": ["ai", "llm", "open-source"],
  "confidence": 0.93,
  "published_at": "2026-05-26T07:00:00Z"
}

工作原理

GitHub Actions (Mon/Wed/Fri 07:00 UTC)
    ↓
scraper/run.py — fetches RSS/HTML from 40 sources
    ↓
scraper/summariser.py — DeepSeek Flash → structured JSON
    ↓
scraper/ingest.py — writes to Supabase via PostgREST
    ↓
mcp/server.py — exposes knowledge as MCP tools

技术栈: Python · GitHub Actions · DeepSeek Flash · Supabase(pgvector)· Cloudflare Pages

运行成本: 每月约 £2–3(仅 DeepSeek API 调用费用——其他所有服务均使用免费套餐)。


MCP 服务(Claude Desktop / Cursor / Claude Code)

AgentDB MCP 服务为你的 Agent 提供两个工具:get_latest_knowledge 和 search_knowledge。

前提条件

安装 uv——它会自动处理 Python:

curl -LsSf https://astral.sh/uv/install.sh | sh
Claude Desktop

将以下内容添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "agentdb": {
      "command": "uv",
      "args": ["run", "/absolute/path/to/agentdb/mcp/server.py"],
      "env": {
        "AGENTDB_SUPABASE_URL": "your-supabase-url",
        "AGENTDB_API_KEY": "your-api-key"
      }
    }
  }
}
Claude Code(全局——适用于所有会话)

将以下内容添加到 ~/.claude.json:

{
  "mcpServers": {
    "agentdb": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "/absolute/path/to/agentdb/mcp/server.py"],
      "env": {
        "AGENTDB_SUPABASE_URL": "your-supabase-url",
        "AGENTDB_API_KEY": "your-api-key"
      }
    }
  }
}
Claude Code(项目级)

将 .mcp.json 添加到项目根目录:

{
  "mcpServers": {
    "agentdb": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "/absolute/path/to/agentdb/mcp/server.py"],
      "env": {
        "AGENTDB_SUPABASE_URL": "your-supabase-url",
        "AGENTDB_API_KEY": "your-api-key"
      }
    }
  }
}
手动测试
AGENTDB_SUPABASE_URL=https://xxxx.supabase.co \
AGENTDB_API_KEY=your-key \
uv run mcp/server.py

可用工具

get_latest_knowledge

获取最新内容,可按标签或内容类型筛选。

Parameters:
  limit         int     Items to return (1–50, default 10)
  tags          string  Comma-separated tag filter, e.g. "ai,startups"
  content_type  string  article | video | research | data
search_knowledge

按关键词搜索标题和摘要。

Parameters:
  query   string  Keyword or phrase (required)
  limit   int     Results to return (1–20, default 5)

来源

40 个来源 · 每周一、三、五 07:00 UTC 更新 · 无付费墙,无通讯社内容。

类别来源
科技 / AILex Fridman Podcast、Dwarkesh Podcast、Hard Fork、This Week in Tech、ChinaTalk、Ars Technica、Import AI、TLDR Tech、404 Media、Wired、arXiv AI
初创公司 / 风投Acquired、How I Built This、Y Combinator Blog、Y Combinator(YouTube)、TechCrunch、The Verge、Entrepreneur、The Generalist、Parsers VC
市场 / 宏观经济All-In Podcast、Prof G Markets、Zero Hedge、Calculated Risk、Econbrowser、A Wealth of Common Sense、The Big Picture、The Daily Upside、Asymco、Noahpinion
新兴市场Rest of World、TechCabal、Techpoint Africa、Disrupt Africa、Mint(印度)、Asia Times、The Hindu Business Line
政策 / 监管Politico Europe、arXiv Policy

定价

套餐价格请求数
试用版免费——14 天每天 100 次
基础版£29 / 月每天 1,000 次
专业版£79 / 月不限次数 + 自定义来源

申请访问权限 →


仓库结构

mcp/
  server.py           # MCP server — connect to Claude Desktop / Cursor
scraper/
  run.py              # Orchestrator — called by GitHub Actions
  sources.py          # 40 source definitions (RSS URLs, categories)
  scraper.py          # HTTP fetch + HTML parsing
  summariser.py       # DeepSeek Flash summarisation
  ingest.py           # Supabase PostgREST write
  keepalive.py        # Keeps Supabase free tier active
db/
  migrations/
    001_create_knowledge_table.sql
    002_read_policy.sql
.github/
  workflows/
    scraper.yml       # Mon/Wed/Fri scrape cron
    keepalive.yml     # Every 6h Supabase ping
index.html            # Website (agentdb.pages.dev)

自行托管

克隆仓库并设置 GitHub Actions 密钥:

DEEPSEEK_API_KEY       — DeepSeek API key (api.deepseek.com)
SUPABASE_URL           — Supabase project URL
SUPABASE_SERVICE_KEY   — Supabase service role key (for writes)
AGENTDB_DATABASE_URL   — Supabase direct DB URL (for keepalive)
RESEND_API_KEY         — Resend API key (for run reports)
REPORT_EMAIL           — Email to send scraper reports to

在 Supabase → SQL Editor 中运行 SQL 迁移:

  • db/migrations/001_create_knowledge_table.sql
  • db/migrations/002_read_policy.sql

在 knowledge 表上启用行级安全性,然后从 GitHub Actions → AgentDB Scraper → Run workflow 手动触发运行。


作者

由 Kevin Stephenson 构建——常驻伦敦、从事 Agent 基础设施工作的产品工程师。

agentdb.pages.dev · [email protected]

采用 MIT 许可证。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。