Skip to content

w-world-labs/research-intelligence

v0.1.0

Search books, papers and patents; read available arXiv and authorized Papers captures.

Patent Atlas

Patent Atlas is a self-hostable patent search and research application with keyword, semantic and hybrid retrieval, full-text reading, family/citation analysis, collections, claim charts, notes, saved searches and monitors. The MCP server also connects configured OpenAlex, arXiv and authorized Papers services. Private library access requires its own per-request authorization.

This distribution contains application/pipeline source, schemas, API contracts and configuration templates. It includes no patent or paper corpora, user documents, credentials, model weights, deployment inventory or hosted-service access. Snapshot counts describe historical configurations, not bundled data.

Source layout

  • Web app: TanStack Start/React and protected server functions.
  • MCP server: Streamable HTTP and stdio tools.
  • Research pipelines: metadata, NPL and import tools.
  • Architecture, field contract and OpenAPI documents in schemas/.
  • deploy/ and systemd/: templates for your own installation.
  • skills/patent-intelligence/: research workflow skill; plugin packaging uses plugin.json, mcp.json and scripts/package_research_plugin.py.

Local setup

Use Node 24 and run npm ci separately in each app directory. Copy that app's .env.example to a local .env, then configure your own data services. Web login uses W-ID-compatible OIDC, PostgreSQL and Valkey; see deploy/patent-auth.secrets.env.example. The callback is /api/auth/oauth2/callback/w-id. Keep real credentials in local secret files or your secret manager.

Better Auth and its API Key plugin are pinned together at 1.7.23. The login client uses the shared social API; the registered W-ID callback above is forwarded internally to the shared callback without changing its query or cookies. The provider account remains keyed by W-ID sub, with verified OIDC discovery and the existing email-less identity mapping. Restart pending sign-ins when operators independently upgrade all instances sharing authentication storage.

Run npm run dev in apps/web; run npm run dev:http or npm run dev:stdio in apps/mcp. Follow the app READMEs for backend configuration. Local demo fixtures are synthetic and explicitly marked; disable PATENT_ALLOW_DEMO_FALLBACK for real-data deployments.

Each Node app provides npm run typecheck, npm test and npm run build. The standard public source CI runs these existing checks, the separate PostgreSQL authorization suite on a disposable _test database, and existing research contracts with synthetic data and mocked services. It does not start an application, importer, model or background monitor, use production credentials, or establish retrieval-quality or hosted-service acceptance.

source-manifest.json records every tracked file except itself. CI checks this boundary and uploads only an exact Git source archive, its commit and checksums. Dependencies, fonts, build output, corpora and runtime data are not packaged. Secret scanning retains its raw counts: six existing model-integrity/deduplication findings are reviewed nonsecrets, bound to exact paths, rules, lines and content hashes in .github/gitleaks-reviewed.json. Any different finding fails CI. Local agent work is source, syntax and metadata inspection; dependency installation, product builds and existing tests run on the standard public runner.

Models and datasets require separate permission. Explicitly obtain the chosen model and verify its license and pinned digests before running embedding tools. See third-party and data notices.

License

The original W-World-Labs application and pipeline source in this distribution is newly licensed under the MIT License. This grant applies only to code and documentation whose rights are held by W-World-Labs; it does not relicense dependencies, external data, models, user content or hosted services. Unverified external material is not included. See third-party and data notices.