Skip to content
nodemode-devPublic

About

FormCite - instead of Zotero & EndNote: the research library from the FormAI family of apps. Add sources from a DOI, arXiv id, ISBN, PubMed ID or PDF, organize them & cite them in any style from any app; agents work in it over MCP. Runs locally, no account. Free & open-source under GPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

586 Commits

Folders and files

FormCite icon

FormCite

Library; the Form family's personal research library.
Collect sources, organize them and cite them from the app you are writing in.
Python and SQLite, on your own computer. No account, and agents can use it over MCP.

version 0.15.2 TypeScript Python 3.12 or later macOS, Windows, Linux License: GPL-3.0-only Status: early

Download FormCite · Run it from source

Features · In the box · Agents · Under the hood · Download · Run from source · Network

FormCite's Items view in the dark theme, with the menu bar across the top, the Urban ecology collection open with 31 items, one reference selected in the list and its details at the right: type, title, two creators, date, container, volume, issue and pages
FormCite 0.15.0 on the Items view: the menu bar, the collections and tags at the left, the list, and the details of the selected reference at the right. The references in these captures are invented.


Yours

Your references, files and notes stay on your own computer, in a library you can copy or move as a folder.

Quick to fill

Add from a DOI, an arXiv id, an ISBN or a PubMed ID, drop a PDF on the window, or import BibTeX, RIS and CSL-JSON.

Cites anywhere

Citations and bibliographies in the styles the engine bundles, or in your own style file, from the window, the command line or another app.

Agent-ready

A cite service and an MCP server, both closed until you approve a token, for Claude Code, Codex, Cursor and Antigravity.

Features

A library

References, collections, tags, notes, attached files, full-text search and a trash. The list stays smooth with thousands of items.

In and out

Import and export BibTeX, RIS and CSL-JSON, with duplicates caught on the way in and a view to merge them.

Citations

Citations and bibliographies in the styles the engine bundles, or in your own style file.

Adding

From a DOI, an arXiv id, an ISBN or a PubMed ID, or from a PDF you drop on the window.

A window

Items, Duplicates, Trash, Connections and Preferences views (docs/WINDOW.md). It follows the system's light or dark theme. Stored PDFs open in FormPDF when it is installed, and other files in your system viewer.

From 0.15.0: a menu bar in the window (on a Mac, the system menu bar, with Menus in Window to switch back), a right-click menu on the rows of the item list, a Home start screen with the ways to add references, Preferences in sections (General, Appearance, Network, Libraries and Agents) and the Form glass look.

Other apps and agents

A cite service and an MCP server, both closed until you approve a token. The command line needs no engine.

From 0.15.0: an agent dock in the window, with terminal tabs and a Claude Code tab.
The Items view in the dark theme with the agent dock open along the foot of the window, its terminal showing the command line's APA result for four references: a citation line and the four bibliography entries beneath it
A bibliography in APA, printed by FormCite's command line in the agent dock's terminal.

Cite from the terminal

The dock runs the same command line you would use in any shell, on the same library.
FormCite's Home start screen in the dark theme: a drop area with the buttons Add by identifier, Import a file and Choose a PDF, four count cards and a row of recent collection cards
Home: the ways to add references, the library at a glance and recent collections.

Home

From 0.15.0. Add by identifier, import a file or choose a PDF, then pick up where you left off.
FormCite's Preferences in the dark theme, with a rail listing General, Appearance, Network, Libraries and Agents, the Show Home at launch switch turned on and a grid of dark theme swatches under Appearance
Preferences in sections, with the dark theme swatches under Appearance.

Preferences

From 0.15.0. General, Appearance, Network, Libraries and Agents.
The Items view in the light theme, with the Urban ecology collection open, one reference selected and its details at the right
The Items view in the light theme.

Dark and light

The window follows the system's light or dark theme, or you pick one in Preferences.

The captures show a sample library made for these pictures; its references are invented.

The details of each part are in docs/.

Everything in the box

Library

References · Collections and subcollections · Tags · Notes · Attached files · Full-text search · Duplicates and merge · Trash · Several libraries · A data folder you can copy

Add and cite

DOI · arXiv id · ISBN · PubMed ID · PDF drop and identify · Paste or pick a file · Citations and bibliographies · Your own style file · Locators

Formats

Opens: BibTeX · RIS · CSL-JSON · Saves: BibTeX · RIS · CSL-JSON · Styles: the engine's bundled names, or your own .csl file

Window (from 0.15.0)

Menu bar (File · Edit · View · Library · Help) · Home with Add by identifier, Import a file and Choose a PDF · Library counts and recent collections · Preferences in sections · Right-click menu on the item list · Form glass look in dark and light

