# Developers: API & MCP

The site's projects, posts and current status can also be read by programs. Everything is read-only, needs no key, and contains only what is already public on the site. Most text fields are in Traditional Chinese; projects also carry an English title and description.

## Public JSON API

Base URL: https://kbs0830.com/api/v1 (CORS open to any origin, cached for one hour)

- `/profile`: Profile: who I am, where I am based, focus areas, current status, links
- `/projects`: All projects (personal projects and course projects)
- `/projects/{slug}`: One project, including architecture and what was built
- `/posts`: All blog posts (without the full text)
- `/posts/{slug}`: One post, including the full text (MDX)
- `/now`: What I am doing now
- `/flights`: Flight log statistics (routes, airports, airlines, no dates)
- `/openapi.json`: OpenAPI 3.1 specification

## MCP server

URL: https://kbs0830.com/mcp (Streamable HTTP, no login)

Claude Code: `claude mcp add --transport http kbs0830 https://kbs0830.com/mcp`

Tools:

- `get_profile`: Who PINGWEI LI is: role, location, focus areas, current status, links.
- `list_projects`: List projects (personal and course projects): name, one-line summary, tech tags, status, URL. Can be filtered by tag (for example Python or Next.js) or by kind.
- `get_project`: Full write-up of one project: architecture, what was built, results.
- `list_posts`: List of technical blog posts, newest first: title, date, summary, tags. Every post is about a problem that actually happened.
- `get_post`: Full text of one post (Markdown / MDX).
- `search`: Keyword search across projects and posts (title, summary, tags, body).
- `semantic_search`: Search projects and posts by meaning, using the embedding model hosted on this site. Questions and synonyms work too. Returns the most relevant page titles and paths, and falls back to keyword search when the local AI is offline.
- `get_now`: What I am working on and learning right now (the /now page).
- `get_flight_stats`: An aviation fan's notes: routes flown, airports, airlines, total distance (no dates).

---

Author: PINGWEI LI (李秉威, Li Ping-Wei)
Original page: https://kbs0830.com/en/developers
