Skip to main content
Glama

Microfarm MCP

面向准微型农场主的土地可行性情报 —— 作为一个可接入任何 LLM(Claude、Cursor 等)的 MCP 服务器。它回答关于美国地块的两个问题:

  1. “这块地真的适合微型农场吗?” —— 基于免费公共数据(无需密钥、无需订阅)对气候、水源、农田环境、交通可达性和洪水风险进行评分。

  2. “我能在这块地上盖房子吗?” —— 基于洪泛区 + 农田环境的住宅可行性筛查,并如实说明最终审批权在您所在县。

它还可以从免费来源查找在售土地,并对结果进行评分。

工具

工具

功能

assess_land

对美国地块进行微型农场可行性住宅可行性评分(气候 + 水源 + 土地 + 交通 + 洪水)

find_land

从免费来源查找在售土地(价格、面积、州、县、照片、描述)

land_sources

列出所使用的免费公共数据来源(透明公开)

about_microfarm

用通俗语言解释微型农场以及需要关注什么

所有结论均有据可查:每项指标都标明数据来源,缺失数据会如实标注为“缺失”——绝不会被当作“良好”处理。

数据来源(全部免费、无需密钥)

  • Open-Meteo —— 地理编码、历史气候(降水、生长天数)、海拔

  • OpenStreetMap / Overpass —— 附近水源、道路、建筑物、农田

  • FEMA 国家洪泛区图层 —— 地块洪泛区(住宅可行性)

  • farms.com + Craigslist + index.cy(塞浦路斯) —— 在售土地列表(find_land)

安装与运行

python3 -m venv .venv
.venv/bin/pip install -e ".[test]"
.venv/bin/pytest tests/ -q        # 31 tests
.venv/bin/microfarm-mcp           # or: python -m microfarm.server

示例(LLM 能为您做什么)

assess_land("Petaluma, California")
→ state: promising | score: 76
  [positive] ample_precipitation: ~1023 mm/yr
  [positive] long_season: ~363 growing days/yr
  [positive] land_type: farmland
  dwelling_feasibility: requires_review (no flood-zone flag; confirm with county)

assess_land("Polemi, Paphos, Cyprus")   ← works outside the US too
→ state: requires_look | score: 65
  [positive] adequate_precipitation: ~457 mm/yr
  [positive] long_season: ~365 growing days/yr
  dwelling_feasibility: unknown (FEMA is US-only; confirm with Cyprus Planning Authority)

assess_land("Nontron, Dordogne, France")   ← France works too
→ state: promising | score: 76
  [positive] ample_precipitation: ~1416 mm/yr
  [positive] long_season: ~330 growing days/yr
  dwelling_feasibility: unknown (confirm with the local mairie / DDT planning office)

find_land(state="OH", max_price_usd=200000)
→ real listings with price, acres, location, photos, description

find_land(country="CY")   ← Cyprus plots from index.cy
→ real Greek/English listings, titles translated, price in €, size in m²/acres

土地类型与区域

  • 土地类型(农田 / 牧场 / 林地 / 灌木地 / 建成区 / 水域)由 OpenStreetMap 检测,并在每份评估中报告。

  • 官方分区(法律上允许您在这块地上建造/使用什么)无法从免费的全国性数据中获取 —— 这由地方规划部门决定(美国为县,或塞浦路斯为区/规划办公室)。该工具会如实标注这一点,并告诉您应向何处确认,而不是凭空猜测。

如实说明的局限

  • 分区/住宅法规属于地方性法规;本工具仅以洪泛区 + 农田环境作为初步筛查,并指引您联系规划办公室 —— 它不能替代官方条例。

  • FEMA 洪泛区数据仅限美国;在美国以外(如塞浦路斯),洪水风险会如实报告为“不可用”,绝不会虚假地标注为“无风险”。

  • landbanksearch / govdeals / farmflip / Bazaraki / land.cy / offer.com.cy 仅支持浏览器访问或受机器人保护;已注册但尚未抓取(参见 land_sources.browser_only)。

布局

microfarm-mcp/
├── microfarm/
│   ├── server.py       ← FastMCP server (4 tools)
│   ├── engine.py       ← orchestration + cache + find_land
│   ├── providers.py    ← free data providers (geo, climate, elevation, OSM, FEMA)
│   ├── listings.py     ← land-for-sale collectors (farms.com, Craigslist)
│   ├── scorer.py       ← evidence-backed viability + dwelling scoring
│   └── models.py       ← typed models
├── tests/              ← 24 tests (mocked providers, deterministic)
├── .github/workflows/ci.yml
└── pyproject.toml

MIT 许可。本工具不构成财务、法律或房地产建议 —— 请务必亲自实地核实每一处房产。

-
license - not tested
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Property intelligence: 180M+ US parcels — lookup, search, owners, hazards, permits, deeds.

  • Search and manage Paraguay & LatAm real estate from any AI assistant.

  • Data-center, grid, fiber & gas infrastructure intelligence for AI agents — query and cite.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omardaaboul/microfarm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server