Skip to main content
Glama
moegirl-mcp

moegirl-mcp

by cmachsocket

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOEGIRL_MCP_DBNo缓存文件路径。默认为 `<缓存目录>/cache.db`。
MOEGIRL_MCP_TTLNo缓存保鲜秒数。604800
MOEGIRL_MCP_DATA_DIRNo缓存目录。默认在源码目录下 `data/`,否则为 `$XDG_DATA_HOME/moegirl-mcp`。
MOEGIRL_MCP_RATE_LIMITNo每秒最多发起的 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 3 tools

Disambiguation4/5

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.

Naming Consistency5/5

All tools use the same moegirl_ prefix and lowercase snake_case suffix. The suffixes are short and predictable, with no mixed conventions.

Tool Count4/5

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.

Completeness3/5

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.