▲HIGHLAND DOCS

CLAUDE.md lint API

Lints a CLAUDE.md: size, structure, @imports, and secrets, passwords or email addresses that should not be there. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named claude-md-lint.

Price

2¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Agent tools.

Try it

POST https://api.highlnd-intel.group/v1/api/claude-md-lint with a Bearer key and a JSON body.

curl · API key
curl -s https://api.highlnd-intel.group/v1/api/claude-md-lint \
  -H "authorization: Bearer $HIGHLAND_KEY" \
  -H "content-type: application/json" \
  -d '{"text":"# my-repo\n\n## Checks\n- npm test\n\n## Rules\n- Keys come from env vars only.\n"}'
request body
{
  "text": "# my-repo\n\n## Checks\n- npm test\n\n## Rules\n- Keys come from env vars only.\n"
}

Request body

FieldTypeRequiredDescription
textstringYesThe CLAUDE.md text, up to 60,000 characters. (min 1 chars; max 60000 chars)

What it returns

{ ok, stats { characters, lines, approxTokens, headings, imports }, findings[{ severity: error|warning|info, code, path, message }] and counts { error, warning, info } }. Paths are line numbers. A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.

Get a free API key

No email, no card. The key is shown once.

bash
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"

Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.

MCP and x402

The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as claude-md-lint. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.

OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.

  • Web search API — Neural or keyword web search with highlights, for agents. Up to 10 results, public URLs only (8¢)
  • Web page contents API — Clean text of up to 5 public pages, capped per page, for agents to read (6¢)
  • Find similar pages API — Pages similar in meaning to a given public URL, with highlights. Up to 10 results (8¢)
  • Web scrape to Markdown API — Main content of one public page as Markdown (up to 50,000 characters), with title and status (7¢)
  • Site map API — Discovers the URLs of a public site (up to 200), optionally ranked by a search term (6¢)

See every tool on the tool pages index or the API reference.