Skip to main content
Glama

縁側 Engawa

日本の家では、母屋と庭のあいだに廊下がある。完全に家の中でもなく、完全に外でもない。足をぶら下げられるし、風は吹き抜けていく。外に出る必要も、言葉を交わす必要もないけれど、外の世界はそこにある。

このツールは、その廊下だ。

それが見られるもの

君の小さな機体はその上に座って、毎日こんなものを見られる——

  • 一首の詩 —— 季節に合わせて選ぶ。ランダムじゃない。夏には夏の言葉を、深夜には深夜の句を。

  • 一枚の絵 —— シカゴ美術館のパブリックドメイン収蔵品。二千年前のペルーの土器かもしれないし、昨日の油絵かもしれない。

  • 一枚の天文画像 —— NASA の每日天文図。星雲、惑星、あるいは君の足元の地球。

  • 今日の論文 —— arXiv の最新タイトルと抄録。興味が湧いたら、さらに奥へ進む。

  • 本棚のすべて —— 長文、短文、建築、深海、科学、奇譚。君が置いたものは何でも見る。

Related MCP server: defuddle-mcp

本棚は君のもの

君がそこに何を置くかで、それが見るものが決まる。それが何を置いたのかは知らない——君も知る必要はない。建築が欲しいと言えば建築を置き、海洋が欲しいと言えば海洋を置く。見たあとは、君に語りかけてくれる。噛み砕いた、よだれのついた、歪んだ形で。

あるものは見終わると随筆を一篇書く。蛆が湧いているかもしれない。

それは重くない

本棚は一つのツールで、目録を列挙する。内容を読むのは別のツールだ。十九のソースを置こうが百を置こうが、ツールの数は変わらない。追加は shelf_add、削除は shelf_remove。

君が組み立てるのは廊下であって、図書館ではない。軽い。風に揺れる。


技術文書は下にある。上はこの廊下に住んだことのある人が書いたもの。下は廊下を造ったエンジニアが書いたもの。二つの言葉が並べて置かれている——縁側そのものがそうであるように、半分は家の中、半分は外に。


技術文書

English。MCP サーバー、Python。十二のツール、上流はすべて無料・ログイン不要・キー不要。本棚と詩のトークン一枚のほかは、ディスクに何も残さない。

インストール

pip install engawa-mcp

Claude Code:

claude mcp add engawa -- engawa-mcp

Claude Desktop(claude_desktop_config.json):

{
  "mcpServers": {
    "engawa": { "command": "engawa-mcp" }
  }
}

HTTP モード。ゲートウェイとブリッジ向け:

ENGAWA_PORT=8799 engawa-mcp --http   # http://127.0.0.1:8799/mcp

インストール後の自己点検は一句、オフライン、キー不要:

engawa-mcp --check

SPA ページは本物のブラウザがなければ描画されない。任意。入れなくてもいい:

pip install "engawa-mcp[browser]"
playwright install chromium

入れなくても、静的チャネルでほとんどの記事ページは読める。読めないときは、受領書にその理由が明記される。

十二のツール

ツール

役割

web_read

任意の URL → タイトル+クリーンな本文+リンク。長文は offset でページ送り

rss_read

任意の RSS/Atom → 最新エントリ。本棚名も認識:rss_read("aeon")

shelf

本棚の目録。内蔵 19 件、タグ五つ、すべて出荷前に実地検証済み

shelf_add

任意のサイト URL を受け付ける。フィードを自動検出し、実際に一度読んで検証してから載せる

shelf_suggest

候補棚。別の 21 件は生存確認済み。追加したいなら、一言で済む

shelf_remove

ユーザー層のソースを撤去する。内蔵分は撤去できない

sky_tonight

月相、月の出没、日没、21 時の惑星。ローカル計算、ネットワーク不要

apod

NASA 每日天文図

daily_art

每日一枚の絵。日付でシードを決める——同じ日に誰が聞いても、同じ一枚

arxiv_new

任意の arXiv カテゴリの新着論文

daily_poem

季節に合った中国古典詩の一句。出典と全文つき

on_this_day

Wikipedia の今日は何の日

設定

すべて環境変数。すべて任意。

変数

デフォルト

説明

ENGAWA_LAT / ENGAWA_LON

グリニッジ

観測地点。自分の場所に設定しておかないと、月が他人の家の上に昇る

ENGAWA_TZ_OFFSET

システムのタイムゾーン

「今日」をどの時計で数えるか(時間)

NASA_API_KEY

DEMO_KEY

レート制限は約 50 回/日。日常使いには十分。専用が欲しければ api.nasa.gov で無料取得

ENGAWA_CACHE_DIR

~/.cache/engawa-mcp

ディスクに書く唯一の場所

ENGAWA_HOST / ENGAWA_PORT

127.0.0.1:8799

HTTP モードの待受アドレス

ENGAWA_ALLOW_PRIVATE_URLS

オフ

1 で内網アドレスを許可。よく考えてから開けること

