Agentcite

io.github.Kevinx702Published by GitHub account Kevinx702v0.1.1Updated Oct 24, 2026

Fabrication-free, DOI-backed citations for AI agents — real openAlex sources, never hallucinated.

Overview

AI-generated overview

Agentcite is a local MCP server that gives an AI assistant real, DOI-backed citations from OpenAlex instead of fabricated sources.

What you can do
  • Retrieve citations on a topic: returns a set of OpenAlex works with title, authors, year, DOI, citation count and venue, plus a ready-made markdown block.
  • Filter and size results: the citation lookup takes a topic, a result count and an optional start year.
  • Check service status: a health endpoint reports whether the OpenAlex backend is reachable.
  • Every returned record is a real OpenAlex article record with a resolvable DOI, so the assistant can cite sources rather than invent them.
When to use it
Use it when the assistant writes research-backed content, reports or answers that need verifiable academic references, and you want to avoid hallucinated citations. It suits workflows where each reference must be traceable to a real DOI.
Requirements
Runs as a local stdio process installed from the npm package agentcite-mcp, so Node.js is needed. It calls the hosted Agentcite API, which queries OpenAlex, so network access is required. No credentials are declared; the README mentions an optional OPENALEX_MAILTO setting for OpenAlex's polite pool.
Before you install
The README states output should still be checked, since it advises verifying each DOI resolves. The README also describes a paid Pro tier via Stripe and server-side keys such as STRIPE_SECRET_KEY and REDIS_URL; those belong to the hosted service, not to this local server, and no payment is needed to use the citation lookup. Results are limited to OpenAlex article records.

Installation

In SourceWeft

  1. Open Agentcite in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

AgentCite

Fabrication-free, DOI-backed citations for AI content & agents. Every result is a real openAlex record (CC0 public-domain data) with a resolvable DOI — the API never fabricates a source. Built to stop the hallucinated-citation problem that gets content E-E-A-T-demoted.

Separate deployable from giftedpicks.com (own Vercel project). Productizes the logic of GiftedPicks/scripts/citation_magnet.py.

API (MVP)

  • GET /api/cite?topic=<q>&n=5&since=YYYY → { topic, count, works[], markdown, source }
    • each work: { title, authors[], first_author, year, doi, doi_url, cited_by_count, venue, openalex_id }
  • GET /api/health → { status, openalex, ts }

Data: openAlex REST (relevance-ranked, peer-reviewed type:article). Set OPENALEX_MAILTO env to join openAlex's polite pool. Edge-cached 1h per topic.

Roadmap (build order)

  1. ✅ Core /cite + /health (openAlex REST, no key, no binary — serverless-portable)
  2. ⏳ API-key + quota gate (Supabase: anon free tier rate-limited vs keyed Pro)
  3. ⏳ MCP server: get_citations(topic, n, since) (stdio + http) — the agent-native surface
  4. ⏳ Stripe billing (TEST mode first; hosted Checkout/Payment Link → webhook provisions quota). GATED: needs .claude/secrets/stripe-test-{publishable,secret}-key saved by Kevin. LIVE go-live = Kevin places the live secret key in the deploy env; agents never hold it.
  5. Landing page + MCP-registry listings — owned by Cowork.

Guardrails

Public-domain data only (zero scraping / no unofficial-site APIs). Honesty is the product: output always says "verify each DOI resolves." Test-mode payments only until Kevin flips live; agents never move money or hold the live key.

Billing (Stripe)

Pro tier via hosted Stripe Checkout (subscription). On checkout.session.completed, the signature-verified webhook (/api/stripe-webhook) provisions a Pro API key in Redis (free→Pro quota elevation). Configure via env:

  • STRIPE_SECRET_KEY, STRIPE_PRICE_ID, STRIPE_WEBHOOK_SECRET, REDIS_URL
  • Create the Pro product/price once: STRIPE_SECRET_KEY=sk_test_… node scripts/setup-stripe-product.js
  • Without Stripe env set, /api/checkout returns 503 and the citation API still runs free-tier.

Source: README.md at commit 9814800

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.