moegirl-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MOEGIRL_MCP_DB | No | 缓存文件路径。默认为 `<缓存目录>/cache.db`。 | |
| MOEGIRL_MCP_TTL | No | 缓存保鲜秒数。 | 604800 |
| MOEGIRL_MCP_DATA_DIR | No | 缓存目录。默认在源码目录下 `data/`,否则为 `$XDG_DATA_HOME/moegirl-mcp`。 | |
| MOEGIRL_MCP_RATE_LIMIT | No | 每秒最多发起的 wiki 请求数。 | 3.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Look up entries of Moegirlpedia (萌娘百科, zh.moegirl.org.cn), the Chinese encyclopedia of ACGN culture.
Use moegirl_lookup when the user names a specific term and wants to know
what it is. Use moegirl_search when the term is unknown, misspelled, or the
user asks about a topic rather than a single entry.
The answers are the lead sections of the wiki articles, fetched live and
cached locally for a week. Subpages such as 明日方舟/剧情 are skipped by
default; pass include_subpages=true to see them.
The content comes from Moegirlpedia and is licensed CC BY-NC-SA 3.0 CN.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| moegirl_lookupB | Look up a Moegirlpedia entry by name and return its lead section. Falls back to a full text search when no page carries that exact title. |
| moegirl_searchB | Search Moegirlpedia for entries matching a query and return the lead section of every hit, best match first. |
| moegirl_statsB | Report the state of the local page cache. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools mostly target distinct needs: cache state, exact-title lookup, and multi-result query search. However, moegirl_lookup falls back to full-text search, so its boundary with moegirl_search is somewhat blurred.
All tools use the same moegirl_ prefix and lowercase snake_case suffix. The suffixes are short and predictable, with no mixed conventions.
Three tools is reasonable for a narrow read-only lookup server, and each has a clear role. It is on the thin side but not under-scoped for the apparent minimal purpose.
The surface covers cache inspection, lookup, and search, but only returns lead sections and offers no way to retrieve full article content, sections, metadata, or manage the cache. This is a notable limitation for a wiki-access server.