#1111th of 34 in RAG and search
chinese-poetry-api
Chinese classical poetry API with REST, GraphQL, MCP and optional semantic search
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.7k
- License
- GPL-3.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
29 on 6 May 20263,743 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Go service that serves about 400,000 Chinese poems (Tang poetry, Song ci, Yuan qu and more) from SQLite with FTS5 search. It exposes REST with an OpenAPI document, GraphQL and a read-only MCP endpoint, and stores simplified and traditional text together, switched by `?lang=`. Optional semantic search uses a bge-m3 vector file plus any OpenAI-compatible embeddings endpoint.
Who it is for: Developers building poetry apps or LLM tools that need Chinese poems
Strengths
- Three interfaces on one port: REST with OpenAPI 3.2, GraphQL and MCP over Streamable HTTP
- Simplified and traditional Chinese from one database via the lang parameter
- Semantic search is optional; the service runs normally without the vector file
- Built-in IP rate limiting and multi-arch Docker image (amd64/arm64)
Weaknesses
- Semantic search needs a roughly 200MB vector file and an external embeddings API
- Semantic search adds about 350MB resident memory and a 2-second startup load
- Building with plain `go` requires the `sqlite_fts5` tag, or search fails
- Documentation is in Chinese only; the dataset comes in via git submodules
What it needs
- Go, bge-m3
- Needs SQLite with FTS5, Ollama or OpenAI-compatible embeddings API (optional, semantic search), Git submodules (dataset)
- Docker
- env example file
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in RAG and search
See all 34| Rank | Project | Score |
|---|---|---|
| #9 | llm-appYAML-configured RAG server that keeps a vector database synced with a document folder | 77 out of 100 |
| #10 | zvec-grepLocal CLI combining ripgrep, BM25 and vector search over code and documents | 74 out of 100 |
| #12 | spiceaiRust SQL engine that federates, accelerates and searches data for AI apps | 73 out of 100 |
| #13 | chat-langchainLangChain docs Q&A agent with a Next.js chat frontend | 61 out of 100 |
| #14 | chat-with-your-data-solution-acceleratorAzure RAG chat app that answers from your documents with citations | 52 out of 100 |