CiteWire

CiteWire

Enables agents to query news and research metadata through MCP tools, either by wrapping a compatible news platform or enabling public provider adapters, while preserving attribution and publisher credit.

Category
Visit Server

README

CiteWire

npm CI license

citewire.org · Openly Useful

Attribution-first MCP infrastructure for news and research discovery.

CiteWire gives agents structured, read-only access to news and research metadata while preserving credit and traffic for the original publisher. It can expose a compatible news platform as typed MCP tools, query optional public provider APIs, or do both in one server.

The Community edition is useful on its own. It includes the MCP core, stdio and HTTP transports, the generic platform adapter, and every provider adapter in this repository under the MIT license. Commercial product direction is additive and focused on managed operations, personalization, workflows, collaboration, retained history, and support. See Product tiers.

What CiteWire is for

  • News platform operators can expose a compatible read API through news.list, news.get, news.topics, and news.about.
  • Researchers and agent builders can enable only the public news and research providers they want to query.
  • Self-hosters can run the same server over stdio, stateless HTTP, or inside a Node serverless function.
  • Provider contributors can add a focused adapter without introducing a runtime dependency.

CiteWire is not a full-text ingestion service, crawler, publisher, editorial system, or rights-clearance service. It does not store or republish article bodies. Provider reachability does not replace review of the provider's current terms for your use case.

Quick start

Requirements: Node.js 18 or newer. Community is an ESM-only Node package; it does not provide a CommonJS entry point.

Create citewire.config.json with one provider enabled:

{
  "providers": {
    "openalex": { "enabled": true }
  }
}

Run the server over stdio:

npx -y citewire --config citewire.config.json

stdio is the default transport and is the usual choice when an MCP client launches citewire as a local process.

MCP client configuration

Use an absolute config path because clients do not always launch from the project directory:

{
  "mcpServers": {
    "citewire": {
      "command": "npx",
      "args": [
        "-y",
        "citewire",
        "--config",
        "/absolute/path/to/citewire.config.json"
      ]
    }
  }
}

HTTP transport

Run the stateless HTTP transport on port 8722:

npx -y citewire --config citewire.config.json --http 8722

The local endpoint accepts JSON-RPC over POST /. It does not offer sessions or an event stream.

Two ways to use it

1. Wrap a compatible news platform

Declare a platform with a display name, site URL, and read API base:

{
  "platform": {
    "name": "Example Industry News",
    "siteUrl": "https://news.example",
    "apiBase": "https://news.example/api/v1/news"
  }
}

That configuration exposes four tools:

Tool Purpose
news.list List items newest first, with optional topic, industry, text, date-window, and pagination filters.
news.get Get one item by slug, including attribution and related coverage returned by the platform.
news.topics Read the platform's active topic taxonomy.
news.about Read static platform facts and the attribution policy.

The required HTTP surface is documented in the platform read-API contract.

2. Enable public provider tools

Provider adapters are included in Community and are disabled by default. A provider becomes active only when its config entry sets enabled to true.

{
  "providers": {
    "gdelt-doc": { "enabled": true },
    "arxiv": { "enabled": true },
    "crossref": {
      "enabled": true,
      "mailto": "operator@example.com"
    }
  }
}

Crossref requires the deployer's own contact email so requests can identify the operator to its polite pool. citewire sends that address only to Crossref in the request mailto parameter and User-Agent. Do not copy the example address.

The current adapters are:

Provider Tools Focus
GDELT DOC 2.0 gdelt.search Worldwide news article metadata
GDELT Context 2.0 gdelt.context Snippet-level context around a term
arXiv arxiv.search Preprint metadata
OpenAlex openalex.search Scholarly works, authors, and venues
Crossref crossref.search DOI registration metadata
Semantic Scholar semanticscholar.search Papers and author graph metadata
Europe PMC europepmc.search Life-sciences literature metadata
dblp dblp.search Computer-science bibliography records
Hacker News hackernews.top, hackernews.item Stories and items from the official API
DEV devto.search Published DEV article metadata

Read Providers before enabling one. That document records the endpoint, documentation, free-access basis, and known courtesy limits for each adapter. The provider's own documentation remains the source of truth.

Configuration behavior

  • platform is optional.
  • providers is optional.
  • A provider omitted from the config remains disabled.
  • An empty config is valid and exposes no tools.
  • Invalid config fails at startup with the field named in the error.
  • tools/list is the authoritative tool list for a running deployment because enabled tools depend on that deployment's config.

A deployment can combine a platform and provider tools:

{
  "platform": {
    "name": "Example Industry News",
    "siteUrl": "https://news.example",
    "apiBase": "https://news.example/api/v1/news"
  },
  "providers": {
    "openalex": { "enabled": true }
  }
}

Optional Community policy foundation

CiteWire can expose a local, read-only foundation for source policy, rights evaluation, and shadow inclusion scoring:

{
  "community": {
    "enabled": true,
    "classifierMode": "shadow",
    "thresholds": {
      "adjacent_min": 0.5,
      "standard_min": 0.6
    }
  }
}

Every bundled source remains disabled by default. This setting performs no network calls, loads no credentials, and cannot publish. Credential-based rights checks accept opaque secret-manager references in memory but never return those references. The classifier is forced to shadow mode and always reports publishable: false until a separately reviewed editorial system and evaluation corpus exist.

Read Source registry and rights for the runtime validation, fail-closed policy, canonical MCP tools and resources, and current limitations.

Design boundaries

  • MIT and zero dependency. The package uses Node built-ins and has no runtime or development dependencies.
  • Node ESM. Community supports Node.js 18 or newer through ESM. It does not provide CommonJS compatibility or a CommonJS build.
  • Read only. The included tools query platform and provider read surfaces.
  • Stateless. The Community server has no accounts, sessions, saved searches, or retained history.
  • Attribution first. Results preserve source metadata and links supplied by the upstream platform or provider.
  • Config driven. A deployer decides which tools are present. Nothing turns itself on.
  • Storage free. The core does not retain provider responses or source content.

These boundaries are maintained through the project governance policy.

Ecosystem and product documentation

  • Product tiers defines the permanent Community value and the additive commercial boundary.
  • Distribution contains the exact registry and catalog checklist. Unperformed submissions are marked PENDING.
  • Governance explains decisions, provider stewardship, compatibility, and licensing.
  • Providers documents each upstream provider.
  • Platform contract defines the compatible news read API.
  • Contributing covers setup, tests, provider additions, and pull request expectations.
  • Releasing defines package and registry release controls.
  • Support, Security, and the Code of Conduct define community operating channels.

Project origin

citewire was shaped through its first deployment for Karaya Group Industry News. The public platform contract is generic and can wrap any compatible read API.

Contributing

Run the test suite with npm test. No install step is required. See CONTRIBUTING.md before proposing a provider or a change to a public contract.

License

Community is MIT licensed. See LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured