Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

Semantic + keyword search cultural heritage

tw_search_cultural_heritage

TW-specificMIT

**關鍵字 / Keywords**: 文化資產 古蹟 歷史建築 民俗 古物 文化部 cultural heritage MOC monument historic-site

台灣文化資產語意檢索 (4,187 筆,涵蓋 6 類).

Args:
    query: 自然語言 (e.g. "媽祖信仰", "日治建築", "原住民傳統")
    heritage_type: 類別 filter — "古蹟" / "民俗" / "古物" /
                   "文化景觀" / "考古遺址" / "史蹟"
    institution_contains: 主管機關必含字串 (e.g. "臺南市", "文化部")
    name_contains: 文資名稱必含字串 (e.g. "媽祖", "孔廟")
    limit: top-K (1..100)

Returns:
    {n_corpus, n_returned, query, hits: [{heritage_type, dataset_id,
     caseId, caseName, assetsClassifyName, registerReason,
     judgeCriteria, addresses, govInstitutionName, caseUrl,
     similarity}, ...]}

典型用例:
    # 跨類別找媽祖相關
    tw_search_cultural_heritage("媽祖")
    # 只找民俗
    tw_search_cultural_heritage("祭典", heritage_type="民俗")
    # 臺南市古蹟
    tw_search_cultural_heritage("廟宇", heritage_type="古蹟",
                             institution_contains="臺南市")

Input schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "heritage_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Heritage Type"
    },
    "institution_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Institution Contains"
    },
    "name_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name Contains"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_cultural_heritageArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see tw_search_cultural_heritage. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 tw_search_cultural_heritage 處理 "…"。

# It will call:
tw_search_cultural_heritage(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs