notion-household-finance-mcp

notion-household-finance-mcp

Provides tools for querying and writing finance records in a Notion-backed household finance workspace, enabling management of budgets, expenses, savings, and debt through natural language.

Category
访问服务器

README

Notion Household Finance

Codex plugin and local MCP server for managing a Notion-backed household finance workspace.

This repository is designed for a personal Notion setup with Korean household-finance databases. It provides deterministic Notion API tools for querying and writing finance records, while keeping secrets and data source IDs outside the repository.

What This Includes

  • A Codex plugin manifest at .codex-plugin/plugin.json
  • A local MCP server at scripts/mcp_server.mjs
  • A small CLI at scripts/notion_household_finance.mjs
  • A Codex skill at skills/notion-household-finance/SKILL.md
  • Example config files under examples/

Requirements

  • Node.js 20 or newer
  • A Notion integration token with access to the target databases
  • A local data source config file
  • Codex plugin support

Configuration

Create a local config file. The default location is:

~/.config/household-finance/config.json

Use examples/config.example.json as the shape:

{
  "databases": {
    "monthly_budget": "notion-data-source-id",
    "fixed_expense": "notion-data-source-id",
    "income_expense": "notion-data-source-id",
    "debt": "notion-data-source-id",
    "repayment": "notion-data-source-id",
    "savings_goal": "notion-data-source-id",
    "savings_record": "notion-data-source-id",
    "investment": "notion-data-source-id",
    "spending_limit": "notion-data-source-id"
  }
}

Set these environment variables on the machine that will run Codex:

export NOTION_TOKEN="secret_notion_token_here"
export NOTION_VERSION="2026-03-11"

Optional:

export HOUSEHOLD_FINANCE_CONFIG="/absolute/path/to/config.json"

Do not commit .env, local config files, Notion tokens, or real data source IDs.

Install As A Personal Codex Plugin

Clone this repo into the personal plugin directory:

mkdir -p ~/.agents/plugins/plugins
git clone https://github.com/atototo/notion-household-finance.git ~/.agents/plugins/plugins/notion-household-finance

Create or update ~/.agents/plugins/marketplace.json using examples/marketplace.example.json as the shape. The important plugin source path is:

{
  "source": {
    "source": "local",
    "path": "./plugins/notion-household-finance"
  }
}

After Codex reloads plugins, the plugin should appear as notion-household-finance@personal.

CLI Usage

Inspect a configured data source:

node scripts/notion_household_finance.mjs inspect-data-source income_expense

Query a configured data source:

node scripts/notion_household_finance.mjs query-data-source income_expense --page-size 10

Create a raw page:

node scripts/notion_household_finance.mjs create-page income_expense --properties-json '{"내역":{"title":[{"type":"text","text":{"content":"테스트"}}]}}'

MCP Tools

The plugin exposes these MCP tools when loaded by Codex:

  • notion_hf_health_check
  • notion_hf_inspect_data_source
  • notion_hf_query_data_source
  • notion_hf_create_page
  • notion_hf_find_monthly_budget
  • notion_hf_create_monthly_budget
  • notion_hf_create_variable_spending_limits
  • notion_hf_record_transaction
  • notion_hf_record_repayment
  • notion_hf_record_savings

Security

This repository should not contain:

  • Notion tokens
  • Real .env files
  • Real personal finance exports
  • Private Notion page IDs unless you intentionally keep the repo private

Before publishing, run a local secret scan or inspect the diff manually.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选