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.
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_checknotion_hf_inspect_data_sourcenotion_hf_query_data_sourcenotion_hf_create_pagenotion_hf_find_monthly_budgetnotion_hf_create_monthly_budgetnotion_hf_create_variable_spending_limitsnotion_hf_record_transactionnotion_hf_record_repaymentnotion_hf_record_savings
Security
This repository should not contain:
- Notion tokens
- Real
.envfiles - 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.