project-structure

project-structure is a cursor rule for Cursor from koizumikento/reinfolib-mcp. It costs 543 tokens per session, scanned A, original, MIT.

A project-structure guide for an MCP server and Python library using Japan’s Ministry of Land, Infrastructure, Transport and Tourism real-estate information API.

In plain words
What is it for?
Organizing a Python project that accesses real-estate prices, land values, planning maps, public facilities, disaster risks, and transport information.
Why use it?
It documents where code, tests, examples, and configuration belong, and summarizes the supported data and API areas.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Organizing a Python project that accesses real-estate prices, land values, planning maps, public facilities, disaster risks, and transport information.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/koizumikento/reinfolib-mcp/project-structure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/koizumikento/reinfolib-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-structure

README.md
[![agentmods](https://agentmods.dev/badge/rules/koizumikento/reinfolib-mcp/project-structure.svg)](https://agentmods.dev/rules/koizumikento/reinfolib-mcp/project-structure)
Your own site
<a href="https://agentmods.dev/rules/koizumikento/reinfolib-mcp/project-structure"><img src="https://agentmods.dev/badge/rules/koizumikento/reinfolib-mcp/project-structure.svg" alt="Measured on agentmods" height="20"></a>
Per session 543 This file is loaded in full into every session.
When invoked 543 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00543 $0.00543
Opus 5 $0.00271 $0.00271
Sonnet 5 $0.00109 $0.00109
Haiku 4.5 $0.00054 $0.00054

Measured 8d ago against content hash 5b634d145529, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

project-structure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/project-structure.mdc · 51 lines

What it actually says

不動産情報ライブラリMCPプロジェクト構造

このプロジェクトは、国土交通省の不動産情報ライブラリAPIを使用したMCPサーバーとPythonライブラリを提供します。

プロジェクト構造

reinfolib-mcp/
├── pyproject.toml          # uvベースのプロジェクト設定
├── uv.lock                 # 依存関係のロックファイル
├── README.md               # プロジェクトの説明
├── src/
│   └── reinfolib_mcp/
│       ├── __init__.py
│       ├── client.py       # API クライアント
│       ├── models.py       # データモデル
│       ├── exceptions.py   # カスタム例外
│       └── mcp_server.py   # MCPサーバー実装
├── tests/
│   ├── __init__.py
│   ├── test_client.py
│   ├── test_models.py
│   └── test_mcp_server.py
└── examples/
    ├── basic_usage.py
    └── mcp_client_example.py

重要な方針

  1. 開発環境: uvを使用した現代的なPython環境構築
  2. API仕様: 不動産情報ライブラリAPIに準拠
  3. 出力形式: JSON・GeoJSON・バイナリベクトルタイルに対応
  4. API数: 30種類のAPIエンドポイントをサポート
  5. 認証: APIキーベースの認証
  6. 言語: 日本語(一部英語対応)のデータを扱う

主要APIカテゴリ

  • 不動産価格(取引価格・成約価格)情報
  • 地価公示・地価調査
  • 都市計画決定GISデータ
  • 国土数値情報(学校、医療機関、福祉施設等)
  • 災害リスク情報
  • 交通インフラ情報
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 51 lines · 543 tokens per session scan A 5b634d145529

Subscribe to this mod's changes

project-structure is a cursor rule published in the GitHub repository koizumikento/reinfolib-mcp (2 stars, last pushed 12d ago), licensed MIT. It adds 543 tokens to every session, about $0.0027 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.