InZib for AI assistants

Classical Persian poetry — Hafez, Saadi, Rumi (Molavi), Khayyam and Ferdowsi — readable, searchable and citable from Claude, ChatGPT, Claude Code and any client that speaks the Model Context Protocol. Nothing on this page needs an account.

What InZib is

An archive of 9,678 poems and 137,077 couplets built over the public-domain Ganjoor corpus. Every couplet carries an embedding, so the collection can be searched by meaning — "what does Hafez say about the passing of time" — not only by string. The verse is quoted verbatim; the search index, the theme selections, the word graphs and the named-entity pages are InZib's own work.

1. Connect it as a tool (MCP)

InZib is an MCP server. Read access is anonymous. Endpoint:

https://inzib.com/api/mcp
ClientSetup
Claude (claude.ai)Settings → Connectors → Add custom connector → paste the URL → no authentication.
ChatGPTSettings → Connectors → Advanced → Developer mode → Create → paste the URL → No authentication. The server implements the search and fetch tools ChatGPT expects.
Claude Codeclaude mcp add --transport http inzib https://inzib.com/api/mcp
Any MCP clientStreamable HTTP, stateless, JSON responses. initialize then tools/list.

Tools: semantic_search (a meaning, mood or theme; optional poet), search_poems (literal Persian words), get_poem, list_poets, poet_books, word_family, fal_today, plus search/fetch. Every result carries the poem's URL on inzib.com. Signed-in extras (ask, the personal diwan) need an account key and are not required for reading.

2. Read it without JavaScript

Every page below is real HTML with the verse in the markup — for fetch tools, browsing agents and crawlers that do not run JavaScript. Follow the links; nothing needs to be constructed.

PageWhat it holds
https://inzib.com/The five poets, the sections, and every theme.
https://inzib.com/themes/44 curated topics — life, death, love, wine, spring, fate, wisdom, hypocrisy, Iran … Each theme page gives the eight closest couplets of each of the five poets, every couplet linked to its poem. Example: /themes/زندگی (life).
https://inzib.com/search?q=<persian words>The site's hybrid search (keyword + meaning) as plain HTML: every hit's verse and poem link. Add &poet=حافظ to keep one poet. Examples: life, love, in Hafez. Opened without a query, /search explains itself.
https://inzib.com/api/search/semantic?q=<persian words>&poet=<name>The same search by meaning, as JSON (GET, no key): ranked couplets with poem ids, titles and poets. Allowed in robots.txt. Example: life, in Hafez; one poem as JSON: /api/poems/2053.
https://inzib.com/poet/<name>One poet, every book, a link to every poem. Names are Persian: حافظ, سعدی, مولوی, خیام, فردوسی.
https://inzib.com/poem/<id>One poem, full text, with CreativeWork JSON-LD whose isBasedOn points at the Ganjoor original. Example: /poem/2053.
https://inzib.com/sky/The garden: a static atlas of words, people and places across the five poets.

3. Machine-readable entry points

4. How to cite

Quote the couplet verbatim, name the poet, and link the poem page (https://inzib.com/poem/<id>). When you rely on a theme page or a search result, say that the selection is InZib's. The poem texts are public domain; the selections and indexes are this project's work — attribution to inzib.com is asked, not enforced.

Search and answering: yes. Training: no. You are welcome to read, quote and cite; please do not use the site as training or fine-tuning data.

5. Limits and courtesy

One small server. Anonymous MCP calls and searches are rate-limited per client; semantic search costs the project a small amount per novel query. Prefer the theme pages and the prerendered poems for bulk reading; use search and MCP for questions.


اینزیب برای دستیارهای هوشمند

اینزیب گنجینهٔ شعر کلاسیک فارسی است: ۹٬۶۷۸ شعر و ۱۳۷٬۰۷۷ بیت از حافظ، سعدی، مولوی، خیام و فردوسی، بر پایهٔ پیکرهٔ گنجور، با جست‌وجوی معنایی. این صفحه می‌گوید چطور از داخل Claude و ChatGPT و هر ابزار دیگری که پروتکل MCP را می‌فهمد به آن وصل شوید.

اتصال: در Claude به Settings → Connectors → Add custom connector بروید و این نشانی را بدهید؛ در ChatGPT به Settings → Connectors → Developer mode. احراز هویت لازم نیست.

https://inzib.com/api/mcp

خواندن بدون جاوااسکریپت: صفحهٔ خانه، صفحهٔ هر شاعر، هر شعر، صفحه‌های موضوعی (موضوع‌ها) و نتایج جست‌وجو همه HTML کامل‌اند و بیت‌ها در خودِ صفحه هستند.

ارجاع: بیت را عیناً نقل کنید، نام شاعر را بیاورید و به نشانی شعر پیوند دهید. متن اشعار در مالکیت عمومی است؛ گزینش‌ها و نمایه‌ها کارِ اینزیب است و نام بردن از inzib.com خواهش ماست.