Developer API, MCP & Agent Integration
Plug timestamped spoken-source search (287,066 claims), certified application/UI/flight blueprints, and truth.lock reference checks (84,752 records) into Claude, ChatGPT, Cursor, or any OpenAI SDK.
Grounded Answers via /v1
Point any existing Python or TypeScript OpenAI client, LangChain, LlamaIndex, or LiteLLM app at /v1 to retrieve timestamped spoken quotes and citation checks.
export OPENAI_BASE_URL="https://scholar.askdavidc.ai/v1" export OPENAI_API_KEY="scholar-public" # Models: scholar-grounded | scholar-l0-router | scholar-auditor
Add Spoken Search & Prior Art in 1 Command
Connect the focused 8-tool /mcp/core router (io.github.openIE-dev/commons-scholar on the Official MCP Registry), full 67-tool /mcp, POST /a2a, or /SKILL.md.
claude mcp add --transport http scholar \ https://scholar.askdavidc.ai/mcp/core curl -fsSL https://scholar.askdavidc.ai/SKILL.md -O
Embed Spoken Quotes & Run truth.lock in CI
Screen .bib, .ris, .tex, .qmd, and .typ references in GitHub Actions, pre-commit, or POSIX shell, or embed timestamped evidence cards.
# GitHub Action: uses: openIE-dev/commons-scholar@v0.57.0 curl -fsSL https://scholar.askdavidc.ai/truth-lock.sh | sh -s -- references.bib <script type="module" src="https://scholar.askdavidc.ai/v83/embed/scholar-evidence.js"></script>
Live Zero-Rewrite Protocol Tester
Click "Send Live Request" to inspect the live wire response…
13 Native Zero-Dependency SDKs (/sdk/<lang> & /api/sdk)Select Language ▾
Select your language to inspect or vendor the compiler-verified SDK directly over HTTPS:
commons_scholar.R
⬇ Download commons_scholar.R
curl -fsSL https://scholar.askdavidc.ai/sdk/r -o commons_scholar.R
# Commons Scholar — Native R SDK v0.57.0 (`https://scholar.askdavidc.ai`)
# Zero mandatory CRAN dependencies; uses `jsonlite::fromJSON` automatically when installed.
SCHOLAR_SDK_VERSION <- "0.57.0"
scholar_base_url <- function() {
Sys.getenv("COMMONS_SCHOLAR_URL", unset = "https://scholar.askdavidc.ai")
}
scholar_get_raw <- function(route, query = list(), base_url = scholar_base_url()) {
base <- sub("/+$", "", base_url)
path <- if (startsWith(route, "/")) route else paste0("/", route)
qs <- ""
if (length(query) > 0) {
parts <- vapply(names(query), function(k) {
val <- query[[k]]
if (is.null(val) || identical(val, "")) return("")
paste0(utils::URLencode(k, reserved = TRUE), "=", utils::URLencode(as.character(val), reserved = TRUE))
}, character(1))
parts <- parts[nzchar(parts)]
if (length(parts) > 0) qs <- paste0("?", paste(parts, collapse = "&"))
}
con <- url(paste0(base, path, qs), open = "rb")
on.exit(close(con), add = TRUE)
paste(readLines(con, warn = FALSE, encoding = "UTF-8"), collapse = "\n")
}
scholar_parse <- function(raw_json) {
if (requireNamespace("jsonlite", quietly = TRUE)) {
jsonlite::fromJSON(raw_json, simplifyVector = TRUE)
} else {
raw_json
}
}
scholar_ask <- function(q, top = 6L, base_url = scholar_base_url()) {
Hosted Package Registries — Unified commons-scholar (v0.57.0)/api/registries →
Install directly with standard package managers (SHA-256 / SHA-512 SRI verified, zero external login required):
# Python (uv / pip — PEP 503 & PEP 691 Simple Index)
uv pip install --index-url https://scholar.askdavidc.ai/pypi/simple commons-scholar
# TypeScript / Node (npm / pnpm / bun — Packument + SHA-512 SRI)
npm install --registry https://scholar.askdavidc.ai/npm commons-scholar
# Rust (crates.io + Cargo RFC 2789 Sparse Registry)
cargo add commons-scholar
CARGO_REGISTRIES_SCHOLAR_INDEX="sparse+https://scholar.askdavidc.ai/cargo/index/" \
cargo add --registry scholar commons-scholar
# Go 1.22+ (Go Module Proxy + ?go-get=1)
GOPROXY=https://scholar.askdavidc.ai/goproxy,direct GONOSUMDB="scholar.askdavidc.ai/*" \
go get scholar.askdavidc.ai/sdk/go@v0.57.0
# Zig, .NET NuGet v3, Maven v2, Browser/Deno ESM & POSIX CLI
zig fetch --save https://scholar.askdavidc.ai/sdk-releases/v0.57.0/commons-scholar-zig-0.57.0.tar.gz
dotnet add package CommonsScholar --version 0.57.0 \
--source https://scholar.askdavidc.ai/nuget/v3/index.json
# Maven repository URL: https://scholar.askdavidc.ai/maven (ai.openie.scholar:commons-scholar:0.57.0)
import { CommonsClient } from "https://scholar.askdavidc.ai/esm/commons-scholar@0.57.0/index.js";
curl -fsSL https://scholar.askdavidc.ai/install.sh | sh
Channels, Podcasting 2.0, Publish CLI & JouleDB EndpointsExpand Reference ▾
Stream, subscribe, share, or meter distinctions across science, patents, math, biology, chemistry, stem, art, and radio-tv:
# 8-Ecosystem Channels, Watch/Danmaku Theater & Podcasting 2.0 / PWA GET https://scholar.askdavidc.ai/api/channels GET https://scholar.askdavidc.ai/api/channels/biology GET https://scholar.askdavidc.ai/api/watch?v=openie-radio:ep19-ltcb-cm7-standards-sel4-h56 GET https://scholar.askdavidc.ai/podcasts.xml?channel=math # RSS 2.0 + iTunes + Podcasting 2.0 GET https://scholar.askdavidc.ai/podcasts.opml # OPML 2.0 8-channel bundle GET https://scholar.askdavidc.ai/manifest.webmanifest # Google Play TWA / PWA + Share Target # Zero-Bloat Ed25519 Identity & Two-Sided Publish Studio (/publish · /play · /u/<handle>) commons login --handle @optics-lab # POST /api/identity/claim (no email/password) commons publish capsule ./sim.html --title "Wave Optics" # POST /api/publish/capsule -> /play/<slug> commons publish disclosure ./invention.md --title "…" # POST /api/publish/disclosure -> /disclosure/<cid> commons publish feed https://example.edu/rss.xml --title "…" # POST /api/publish/feed -> /u/<handle> # Scholar × JouleDB Morphic Seams (Bilibili + Podcasting 2.0) & scholar-jouledb-ppd/1 COSE_Sign1 Receipts GET https://scholar.askdavidc.ai/api/distinction-receipt?q=Landauer+limit&top=8 # MCP: scholar_price_per_distinction GET https://scholar.askdavidc.ai/api/jouledb/distinction?q=Landauer+limit&top=8 GET https://scholar.askdavidc.ai/api/jouledb/seams?seam=all # Bilibili PBP/danmaku + Podcasting 2.0 GET https://scholar.askdavidc.ai/api/jouledb/ledger