Skip to content
FunCoding

Search

Search docs, Skills and MCP

Agent access

Let agents and your own programs find and install Skills and MCP servers from this site, and read the docs.

Spec
/openapi.json
Base URL
https://funcoding.ai
Authentication
API keys Create
Rate limits
60 per minute, 3000 per day

Authentication

Doc Markdown needs no key. Every other endpoint needs an API key.

  1. Create an API key

    Sign in, open “API keys” in your account and click “Create”. Keys start with fc_ and are shown in full only once.

  2. Send it in a header

    Use X-API-Key, or Authorization: Bearer followed by the key. Keep keys out of web pages and public repos.

Try it:

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/search?q=pdf&limit=3"

Rate limits

Counted per account: all your API keys and your funcoding-cli sign-in share one quota.

Per account, per minute
60
Per account, per day (resets at 00:00 UTC)
3000
Per IP, per minute (including endpoints without a key)
120

X-RateLimit-Remaining and X-RateLimit-Daily-Remaining show what’s left this minute and today. Over the limit, you get a 429 with Retry-After in seconds.

Endpoints

All endpoints are GET and return JSON (docs return Markdown).

Skills and MCP

GET/api/cli/search

Search Skills and MCP servers

Matches names and descriptions. Exact name matches come first, then by stars. Only listed entries are returned.

ParameterBreadcrumbDescription
q*QuerySearch term, up to 100 characters
limitQueryNumber of results, 1–30, default 10

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/search?q=pdf&limit=3"

Returns: Two groups of cards: skills and mcp.400 401 429

GET/api/cli/skills/{owner}/{repo}/{skill}

Get a Skill’s install details

Returns the file list, download URL prefix and full SKILL.md. Each file’s URL is rawBase plus its relative path, served from GitHub.

ParameterBreadcrumbDescription
owner*PathGitHub user or organization
repo*PathRepository name
skill*PathSkill name

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/skills/anthropics/skills/pdf"

Returns: Everything needed to install; content is the full SKILL.md.400 401 404 429 502

GET/api/cli/mcp/{owner}/{repo}

Get an MCP server’s launch options

Lists remote URLs and local launch commands (npx or uvx), plus the headers and environment variables you need to provide. When a repo has several servers, add the subdirectory name to the end of the path.

ParameterBreadcrumbDescription
owner*PathGitHub user or organization
repo*PathRepository name

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/mcp/microsoft/playwright-mcp"

Returns: An empty launches list means no ready-to-use launch option is registered; check the repo.400 401 404 429

Docs

GET/api/cli/docs/search

Search docs

Search the site’s agent docs by keyword.

ParameterBreadcrumbDescription
q*QuerySearch term, up to 100 characters
agentQueryLimit to one agent, e.g. claude-code
limitQueryNumber of results, 1–30, default 10

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/docs/search?q=hooks&agent=claude-code"

Returns: A list of docs; use id to read the full text.400 401 429

GET/api/cli/docs/{agent}/{path}No key needed

Read a doc

The Markdown source, starting with the URL, verification date and official sources. Site links are absolute. path can span several levels; without it you get the agent’s overview.

ParameterBreadcrumbDescription
agent*PathAgent, e.g. claude-code
path*PathDoc path, e.g. build/skills
langQueryPass en for the English version; falls back to Chinese

* Required

curl "https://funcoding.ai/api/cli/docs/claude-code/build/skills"

Returns: Markdown text.404 429

Lists

GET/api/cli/lists/{shareId}

Get a shared list

A list of Skills and MCP servers a user shared publicly, with only entries still listed. shareId is the last segment of the share link /share/<shareId>/.

ParameterBreadcrumbDescription
shareId*PathThe 10-character id from the share link

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/lists/{shareId}"

Returns: The list title, its owner and two groups of cards.401 404 429

News

GET/api/cli/news

Get the AI news ranking or daily digest

Without daily, returns the current ranking; with daily, that day’s AI digest. Data comes from AIHOT; keep the source name and original link when you display it.

ParameterBreadcrumbDescription
limitQueryNumber of results, 1–10, default 10
dailyQuerylatest for the newest issue, or YYYY-MM-DD

* Required

curl -H "X-API-Key: $FUNCODING_API_KEY" \
  "https://funcoding.ai/api/cli/news?limit=5"

Returns: Ranking entries and attribution; see /openapi.json for the digest format.401 404 429

Errors

Errors return a status code and { "error": "…" }

400
Invalid parameters. error says what’s wrong
401
No API key, or the key was deleted
404
Not found
429
Rate limit exceeded. Retry-After is the wait in seconds
502
Couldn’t read from GitHub. Try again later