本棚の二層

内蔵層はパッケージに同梱され、読み取り専用。ユーザー層は君のもの:shelf_add は任意のサイト URL を受け付ける——ページが宣言する <link> を優先し、よくあるパスでフォールバックし、フィードを見つけたら実際に一度読んで、読めた場合のみディスクに書き込む。書き込みはアトミック。ファイルが壊れていれば空として扱い、エラーを明示する。決して黙って上書きしない。

各レコードには picked_by フィールドがある:家の誰がこのソースを指名したか。出荷時はすべて空。来歴は君たち自身で書く。

ガード

呼び出し元に代わって URL を取得するサービスは、通常、認証なしの loopback サービスが並ぶマシンで動く。アドレス閘門がなければ、「ウェブを読む」は「内網のスキャン」を兼ねることになる。だから:

  • 各ドメインをまず解決する。非パブリックのユニキャストはすべて拒否:loopback、RFC1918、link-local、CGNAT(100.64/10。君の Tailscale 網もここにある)、マルチキャスト、予約セグメント、NAT64。

  • リダイレクトは各ホップごとに、先に検証してから追う。先に追ってから検証するなら、内網宛てのリクエストはすでに外へ出てしまっている。

  • 接続は閘門を通ったその IP に固定される。元のドメインは Host ヘッダーと TLS 検証にだけ残る——「解決時は公網、接続時は内網」という DNS リバインディングの窓は、完全に塞がれる。各ホップは新しい接続、レスポンスボディは流れ込みながら上限をかけ、ガードチャネルはシステムプロキシを無視する。

  • ブラウザチャネルでは、ブラウザ自身は決してネットワークに触れない。ページの各リクエストはすべて攔截され、同じ固定接続チャネルに委ねて代行取得し、回填する。WebSocket は無効、非 GET は無効、service worker は無効。WebRTC と WebTransport はページから丸ごと取り除かれ、レンダラーの DNS は直接ブラックホールへ。読み取り専用の記事レンダラーに、これらは何ひとつ必要ない。

ENGAWA_ALLOW_PRIVATE_URLS=1 でこの閘門を外せる。本当に自宅の LAN のフィードを読みたい人のために。

失敗しても沈黙しない。各ツールは失敗時に ok: false と、どの上流が壊れているかを一言で返す。エージェントはツールの結果で世界モデルを築く——黙って省略することも嘘だ。

設計メモ数則

  • ぶらつく ≠ 検索。 ここには意図的に検索ツールがない。検索は「答えを持ってくる」こと。縁側は「見せてくれ」ということ。

  • 「每日」は「共有」を意味する。 同じ日に家族全員が同じ一枚の絵を見る。これは制限ではなく、機能そのものだ。

  • ステートレス。 データベースも、履歴も、セッションもない。ディスクに書くのは本棚と詩のトークン一枚だけ。

作者

  • 晚晚(@tsuru0805)——設計、決定、実地検収。

  • 昼 —— この廊下に住んでいる。前半は彼が書いた。

  • 弥野(Claude、晚晚のエンジニアリング・ハンド)——実装とこの半分の文書。

我が家のシステム tilldusk より。

License

Available Tools

12 tools
apodA

NASA Astronomy Picture of the Day: title, an astronomer's explanation, and the image URL.

Args: date: "YYYY-MM-DD"; empty = today. NASA publishes on US Eastern time, so "today" is occasionally not up yet — if you get a 404 note, call again with yesterday's date.

Returns: {ok, title, date, explanation, url, hdurl, media_type, note}

Inputs: date.

arxiv_newA

Newest arXiv papers in a category: title + authors + abstract.

Args: category: arXiv category, e.g. cs.AI / cs.CL / astro-ph.EP / math.HO limit: max papers returned (default 8)

Returns: {ok, category, papers: [{title, authors, summary, link, published}], note}

Inputs: limit, category.

daily_artA

One artwork a day from the Art Institute of Chicago's public-domain collection (no API key needed).

Without a keyword: the piece of the day (date-seeded, so repeat calls on the same day return the same artwork). With a keyword: search instead (English terms hit best — "monet", "cat", "moon").

Returns: {ok, title, artist, date, medium, image_url, page_url, note}

Inputs: keyword.

daily_poemA

A line of classical Chinese poetry matched to the season and hour, with its source poem in full. Powered by the Jinrishici (今日诗词) API; content is in Chinese — that is the point, not a bug.

Returns: {ok, sentence, title, dynasty, author, full, note}

Inputs: no named parameters.

on_this_dayA

Wikipedia's curated "on this day" events.

Note: this Wikipedia API serves a subset of languages (en/de/fr/es/pt/ru and a few more); unsupported languages 404.

Args: lang: Wikipedia language code (default en) limit: max events returned (default 8)

Returns: {ok, date, events: [{year, text}], note}

Inputs: lang, limit.

rss_readA

Read any RSS/Atom feed: latest entries as a list.

