What is tref and tref-mcp? Explained simply.
TREF is like a digital trading card for facts.
Imagine you write a fact on a card. On the back, you write where you learned it (like "Wikipedia" or "my science book"). Then you put a special sticker on the card that proves nobody changed what you wrote.
That's what TREF does - but for computers!
Every TREF block has:
tref is a tool you type in the Terminal (that black window where hackers type stuff in movies).
You know how you can ask Siri or Alexa to do things by talking? The Terminal is like that, but you type instead of talk. And tref is a helper that lives in the Terminal.
You can tell it to:
tref publish "The moon is 384,400 km from Earth"tref validate mycard.treftref listtref-mcp lets AI assistants (like Claude) use TREF.
Imagine you have a super smart friend (the AI) who knows lots of stuff. But sometimes you want to give them a fact card to make sure they use the exact right information.
tref-mcp is like a special mailbox that lets your AI friend receive and read your fact cards.
MCP stands for "Model Context Protocol" - but you can just think of it as "the way AI assistants talk to tools".
tref if...tref-mcp if...Or just use the Builder in your browser - no installation needed!
On the internet, people copy and paste stuff all the time. But after a while, nobody knows where the information came from. Was it true? Who wrote it? Did someone change it?
TREF keeps track of everything. When you share a TREF block, the sources come with it. When you copy it, it stays the same. When you change it, it gets a new ID (so you can't pretend it's the original).
TREF = Facts you can trust