Factcovery Facts

v0.1.1
io.github.comficker/factcovery-facts Checked 21 hours ago Published 12 days ago

500+ short, sourced fun facts: random fact, fact of the day, search and facts by topic.

500+ short, sourced fun facts as JSON and CSV, with a tiny JavaScript API, a CLI and an MCP server. Every fact has a one-sentence summary, the source it was checked against, topics, and a link to the full article on Factcovery, a site with a new interesting fact every day. Use the facts from Claude, Cursor or any MCP client:

Summary extracted from the README.

factcovery-facts

English · Español · Français · Deutsch · Português · Tiếng Việt · 日本語 · 한국어 · 中文

500+ short, sourced fun facts as JSON and CSV, with a tiny JavaScript API, a CLI and an MCP server.

Every fact has a one-sentence summary, the source it was checked against, topics, and a link to the full article on Factcovery, a site with a new interesting fact every day.

{
  "id": "octopuses-have-three-hearts-blue-blood-and-neurons-throughout-their-arms",
  "title": "Octopuses Have Three Hearts, Blue Blood and Most of Their Neurons in Their Arms",
  "summary": "An octopus has three hearts, blue blood and a nervous system in which most neurons sit outside the brain.",
  "topics": [
    "biology",
    "marine-life",
    "zoology",
    "neuroscience"
  ],
  "source": "https://en.wikipedia.org/wiki/Octopus",
  "factcovery": "https://www.factcovery.com/facts/octopuses-have-three-hearts-blue-blood-and-neurons-throughout-their-arms"
}

Topics

Install

npm install factcovery-facts

Usage

import { randomFact, factOfTheDay, factsByTopic, search } from 'factcovery-facts'

randomFact()            // any fact
randomFact('space')     // a random space fact
factOfTheDay()          // same fact for everyone today
factsByTopic('penguins')
search('octopus')
npx factcovery-facts            # random fact
npx factcovery-facts today      # fact of the day
npx factcovery-facts topics

Data files

  • data/facts.json · data/facts.csv
  • data/index.json
  • data/topics/<topic>.json
  • CDN: https://cdn.jsdelivr.net/npm/factcovery-facts/data/facts.json

MCP server

Use the facts from Claude, Cursor or any MCP client:

{ "mcpServers": { "factcovery-facts": { "command": "npx", "args": ["-y", "-p", "factcovery-facts", "factcovery-facts-mcp"] } } }

Tools: random_fact, fact_of_the_day, search_facts, facts_by_topic, get_fact, list_topics.

About Factcovery

Factcovery publishes short, sourced facts about animals, space, history, science and the human body. Browse random facts, weird facts or funny facts, or get one fact a day with the Android app.

Found a wrong fact? Open an issue with a better source.

License

Code: MIT. Data: CC BY 4.0. Please credit: Facts by Factcovery. SOURCES.md