Apps and agents

Cite service · MCP server over stdio and local HTTP · Service tokens you approve and revoke · Write log · ./formcite agents install

Agent dock (from 0.15.0)

Shell tabs started by the engine · A Claude Code tab with FormCite's tools when Claude Code is installed · Codex, Cursor and Antigravity tabs when those are installed · Opens from View, or with Ctrl+J (Cmd+J on a Mac)

Built for agents

The window, the command line, the cite service and the MCP server all work on the same library, so a change made in one place shows up in the others. Another app on this computer, or an agent you run, can use your library only with a token you approved.

./formcite cli --help                  # the library from the command line, no engine needed
./formcite mcp                         # MCP server on stdio, read-only unless --allow-write
./formcite agents install --dry-run    # shows what it would register for Claude Code, Codex, Cursor and Antigravity
  • An app asks; the request shows in the window's Connections view (and in ./formcite cli service requests), where you approve it to read, or to read and add, or deny it. You can remove its access there at any time.
  • With a token, an app searches, reads and formats citations through the cite service at /api/cite/v1 (docs/CITE_SERVICE.md). Without one it gets no answer.
  • Agents use the MCP server: ./formcite mcp (read-only unless you start it with --allow-write), or POST /mcp on the running engine with a token (docs/MCP.md). ./formcite agents install registers it with the agent clients it knows; --dry-run shows what it would write.
  • ./formcite cli service log shows everything a token holder added.
  • From 0.15.0 the window has an agent dock (View, Agent Dock): shell tabs the engine starts on this computer, and a tab for Claude Code, Codex, Cursor or Antigravity when that program is installed. Each agent tab gets its own token, which is revoked when the tab closes. Only the FormCite window can open one. The dock asks no question of its own: an outside agent is approved by pairing under Connections, as above.

See AGENTS.md.

Under the hood

  • Engine: a FastAPI service over a SQLite library, with the command line, the cite service and the MCP server on top of the same store.
  • Citations: a Rust module built on Hayagriva (pinned, =0.10.1), made into a Python wheel with maturin and checked by a regression set of twelve cases.
  • Window: vanilla TypeScript and Vite, with a DOM-free command registry and an inline-SVG icon set and no UI framework.
  • Desktop: a Tauri 2 shell around the same window, with the engine frozen as a sidecar.

Download

From 0.15.0 FormCite is built for macOS, Windows and Linux by FormCompiler and released on FormCite's releases page. Earlier versions have no download; you run them from source. In the file names, X.Y.Z is the version, for example 0.15.0.

Your computer File to download What it is
Mac with Apple silicon (M1 or newer) formcite-X.Y.Z-macos-arm64.dmg Disk image. Open it and drag FormCite to Applications.
Mac with an Intel processor formcite-X.Y.Z-macos-x64.dmg The same for Intel Macs.
Windows PC (64-bit Intel or AMD) formcite-X.Y.Z-windows-x64-setup.exe Installer. The one most people on Windows want.
Windows PC (64-bit Intel or AMD) formcite-X.Y.Z-windows-x64.msi The same app as an MSI installer, for IT teams that install on many PCs.
Linux PC (64-bit Intel or AMD) formcite-X.Y.Z-linux-x64.AppImage One file that runs on most Linux systems with no install.
Linux PC (64-bit Intel or AMD) formcite-X.Y.Z-linux-x64.deb Package for Debian, Ubuntu, Linux Mint and Pop!_OS.
Linux PC (64-bit Intel or AMD) formcite-X.Y.Z-linux-x64.rpm Package for Fedora, Red Hat, Rocky Linux and openSUSE.

Other files on a release: SHA256SUMS.txt has the checksum of every file, to confirm that a download arrived whole; form-app.json is the app's description card, which FormPortal reads; formcite-skills-vX.Y.Z.zip is the optional skill pack that teaches an agent program to use FormCite. Builds for Windows on Arm and Linux on Arm are not released yet.

Needs macOS 10.13 or newer (the version the build targets; it has not been read back from a built app yet), Windows 10 or newer, or a Linux with glibc 2.35 or newer, such as Ubuntu 22.04. All FormCite builds are compiled and released from FormCompiler; this repo holds the source.

Run it from source

Prefer it in your browser, or want to contribute? Run the window straight from this repo.

Requires: Python 3.12 or later and Node 22. Rust is needed only if no prebuilt citation style engine is found for your platform; the desktop shell also needs Rust and the Tauri 2 system packages.

