Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
MCP server for the Ganjoor (گنجور) Persian classical poetry API at https://ganjoor.net
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"ganjoor": {
"command": "npx",
"args": [
"-y",
"ganjoor-mcp-server"
]
}
}
}ターミナルでこれを実行します
claude mcp add ganjoor -- npx -y ganjoor-mcp-serverプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"ganjoor": {
"command": "npx",
"args": [
"-y",
"ganjoor-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"ganjoor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ganjoor-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
公開者(ehsanghaffar)がリポジトリの所有者(ganjoor)ではありません。別の人が登録した可能性があります
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち0項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは15 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Draugr
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
#
)
English | فارسی
Ganjoor MCP Server — the Model Context Protocol server for the Ganjoor Persian poetry API.
It lets an agent browse poets and collections, read poems with their verses, run prosody and rhyme analysis, trace reply-poems across poets, look up recitations and commentary, and explore the related-people and family-tree graphs.
44 tools, read-only access. No API key required.
Requires Node.js 18.17 or newer.
npm install ganjoor-mcp-server # for locally installed stdio transport. no need if using VS Code or Claude Desktop / Cursor.
No need install npm package — the MCP server runs in-process and is launched by VS Code when needed.
Just click the badge below to install the Ganjoor MCP server in your VS Code workspace. It will automatically add the server to your .vscode/mcp.json config.
Or add to .vscode/mcp.json:
{
"servers": { "io.github.ehsanghaffar/ganjoor-mcp-server": { "command": "npx", "args": [ "-y", "ganjoor-mcp-server" ], "env": {} } } }
VS Code CLI:
code --add-mcp '{\"name\":\"io.github.ehsanghaffar/ganjoor-mcp-server\",\"command\":\"npx\",\"args\":[\"-y\",\"ganjoor-mcp-server\"],\"env\":{}}'
Just click the badge below to install the Ganjoor MCP server in your Claude Desktop or Cursor app. It will automatically add the server to your MCP config.
Or add to your MCP config file:
{
"mcpServers": { "io.github.ehsanghaffar/ganjoor-mcp-server": { "command": "npx", "args": [ "-y", "ganjoor-mcp-server" ], "env": {}, "type": "local", "tools": [ "*" ] } } }
Claude Code
Use the Claude Code CLI to add the io.github.ehsanghaffar/ganjoor-mcp-server MCP server:
claude mcp add io.github.ehsanghaffar/ganjoor-mcp-server npx -y ganjoor-mcp-server
Claude Desktop
Follow the MCP install guide, use the standard config above.
Codex
Create or edit the configuration file ~/.codex/config.toml and add:
[mcp_servers.ganjoor-mcp-server]
command = "npx" args = ["-y", "ganjoor-mcp-server"]
For more information, see the Codex MCP documentation.
Gemini CLI
Follow the MCP install guide, use the standard config above.
OpenCode
Follow the MCP Servers documentation. For example in ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json", "mcp": { "io.github.ehsanghaffar/ganjoor-mcp-server": { "type": "local", "command": [ "npx", "-y", "ganjoor-mcp-server" ], "enabled": true } } }
</details>
GitHub Copilot CLI
GitHub Copilot CLI supports adding MCP servers interactively and through a config file.
/mcp add/mcp add.io.github.ehsanghaffar/ganjoor-mcp-server.STDIO for command-based serversHTTP for remote servers*.Ctrl+S to save.~/.copilot/mcp-config.json{
"mcpServers": { "io.github.ehsanghaffar/ganjoor-mcp-server": { "command": "npx", "args": [ "-y", "ganjoor-mcp-server" ], "env": {}, "type": "local", "tools": [ "*" ] } } }
For more information, see the GitHub Copilot CLI MCP documentation.
GitHub Copilot Coding Agent
GitHub Copilot Coding Agent can use MCP servers to extend its capabilities. Use the configuration below specifically formatted for the Coding Agent:
{
"mcpServers": { "ganjoor-mcp-server": { "command": "npx", "args": [ "-y", "ganjoor-mcp-server" ], "env": {}, "type": "local", "tools": [ "*" ] } } }
Add this configuration to your repository settings under Copilot > Coding agent. The "tools": ["*"] setting enables all available tools from the MCP server.
For more information, see the GitHub Copilot Coding Agent MCP documentation.
npm install
npm run build npm start # stdio transport (default)
Add to .vscode/mcp.json:
{
"servers": { "ganjoor": { "type": "stdio", "command": "node", "args": ["${workspaceFolder}/dist/index.js"] } } }
Add to your MCP config file:
{
"mcpServers": { "ganjoor": { "command": "node", "args": ["/absolute/path/to/ganjoor-mcp/dist/index.js"] } } }
HTTP=true PORT=3000 npm start
The MCP endpoint is POST /mcp, and GET /health reports server and upstream status. The HTTP transport runs statelessly (a fresh server instance per request), so it scales horizontally. It binds 127.0.0.1 by default and validates the Origin header to block DNS-rebinding attacks; set ALLOWED_ORIGINS (comma-separated) if you need non-loopback origins.
npm run inspector
A multi-stage Dockerfile and a docker-compose.yml are included. The image is built on node:22-alpine and contains only the compiled output and production dependencies.
docker compose up --build
The compose file starts the server in streamable HTTP mode on http://localhost:3000/mcp, with GET /health reporting server and upstream status. HOST is set to 0.0.0.0 so the published port is reachable from the host; every configuration variable from the table below works as an ordinary environment variable. To run a single container without compose:
docker build -t ganjoor-mcp .
docker run --rm -p 3000:3000 -e HTTP=true -e HOST=0.0.0.0 ganjoor-mcp
Clients that launch the server themselves (rather than connecting over HTTP) can use the stdio profile, which opens stdin for the protocol stream and starts no HTTP listener:
docker compose --profile stdio run --rm ganjoor-mcp-stdio
To run the server through Docker instead of a local Node install:
{
"mcpServers": { "ganjoor": { "command": "docker", "args": ["run", "--rm", "-i", "ganjoor-mcp"] } } }
All settings are environment variables; none are required.
| Variable | Default | Purpose |
|---|---|---|
HTTP | *(unset)* | Set to true to serve streamable HTTP instead of stdio. |
PORT | 3000 | HTTP port. |
HOST | 127.0.0.1 | HTTP bind address. |
ALLOWED_ORIGINS | *(empty)* | Extra allowed Origin values, comma-separated. |
GANJOOR_API_BASE_URL | https://api.ganjoor.net | Upstream API base URL — point at a local RMuseum instance for development. |
GANJOOR_SITE_BASE_URL | https://ganjoor.net | Front-end base used to build clickable links. |
Ganjoor's data model has three nested levels. Getting these straight is the difference between a productive and a fruitless agent session.
graph TD
P["Poet — e.g. Hafez, id 2, slug /hafez"] --> C1["Category — e.g. Ghazals, id 24"] P --> C2["Category — e.g. Qeta, id 25"] C1 --> M1["Poem — e.g. Ghazal 494, id 2623, /hafez/ghazal/sh494"] C2 --> M2["Poem"] M1 --> V["Verses (hemistichs, paired into couplets)"] M1 --> S["Sections (nested stanzas with metre + rhyme)"] M1 --> R["Recitations (audio)"] M1 --> CM["Comments (reader commentary)"] M1 --> Q["Quoted / related poems"]
2, Saadi 7, Rumi 5, Khayyam 3, Ferdowsi 4. ganjoor_list_poets resolves a name to an id.0 general, 1 poems, 2 book). Hafez's root category is 9; his ghazals are 24.hafez/ghazal/sh494.couplet (versePosition 0 and 1).URL slugs need a leading slash. The upstream API returns 404 for
?url=hafez/ghazal/sh494but
resolves
?url=/hafez/ghazal/sh494. This server normalizes for you, so either form works.
Persian text is returned verbatim. It is right-to-left with Arabic-script diacritics used for
prosody. Do not transliterate or translate it unless the user explicitly asks.
| Tool | Description |
|---|---|
ganjoor_list_poets | All published poets with biography, dates, places. Paginated. |
ganjoor_get_poet | One poet by id or slug, with biography and top-level books/sections. |
ganjoor_get_poets_by_century | Every poet grouped into historical half-centuries. |
ganjoor_list_books | Named collections, filterable by poet or name substring. |
| Tool | Description |
|---|---|
ganjoor_get_category | A category with breadcrumb, sub-sections, and contained poems. |
ganjoor_list_category_poems | Paginated poems in a category, with optional title filter. |
ganjoor_get_category_geotags | Geographic/historical places tagged under a category's subtree. |
ganjoor_get_category_people_graph | People network behind a category's "characters" tab. |
| Tool | Description |
|---|
| `ganjoor_search_
冒頭だけを表示しています。続きはリポジトリで読めます