公共API搜索工具

从public-apis获取公共API列表并进行搜索的工具。

  • by sitek94
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 sitek94/public-apis-mcp

使用说明

公共API MCP

从以下位置列出和搜索公共API 公共api.

用法

添加到您的 mcp.json 要使用npm的最新版本:

{
  "public-apis-mcp": {
    "name": "Public APIs",
    "description": "Get list of public APIs from github.com/public-apis",
    "command": "npx",
    "args": ["-y", "public-apis-mcp@latest"]
  }
}

发展

  • 需要 包子
  • 安装: bun install
  • 构建: bun run build
  • 观看: bun run build:watch
  • 检查员: bun inspector

要使用本地版本,请将以下内容添加到您的 mcp.json:

{
  "public-apis-mcp": {
    "name": "Public APIs",
    "description": "Get list of public APIs from github.com/public-apis",
    "command": "node",
    "args": [
      "<PATH_TO_THIS_REPO>/build/index.mjs"
    ]
  }
}