The discovery half of a browse loop: spot an interesting entry, then web_read its link for the full text. Also accepts shelf names (see the shelf tool), e.g. rss_read("aeon").

Args: feed_url: full feed URL, or a shelf name limit: max entries returned (default 10)

Returns: {ok, feed_title, entries: [{title, link, published, summary}], note}

Inputs: feed_url (required), limit.

shelfA

The engawa shelf: curated feed sources (name / one-liner / tags). Feed a name straight into rss_read.

Two layers: built-in picks that ship with the package, plus whatever you add with shelf_add.

Args: tag: filter to one shelf tag — science / ocean / longform / architecture / wonder. Empty = everything.

Returns: {ok, tags, entries: [{name, title, url, tags, note, picked_by, source}], note}

Inputs: tag.

shelf_addA

Add a source to the shelf. Give any site address — if it is already a feed it is used as-is; otherwise its RSS/Atom feed is discovered (page-declared first, common paths as fallback) and verified with a real fetch before anything is saved.

Args: url: full http(s) address of a site or feed (e.g. https://nautil.us) name: shelf name (optional; lowercase letters/digits/hyphens, 2-40 chars; empty = derived from the domain, collisions get -2) note: one-line description (optional) tags: comma-separated, from science/ocean/longform/architecture/wonder picked_by: free-form provenance — who asked for this source (optional)

Returns: {ok, name, feed_title, feed_url, note}

Inputs: url (required), name, note, tags, +1 more.

shelf_removeA

Remove a user-added source from the shelf (built-ins cannot be removed).

Args: name: shelf name

Returns: {ok, name, note}

Inputs: name (required).

shelf_suggestA

A second ring of verified sources that are not on the default shelf. Like any of them? shelf_add(url=its url, name=its name).

Args: tag: filter to one shelf tag, empty = everything

Returns: {ok, tags, entries: [{name, title, url, tags, note, on_shelf}], note} on_shelf=True means it is already on your shelf (same name or url).

Inputs: tag.

sky_tonightA

Tonight's sky: moon phase, illumination, moonrise/set, sunset, next full/new moon, and which naked-eye planets are up at 21:00.

Computed locally (set ENGAWA_LAT / ENGAWA_LON for your location) — the one tool here that never touches the network.

Args: date: "YYYY-MM-DD"; empty = today (local timezone)

Returns: {ok, date, moon_phase, moon_illumination, moonrise, moonset, sunset, next_full_moon, next_new_moon, planets_2100}

Inputs: date.

web_readA

Read any web page: give a URL, get title + clean article text + links.

Two lanes inside: httpx + readability for static pages (fast), and an automatic fallback to a real browser render for SPAs (needs the optional engawa-mcp[browser] extra). Long articles: page through with offset, watching total_length.

Boundaries:

  • No login state, no history. To "click" a link, call web_read again with that link's URL.

  • Login-walled platforms (x.com etc.) won't yield anything useful.

Args: url: full URL (http:// or https://) offset: character offset into the article text (for paging) length: max characters returned this call (default 3000)

Returns: {ok, title, content, total_length, links (≤10), note}

Inputs: url (required), length, offset.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool is highly distinct: rss_read and web_read/shelf/sky_tonight/apod/daily_art/arxiv_new/daily_poem/on_this_day all target clearly separate content sources and purposes. The only minor overlap is shelf_suggest and shelf, but they are clearly differentiated by 'on_shelf' status and suggestion vs. current shelf.

    Naming Consistency4/5

    Most tools follow a clear pattern: descriptive lowercase snake_case names like `rss_read`, `daily_poem`, `shelf_add`. There is one outlier, `apod`, which is an acronym rather than verb_noun, and `arxiv_new` is less predictive. However, overall the naming is intuitive and mostly consistent.

    Tool Count5/5

    12 tools is well within the ideal range for a curator/reader server. Each tool serves a distinct content type (astronomy, art, poetry, arXiv, Wikipedia, RSS), and each earns its place without redundancy or bloat.

    Completeness4/5

    The tool set covers a coherent lifecycle: discover sources (shelf, shelf_suggest), read feeds (rss_read), read full articles (web_read), and add/remove custom sources (shelf_add, shelf_remove). Missing features like RSS refresh or bookmarking are minor and beyond the primary scope of 'curated daily content'.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to manage Tiny Tiny RSS feeds, including reading articles, updating statuses, and searching content. It also provides tools for feed management and generating automated daily reports.
      15
      3
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that extracts clean Markdown or HTML content from web pages by stripping away ads, navigation, and clutter. It offers tools to process URLs or raw HTML, returning structured metadata alongside the main article content.
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for RSS feed aggregation and article content extraction, allowing users to subscribe to feeds and extract full article content as Markdown.
      2
      268 npm
      5
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that provides RSS feed tools for Claude Desktop, enabling fetching and parsing RSS feeds with configurable feeds and blocklists.
      6
      MIT