Open Source · Claude Code MCP 対応
Open Source · Claude Code MCP Ready

農業とITをつなぐ
作物データベース vegbook

Bridging Agriculture
and Technology with vegbook

家庭菜園から農業まで。コンパニオンプランツ・気候データ・収穫統計を、会話するだけで引き出せます。

From balcony gardens to commercial farms. Companion planting, climate data, harvest stats — all accessible through natural conversation.

GitHub で見る View on GitHub note で読む Read on note
100
作物品種
Crop varieties
161
コンパニオンプランツ
Companion plant pairs
52
農業用語
Glossary terms
10
MCP ツール
MCP tools
できること
What you can do

農業の知識を、必要なときに手元へ

Agricultural knowledge, when and how you need it

vegbook は Claude Code と連携する MCP サーバーとして動作します。自然な会話で、作物の育て方から収穫統計まで引き出せます。

vegbook runs as a Claude Code MCP server. Use natural language to access growing guides, companion planting data, climate records, and national harvest statistics.

今月何を植える?

What to plant this month?

季節・難易度・栽培環境(ベランダ・プランター・ほ場)で絞り込み。初心者にも農家にも使いやすい設計。

Filter by season, difficulty, and growing environment (balcony, planter, field). Designed for beginners and farmers alike.

vegbook_recommend · vegbook_search

コンパニオンプランツ

Companion planting

相性の良い・悪い組み合わせと効果の理由を 161 件収録。連作障害対策にも。

161 companion planting pairs with effect descriptions. Useful for crop rotation planning and pest management.

vegbook_companion

気候データ × 収穫統計

Climate data × Harvest stats

気象庁の地域別気候データと e-Stat の収穫量統計を内蔵。補助金申請や経営計画の参考に。

Built-in JMA regional climate data and e-Stat national harvest statistics. Useful for business planning and subsidy applications.

vegbook_climate · vegbook_harvest_stats

農業用語集

Agricultural glossary

「連作障害」「うどんこ病」「間引き」など 52 語を平易な言葉で解説。日英対応。

52 agricultural terms explained in plain language. Available in both Japanese and English.

vegbook_glossary

データの追加・更新

Add and update data

コンパニオンプランツの追加・作物フィールドの更新が Claude Code から直接できます。

Add companion plant entries and update crop fields directly from Claude Code chat.

vegbook_add_companion · vegbook_update_crop

SQLite で自由に使える

Direct SQLite access

vegbook.db は標準 SQLite3 ファイル。Python・Node.js・任意の言語からクエリを投げられます。

vegbook.db is a standard SQLite3 file. Query it directly from Python, Node.js, or any language you prefer.

Open Data · MIT License

MCP でも CLI でも

MCP or CLI — your choice

Claude Code に組み込んで会話で使う方法と、ターミナルから直接使う方法の2通りに対応しています。

Use it as a Claude Code MCP server for natural language access, or run it from the terminal as a CLI tool.

MCP(Claude Code 連携) MCP (Claude Code)

クローンして仮想環境を作成し、.mcp.json に設定を追加するだけで動作します。

Clone the repo, create a virtual environment, and add the config to .mcp.json.

git clone https://github.com/withagridream/vegbook.git
cd vegbook
python3 -m venv .venv
source .venv/bin/activate
pip install mcp

設定後は Claude Code のチャットに話しかけるだけ。

Then just ask Claude Code in natural language.

今月ベランダで育てられる
初心者向けの野菜を教えて
What beginner-friendly vegetables
can I grow on a balcony this month?

CLI(ターミナル) CLI (Terminal)

Python 標準ライブラリのみ。追加インストール不要で即使えます。

Python standard library only. No extra packages needed.

# 今月のおすすめRecommendations
python vegbook.py recommend

# トマトの詳細Crop details
python vegbook.py detail トマトTomato --lang en

# コンパニオンプランツCompanion plants
python vegbook.py companion ナスEggplant --lang en

# 用語検索Glossary lookup
python vegbook.py glossary --term 連作mildew

農民になれないITおじさんが
作っています

Built by an IT engineer
who can't stop dreaming of farming

エンジニア歴30年。システム設計からDB構築まで経験してきたバックエンド屋が、農業・家庭菜園の世界に飛び込みました。

30 years in software engineering. A backend developer with experience in system design and database architecture who jumped headfirst into the world of agriculture and home gardening.

農業の経験はゼロです。だからこそ、初心者目線で「こういうデータがあったら便利」を愚直に作り続けています。

Zero farming experience. That's exactly why this project exists — building the tools I wished I had when I started, from a beginner's perspective.

農業 × IT で、育てる喜びをもっと多くの人に届けたい。それが withagridream の出発点です。

Agriculture × technology — bringing the joy of growing things to more people. That's what withagridream is about.