
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Huaxingzhi packages source-aware China travel data for agent use and local lookup. The same data layer powers the skill, CLI, HTTP API, MCP tools, and a browser-based travel finder, so you can search places, plan short trips, and check freshness from one repository.
Builders who want reusable China travel facts inside agents, local tools, or MCP clients.
You can answer travel questions and draft itineraries from inspectable, source-linked data instead of re-explaining the same context each time.
`SKILL.md` tells compatible clients when to use the toolkit, how to keep Chinese and English place names, and when live facts need a recheck.
The `china_travel_kit/` package provides local search, recommendation, itinerary, preparation, emergency, and freshness commands without runtime dependencies.
`serve` exposes endpoints like `/search`, `/recommend`, `/plan`, and `/freshness`, and the `web/` app provides a visual travel search interface.
`mcp` exposes read-only tools for trip recommendations, area discovery, city guides, itinerary planning, preparation, emergency help, and data freshness checks.
`data/` contains bilingual city records, schema files, and verified source links with `last_verified` fields and nullable unknown values.
`integrity-manifest.json` and its signature support release verification with the bundled public key and `python3 -m china_travel_kit integrity`.
JSON city records ├── CLI search and itinerary drafts ├── local HTTP API └── MCP tools for AI clients
python3 -m china_travel_kit serve
python3 -m china_travel_kit validate python3 -m unittest discover -s tests -v
python3 -m china_travel_kit serve --port 8765 curl 'http://127.0.0.1:8765/search?city=Chengdu&category=wildlife' curl 'http://127.0.0.1:8765/recommend?requirements=pandas,food&days=3&pace=relaxed' curl 'http://127.0.0.1:8765/plan?city=Lijiang&days=2&interests=mountain,photography'
A source-aware China travel planning Skill and open knowledge base for humans, apps, and AI agents.
简体中文 · Project analysis (中文) · Roadmap · Contributing
Current version: v0.5.0 Alpha
Author contact: WeChat Changzhanzhang
Huaxingzhi (technical project name: China Travel Kit) is an open, bilingual Agent Skill and travel knowledge base with an explainable requirement matcher, visual Chinese travel finder, zero-runtime-dependency Python query engine, CLI, HTTP API, and MCP server. It focuses on the parts of China travel that are difficult for international visitors to verify: visitor areas, reservations, passport-specific instructions, seasonal risks, accessibility, emergency context, transport context, official city tourism portals, and data freshness.
This is an alpha dataset and developer preview, not a booking service or a live navigation system. It currently covers 56 places across Beijing, Shanghai, Guangzhou, Shenzhen, Chengdu, Xi'an, Hangzhou, and Lijiang. The first expansion prioritizes officially sourced 5A/4A attractions in major gateway and tourism cities; none is a complete city guide.
Travel articles are plentiful. Reusable, source-linked, reviewable China travel data is not. This repository makes each fact easy to inspect and update through pull requests, while letting one data layer power several interfaces:
JSON city records
├── CLI search and itinerary drafts
├── local HTTP API
└── MCP tools for AI clients
Every attraction record includes sources and last_verified. Prices and reservation rules are deliberately nullable: an unknown value is safer than a confident but outdated answer.
Requires Python 3.10 or newer. No runtime packages are required.
git clone https://github.com/tczyliu/china-travel-kit.git
cd china-travel-kit
python3 -m china_travel_kit search museum --city Beijing
python3 -m china_travel_kit recommend 'First visit: pandas, food, relaxed pace' --travelers 2 --start-date 2026-07-10 --end-date 2026-07-12
python3 -m china_travel_kit areas --city Beijing
python3 -m china_travel_kit prepare 成都 --month 7
python3 -m china_travel_kit plan 丽江 --days 2 --interests mountain photography
python3 -m china_travel_kit emergency 丽江
python3 -m china_travel_kit freshness
python3 -m china_travel_kit integrity
The repository root is an installable Agent Skill. SKILL.md defines when to use the toolkit, how to preserve Chinese and English place names, and when live facts must be rechecked. Conditional safety and itinerary guidance lives in references/ so ordinary destination searches stay lightweight.
Point an Agent Skills-compatible client at this repository, or clone it into that client's skills directory. The Skill uses the bundled read-only Python engine and does not require an API key for the included data.
Start the visual travel finder:
python3 -m china_travel_kit serve
Then open http://127.0.0.1:8765/ to search attractions and generate itinerary cards in a responsive Chinese interface.
Validate the data and run tests:
python3 -m china_travel_kit validate
python3 -m unittest discover -s tests -v
The server uses MCP over stdio and exposes eight read-only tools:
recommend_tripsearch_spotsdiscover_areasget_city_guideplan_itineraryget_trip_preparationget_emergency_helpcheck_data_freshnessExample client configuration:
{
"mcpServers": {
"china-travel-kit": {
"command": "python3",
"args": ["-m", "china_travel_kit", "mcp"],
"cwd": "/absolute/path/to/china-travel-kit"
}
}
}
The implementation targets MCP protocol version 2025-11-25. It supports initialize, ping, tools/list, and tools/call over newline-delimited stdio messages.
python3 -m china_travel_kit serve --port 8765
curl 'http://127.0.0.1:8765/search?city=Chengdu&category=wildlife'
curl 'http://127.0.0.1:8765/recommend?requirements=pandas,food&days=3&pace=relaxed'
curl 'http://127.0.0.1:8765/plan?city=Lijiang&days=2&interests=mountain,photography'
Available endpoints: /health, /cities, /recommend, /search, /areas, /plan, /prepare, /emergency, and /freshness.
recommend_trip ranks only cities covered by the current repository. Its score explains how well the indexed data matches the request; it is not a universal ranking of destinations. Dates, party size, desired places, interests, pace, budget, mobility needs, children, origin, and free text are normalized into one response containing the itinerary, seasonal preparation, stay areas, food, culture, emergency context, unmatched requirements, and live checks still required.
last_verified to the date you actually checked the linked source.null for changing prices or booking rules you cannot verify.See data/schema/city.schema.json and the existing city files for the current schema.
The current alpha provides source-aware sample data, explainable local matching, and developer interfaces. It does not provide live weather, live ticket inventory, visa eligibility decisions, hotel rankings, turn-by-turn navigation, or emergency dispatch. Those require authoritative live providers and stronger operational guarantees.
Code is licensed under the MIT License. Repository travel data under data/ is licensed under CC BY-SA 4.0. Third-party source links remain subject to their respective owners' terms.
Official releases include integrity-manifest.json and its Ed25519 signature. Run python3 -m china_travel_kit integrity to authenticate the manifest with the bundled public key and then verify SHA-256 hashes. Require both valid: true and signature_valid: true. This detects forged manifests, incomplete copies, or tampering; it does not prevent copying allowed by the licenses.
Maintainers run scripts/update_integrity_manifest.py and then scripts/sign_integrity_manifest.py before a release. The dedicated private key stays outside the repository and must never be committed.
The code and data licenses do not grant rights to present a modified distribution as an official Huaxingzhi release. See TRADEMARKS.md and NOTICE.
Travel rules, entry policies, opening hours, prices, weather, and transport can change quickly. Always verify critical details with the relevant authority or operator before departure. This project does not provide legal, medical, immigration, booking, or emergency services.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Academic Research Skills for Claude Code: research → write → review → revise → finalize
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).