git clone git@github.com:nodemode-dev/formcite.git
cd formcite
./formcite install         # engine venv and window packages
./formcite                 # engine on 127.0.0.1:8330, window at http://localhost:5330
./formcite serve           # the engine alone, with no window
./formcite cli --help      # the library from the command line, no engine needed
./formcite desktop dev     # the desktop window instead of the browser

On Windows use formcite.bat install and formcite.bat.

The install puts in a prebuilt citation style engine when it finds one (in wheels/, in native/formcite-style/dist/, or in the folder FORMCITE_STYLE_WHEELS names). Otherwise it builds the engine from source, which needs Rust (./setup/build_style). With neither, everything works except formatting a citation, which answers 503 until you run ./setup/build_style --from-source with Rust installed. No wheel is shipped in this repository yet.

A few commands to try, once the install is done:

./formcite cli item add title="A" author="Doe, J" year=2024
./formcite cli search A
./formcite cli item attach ITEM_ID paper.pdf
./formcite cli import references.bib
./formcite cli export --format ris --out references.ris
./formcite cli format --style apa --ids ITEM_ID
./formcite cli duplicates list
./formcite cli add doi=10.1038/nature12373
./formcite cli identify paper.pdf

./formcite prints the window's address with a one-time launch code on the end. Open that address: the window trades the code for its key, and only that window can change anything.

Port What listens Change it with
8330 the engine, on this computer only FORMCITE_ENGINE_PORT
5330 the window's dev server FORMCITE_UI_PORT
5331 the window's preview server

What FormCite sends over the network

Nothing, unless you ask for a lookup. ./formcite cli add doi=... (or arxiv=, isbn=, pmid=) and ./formcite cli identify FILE.pdf send the identifier, and only the identifier, to the service that knows it. The window does the same when you add by identifier or drop a PDF on it, and so do the lookup tools an agent calls. A PDF and its text never leave your computer. There is no timer, no update check and no call at start-up.

Service Host Asked for
doi.org doi.org a DOI's record; it redirects to the agency that registered the DOI
Crossref api.crossref.org the record of a Crossref DOI
DataCite data.crosscite.org, api.datacite.org the record of a DataCite DOI
arXiv export.arxiv.org a preprint by arXiv id
Open Library openlibrary.org a book by ISBN
PubMed eutils.ncbi.nlm.nih.gov an article by PubMed ID

In the window, Preferences lists every service with a switch for each. ./formcite cli network list shows these with their switches, network off stops every call, network disable NAME stops one service, and network log shows every call that was made. Setting FORMCITE_OFFLINE=1 forces the network off. No email address is sent unless you set one with network contact. The rules are in docs/NETWORK.md.

The data folder is ~/FormCite; FORMCITE_DATA_DIR moves it.

Demos and templates

  • Demos (demos/): three complete sample libraries, each with collections, tags and notes: a thesis on urban heat (260 references), a history reading list (215) and a cell biology lab's methods library (240). Each is ready to open, and each also comes as a BibTeX file you can import.
  • Templates (templates/): 41 citation styles to format with as your own style file (format --style-file), 40 of them unmodified from the Citation Style Language project under CC BY-SA 3.0 (templates/CREDITS.md). Also 10 library starters with collections and tags already in place, for a thesis, a grant, a course, a systematic review and more.

Important

Status: early. The library, the command line, the cite service and the MCP server work, and the window runs in a browser and in the desktop shell. The downloadable desktop apps are new in 0.15.0; CHANGELOG.md says what was run on which system.

Contributing: branch from main, keep changes to source here, and leave packaging and releases to FormCompiler. See CONTRIBUTING.md, the code of conduct, AGENTS.md and docs/. Report security issues privately as SECURITY.md describes.

Repository

Path What it is
backend/ the engine: Python and FastAPI, the library store, the command line, the cite service and the MCP server
frontend/ the window: TypeScript and Vite, with the command registry in src/engine and the views in src/ui
native/formcite-style/ the citation style engine, a Rust module built on Hayagriva
src-tauri/ the Tauri 2 desktop shell and the engine sidecar
docs/ one page per part (docs/README.md)
setup/ install, build, freeze and boot scripts behind ./formcite
assets/brand/ the logo and icon art


Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

FormCite is licensed under the GNU General Public License v3.0 (LICENSE, SPDX GPL-3.0-only). Copyright (C) 2026 NodeAgentc, Inc. Third-party notices: NOTICE.md.

About

FormCite - instead of Zotero & EndNote: the research library from the FormAI family of apps. Add sources from a DOI, arXiv id, ISBN, PubMed ID or PDF, organize them & cite them in any style from any app; agents work in it over MCP. Runs locally, no account. Free & open-source under GPL-3.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages