LM Studio
LM Studio's own documentation site (lmstudio.ai/docs) — fetch one page's title and body straight off its machine-readable `.md` export, instead of parsing…
LM Studio's own documentation site (lmstudio.ai/docs) — fetch one page's title and body straight off its machine-readable .md export, instead of parsing the rendered page by hand.
Domain: lmstudio.ai
Also known as: LM Studio, lmstudio, lmstudio.ai
Call it directly
bowmark.providers.lmstudio.getDoc(url: string): Promise<lmstudioDoc>
bowmark.providers.lmstudio.listDocPages(): Promise<lmstudioDocPage[]>Functions
| Function | What it does |
|---|---|
getDoc | Fetches one lmstudio.ai documentation page — url is the page's full URL or path, e.g. "https://lmstudio.ai/docs/app/mcp/deeplink" or "/docs/app/plugins/mcp". Returns its canonical url,… |
listDocPages | Lists every documentation page lmstudio.ai publishes under /docs — url and the page's own URL slug — parsed from the site's own /docs/sitemap.xml. |
Types
interface lmstudioDoc {
url: string;
title: string;
body: string;
}
interface lmstudioDocPage {
url: string;
slug: string;
}Examples
const doc = await bowmark.providers.lmstudio.getDoc("https://lmstudio.ai/docs/app/mcp/deeplink");
// doc -> { url: "https://lmstudio.ai/docs/app/mcp/deeplink",
// title: "Add to LM Studio Button",
// body: "You can install MCP servers in LM Studio with one click using a deeplink.\n\n…" }// find every doc page about MCP, then read one
const pages = await bowmark.providers.lmstudio.listDocPages();
const mcpPages = pages.filter((p) => /mcp/i.test(p.slug));
const doc = await bowmark.providers.lmstudio.getDoc(mcpPages[0].url);
log(doc.title);