Skip to main content

5 posts tagged with "citations"

View All Tags

NotebookLM from Ruby: a gem that owns no browser

· 6 min read
Romain Peyrichou
Author of NotebookLM MCP

Search RubyGems for a NotebookLM client and you get an empty array. Search GitHub and you get two repositories, one star between them, neither published as a gem. For the consumer product — the Gemini Notebook you log into with a personal Google account, not the Cloud Enterprise one — the Ruby shelf is bare.

That is not because Ruby is unsuited to the job. It is because the hard part of this problem is not HTTP.

A literature review an agent can actually run

· 5 min read
Romain Peyrichou
Author of NotebookLM MCP

An agent with a web search tool writes a literature review that sounds right. An agent with your own sources writes one you can check. The difference is not the model — it is whether every claim comes back with the passage it came from.

That is the job MCP is good at here: the agent is already in a conversation with you, it already has a plan, and it needs a tool that answers from your documents and hands back the evidence. Here is the loop that works, and the parts that waste your allowance if you skip them.

Using NotebookLM from Python

· 5 min read
Romain Peyrichou
Author of NotebookLM MCP

The NotebookLM automation projects that work tend to be written in Python, and ours is not — it is TypeScript. That turns out not to matter, because the thing you integrate against is an HTTP endpoint on localhost, and Python talks to those perfectly well.

There is no official SDK for the consumer product. What there is: a local server you run, and ordinary requests calls into it.

NotebookLM from Rust: a client that compiles

· 8 min read
Romain Peyrichou
Author of NotebookLM MCP

Search crates.io for a NotebookLM client and you find one crate, nblm-core. It targets NotebookLM Enterprise — the Google Cloud product, not the Gemini Notebook you log into with a personal account — it has not been published since November 2025, and it served 41 downloads in the last ninety days. For the consumer product, the Rust shelf is empty.

That is not because Rust is unsuited to the job. It is because the hard part of this problem is not HTTP.

Getting NotebookLM citations as structured JSON

· 3 min read
Romain Peyrichou
Author of NotebookLM MCP

NotebookLM's best feature is that every claim points at the passage it came from. Its worst export story is that those pointers stay in the web app. Copy an answer out and you get prose with little numbers in it.

If you are feeding answers to anything downstream — a review, a database, an agent that must not invent — the citation is the part you actually need.