Skip to main content
Glama
Anchorage Open Checkbook MCP

Anchorage Open Checkbook MCP

OpenContext — Anchorage Open Checkbook 分支

License: MIT Python 3.11+ MCP Compatible

这个 OpenContext 分支部署了 Anchorage Open Checkbook MCP(anchorage_checkbook 插件)——针对 Municipality of Anchorage 未经审计的支出、工资、采购和收入表的只读工具,并将数据集的陷阱(重复双重加载、快照日期、净额、未规范化的供应商名称)编码到工具行为中。参见 docs/CHECKBOOK.md 和 METHODOLOGY.md —— 此服务器的总计有意与公共 MOA 仪表板不同(默认过滤重复项)。


快速开始

# 1. Configure (this fork ships its config ready to go)
cp config-anchorage-checkbook.yaml config.yaml

# 2. Test locally
pip install aiohttp
python3 scripts/local_server.py

# 3. Deploy
./scripts/deploy.sh --environment staging

通过 Claude Connectors 连接(在 Claude.ai 和 Claude Desktop 上的步骤相同):

  1. 转到 设置 → 连接器(或在 claude.ai 上为 自定义 → 连接器)

  2. 点击 添加自定义连接器

  3. 输入名称(例如 "Anchorage Open Checkbook")和你的 API Gateway URL

获取 URL:cd terraform/aws && terraform output -raw api_gateway_url

完整设置请参阅 入门指南。


Related MCP server: USAspending MCP

文档

文档

描述

入门指南

设置与使用

架构

系统设计与插件

部署

AWS、Terraform、监控

测试

本地测试(Terminal、Claude、MCP Inspector)

Anchorage Checkbook

Open Checkbook MCP 服务器(此分支的插件)

方法论

默认去重的决策,以及总计为何与 MOA 仪表板不同


试用

公共部署位于 https://checkbook.codeforanchorage.org/mcp。将其添加为自定义连接器,然后提出如下问题:

  • "Municipality of Anchorage 在 FY2025 按部门支出了多少?"

  • "MOA 总共向 Chugach Electric 支付了多少,包括该名称的所有拼写?"

  • "显示 FY2024 中超过 $1M 的采购。"

每个答案都会附带其限定条件——数字已扣除抵消项,重复的 ETL 行默认被过滤,已知的数据缺口会被标记出来,而不是报告为零。关于这些总计为何有意与公共 MOA 仪表板不同,请参阅 方法论。


贡献

Pre-commit 钩子(可选):

pip install pre-commit
pre-commit install

钩子:Ruff、yamllint、gofmt。手动运行:pre-commit run --all-files。


许可证

MIT — 参见 LICENSE。

作者: Srihari Raman,City of Boston Department of Innovation and Technology

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Read-only MCP server for exploring US federal spending data via the USAspending.gov API, enabling natural language queries on awards, agencies, recipients, and spending trends.
    12
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A free, key-less MCP server for querying U.S. federal spending data from USAspending.gov, including contracts, grants, loans, recipients, agencies, and geographic breakdowns.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Read-only MCP server for Rocket Money that lets you browse your accounts, transactions, spending, budgets, net worth, and subscriptions through natural language.
    15
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A read-only MCP server for querying Los Angeles City legislative data - Council Files, votes, member activity, and Neighborhood Council engagement - through parameterized tools without raw SQL.
    1
    -