回忆数据多功能 feeds 服务器是一个基于 Model Context Protocol (MCP) 的服务器,它提供了多种数据源接口,涵盖 Twitter、Substack 和 CoinGecko。借助该服务器,AI 模型能够通过统一接口便捷地访问和分析来自多个来源的数据。
安装并构建服务器:
npm install
npm run build
在 Claude 中,前往设置 -> 开发者 -> 添加 MCP 端点。
添加以下配置:
{
"command": "run",
"args": ["node", "dist/src/index.js"]
}
重启 Claude 完成集成。
运行以下命令安装所需依赖:
npm install @types/node typescript ts-node
调用 twitter-get-profile 工具:
await tools.call({
tool: "twitter-get-profile",
args: {
username: "用户名"
}
});
调用 twitter-search-tweets 工具:
await tools.call({
tool: "twitter-search-tweets",
args: {
query: "搜索词"
}
});
调用 substack-get-recent-posts 工具:
await tools.call({
tool: "substack-get-recent-posts",
args: {
substackId: "子堆栈 ID"
}
});
调用 coingecko-get-price 工具:
await tools.call({
tool: "coingecko-get-price",
args: {
tokenId: "代币 ID"
}
});
recall-data-omnifeeds/
├── src/
│ ├── index.ts # 主服务器入口
│ ├── twitter-client.ts # Twitter API 客户端
│ ├── substack-client.ts # Substack API 客户端
│ ├── coingecko-client.ts # CoinGecko API 客户端
│ └── tools/ # MCP 工具实现
├── dist/ # 编译后的 JavaScript 文件
├── package.json # 项目配置
└── tsconfig.json # TypeScript 配置
npm run build
npm test
本项目采用 ISC 许可证。
git checkout -b feature/amazing-feature)。git commit -m '添加一些精彩的功能')。git push origin feature/amazing-feature)。