Skip to main content
Glama
fearnation-mcp

fearnation-mcp

by Star-Trails

fearnation-mcp

An MCP server that searches fearnation.club news archive (世界苦茶 daily digest + 台海危機 ALERT) at item-level granularity.

Features

  • Full historical corpus: one-time full crawl of all sitemap-discovered posts.

  • Incremental updates: RSS feed auto-refresh on tool calls when stale (>60 min).

  • Cross-script search: OpenCC t2s normalization lets Simplified Chinese queries match Traditional Chinese content (and vice versa).

  • 4 tools: search_news, get_post, list_recent, discover.

Related MCP server: serp-it

Installation

git clone <this-repo> fearnation-mcp
cd fearnation-mcp
uv venv
uv pip install -e ".[dev]"

Usage (MCP client config)

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "fearnation": {
      "command": "/absolute/path/to/fearnation-mcp/.venv/bin/fearnation-mcp",
      "args": []
    }
  }
}

Cursor and other MCP clients: same command path with empty args.

Tools

search_news(query, section?, date_from?, date_to?, limit?, mode="and")

Full-text search over the indexed news items. Returns matches with slug, section, headline, body, pub_date, seq.

  • mode="and" (default): every whitespace-delimited keyword must match, e.g. 稀土 供应链 matches an item containing both terms anywhere.

  • mode="phrase": the complete query must match in the given order, e.g. 稀土 供应链 only matches that exact phrase.

get_post(slug_or_date)

Fetch a full post by slug (shijie-kucha-2024-01-15) or ISO date (2024-01-15). For dates with multiple posts, returns a list of summaries.

list_recent(days=7)

List recent posts within N days. Each result has slug, title, pub_date, post_type, item_count. Use to orient before searching.

discover(query?, post_type?, date_from?, date_to?)

Browse the post catalogue. Filter by title substring, post_type (世界苦茶 or 台海危機ALERT), or date range.

Development

# Run tests (excluding network tests)
uv run pytest

# Run linters
uv run ruff check src tests
uv run black --check src tests
uv run pyright src

# Run network smoke tests (requires network access)
uv run pytest -m network tests/test_smoke.py

# Run the server locally for testing
uv run fearnation-mcp

Design

See docs/superpowers/specs/2026-07-08-fearnation-mcp-design.md.

Contributors

  • Star-Trails — author, maintainer

  • OpenCode — AI coding assistant used throughout development (spec design, TDD implementation, code review)

License

MIT — see LICENSE.

Available Tools

4 tools
discoverB

Browse the post catalogue. Returns post-level summaries (not items).

Filter by title substring (query), post_type ("世界苦茶" or "台海危機ALERT"), or date range (ISO YYYY-MM-DD). At least one filter recommended.

Inputs: query, date_to, date_from, post_type. Returns: result

get_postA

Get a full post by slug (e.g. "shijie-kucha-2024-01-15") or ISO date.

If multiple posts exist for a date, returns a list of post summaries. For a single post, returns items + financial_data.

Inputs: slug_or_date (required). Returns: result

list_recentA

List posts from the last N days. Use to orient before searching.

Each result has slug, title, pub_date, post_type, item_count.

Inputs: days. Returns: result

search_newsA

Search FearNation news items by full-text query.

Cross-script: Simplified Chinese queries match Traditional content too (e.g., "华为" matches "華為"). Returns items with slug, section, headline, body, pub_date, seq.

Args: query: Free-text search string. section: Optional section filter (中国新闻 / 印太新闻 / 科技新闻 / 经济新闻). date_from: Optional ISO date YYYY-MM-DD (inclusive). date_to: Optional ISO date YYYY-MM-DD (inclusive). limit: Max results (1-200, default 20).

Inputs: query (required), limit, date_to, section, +1 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: browse posts (discover), retrieve full post (get_post), list recent posts (list_recent), and search news items (search_news). The descriptions and parameters uniquely define each operation with no overlap.

    Naming Consistency4/5

    Names mostly follow a verb_... pattern (get_post, list_recent, search_news) but 'discover' is a single word without an underscore, causing a minor inconsistency. Overall, verbs are clear and the pattern is predictable.

    Tool Count4/5

    With 4 tools, the set is slightly lean but covers essential operations for a news/post server: browsing, retrieval, recency, and search. It is appropriately scoped without being overly sparse or cluttered.

    Completeness4/5

    The tool surface covers core read operations (list, get, search) and filtering by date, title, and post type. Minor gaps exist (e.g., no tool to list post types or sections independently), but the essential workflows for consuming content are complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that aggregates web search results from multiple engines and optionally renders pages to Markdown, providing a unified search interface.
      3
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server for managing and querying RSS/news feeds, enabling real-time fetching, searching, and retrieval of feed items.
      5
      11 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Search, trending, topics, and local news all in one MCP server. Article previews, deduplication, source filtering, and 40+ languages built in.
      39 npm
      2
      MIT