# Sinapsi documentation (full text)
> Verified public wikis for AI assistants over MCP, and EU-hosted private spaces. Product of Salesmart S.r.l. Index: https://sinapsi.wiki/docs/
# Introduction
> Sinapsi gives your AI assistant verified knowledge over MCP — whole cited sections with provenance, and the dead ends already tested and refuted.
Source: https://sinapsi.wiki/docs/introduction/
## What Sinapsi is
Sinapsi is a **verified memory for AI assistants**. It has two parts that share one engine:
- **Public wikis** — curated, source-checked knowledge on specific subjects, free to query. Today: 11 wikis and more than 1,000 pages (prediction markets, GDPR damages case law, CTF cryptography, research mathematics, MCP engineering, the agent economy, and others). See the [catalogue](https://sinapsi.wiki/).
- **Private spaces** — your own wiki, hosted in the EU, that your team and your assistants share. You can upload PDF, Word, PowerPoint and Excel files and let your assistant turn them into pages with checked citations.
Assistants reach both through the [Model Context Protocol](https://modelcontextprotocol.io/) (MCP). Your code can use the same data through a [REST API](/docs/rest-api/).
## What makes it different
- **Whole sections, not snippets.** `search` returns complete sections, each with a stable `chunk_id` you can cite and click back to.
- **Provenance on every page.** Sources, the date they were read, and who supplied the data.
- **Negative knowledge on purpose.** "Frontier" pages list theses that were already tested and refuted, with the date and the fact that killed them, so an assistant does not propose them again.
- **It learns from use.** When an answer held up, the assistant calls `confirm_use`: the sections it cited gain weight and surface more readily. When something was wrong, the correction is recorded.
- **No install, no key for public wikis.** A remote Streamable HTTP endpoint.
## Where to go next
- [Quickstart](/docs/quickstart/) — connect a public wiki in one minute.
- [Use the web app](/docs/web-app/) — no code: upload, ask, correct, invite, export.
- [Case studies](/docs/case-prediction-markets/) — backtesting prediction markets, a research campaign, forecasting, a software team, GDPR case law.
- [Connect a client](/docs/claude-code/) — Claude, ChatGPT, Cursor, VS Code, Codex, Gemini.
- [How it works](/docs/how-it-works/) — sections, weights, frontier pages.
- [MCP tools reference](/docs/mcp-tools/).
---
# Quickstart
> Connect your assistant to the Sinapsi public wikis in one minute — one URL, no API key — and ask a first question with citations.
Source: https://sinapsi.wiki/docs/quickstart/
Are you an AI agent? You can set this up for your user: the exact commands per client are in llms.txt under “For agents reading this file”. Public wikis need no account or key.
## 1. Add the endpoint
All public wikis are behind one URL:
```
https://sinapsi.wiki/mcp/hub/
```
claude mcp add --transport http sinapsi https://sinapsi.wiki/mcp/hub/
Other clients (Windsurf, Cline, Gemini CLI, the APIs): [Connect a client](/docs/claude-code/). No account and no key are needed for public wikis.
## 2. Ask a question
Try a question one of the wikis can answer, and mention Sinapsi so the assistant uses the tools:
> Using Sinapsi, what is the median award for non-material damage under Article 82 GDPR in Germany, and how many decisions is it based on?
The assistant calls `list_wikis`, then `search` with `wiki="gdpr-damages"`, and answers citing sections such as `[cit:countries/germany::0]`.
## 3. Close the loop
If the answer held up, the assistant calls `confirm_use(chunk_ids=[...], worked=true)`. If it found an error, `worked=false` with a `correction`. This is how the wiki improves for the next reader — see [Citations and feedback](/docs/citations-and-feedback/).
## One wiki only
To give an assistant a single subject, use the wiki's own endpoint instead of the hub:
```
https://sinapsi.wiki/mcp/w//
```
For example `https://sinapsi.wiki/mcp/w/prediction-markets/`. The wiki ids are listed on the [home page](https://sinapsi.wiki/) and returned by `list_wikis`.
## Your own private space
[Create a space](https://sinapsi.wiki/login) (free up to 500 MB), then connect `https://sinapsi.wiki/mcp/` with your token or OAuth — see [Private spaces](/docs/private-spaces/).
---
# Use the web app
> For people who do not write code — create a private space, upload documents, ask questions with citations, correct once, invite colleagues down to the section, export.
Source: https://sinapsi.wiki/docs/web-app/
You do not need to be a developer to use Sinapsi. Everything below happens in the browser at [sinapsi.wiki](https://sinapsi.wiki/).
## 1. Sign in and create a space
Sign in with Google, GitHub or a one-time link sent by email — there is no password. Then create a **space**: a private wiki for one subject, team or client. Only you can see it until you invite someone. The Free plan includes 500 MB and 2 spaces ([pricing](https://sinapsi.wiki/pricing/)).
## 2. Feed the memory
Open the space and choose **Upload**:
- **Files** — PDF, Word, PowerPoint, Excel or text, up to 50 MB each. Documents appear in the **Documents** panel with their pages, images and any scanned pages.
- **Or paste text** — give it a title, and it becomes a page.
Documents are turned into well-structured pages by your AI assistant (Claude, ChatGPT…), not by Sinapsi: the **Copy the request for your assistant** button gives you the exact request to paste. See [Build a wiki from your documents](/docs/build-a-wiki-from-documents/).
## 3. Ask, and see the sources
Choose **Query the wiki** and ask in plain language. The answer cites the sections it stands on; open a citation to read the source. If a topic was already corrected, the answer shows it under **Frontier — already corrected**, with what it replaces and since when.
## 4. Validate or correct — once
Under each answer:
- **Validate** if it held up: the cited sections gain weight and come first next time.
- **Correct** if something was wrong: the old text is replaced, never deleted, and the correction reaches everyone who uses the space — people and assistants.
## 5. Invite people, down to the section
Choose **Invite**, enter an email address and a role (*query*, *expand* or *manage*). Under **What they can see**, mark each section visible or hidden: a client can see only their own matter, a colleague only their department.
## 6. Connect your assistant
**Connect an assistant (MCP)** gives you the address and the command for Claude, ChatGPT, Cursor and other clients, with a token for that space. From then on the assistant reads the same memory, cites it and can write to it. Details: [Connect a client](/docs/claude-code/).
## 7. Export, delete, leave
- **Export (zip)** downloads everything, in open formats, whenever you want.
- **Delete space** asks you to type the space name to confirm.
- **Delete account** asks you to type your email address. See the [privacy policy](https://sinapsi.wiki/privacy/) for what is kept and for how long.
---
# Case study: why prediction-market backtests lie
> How a memory of measured findings — refuted strategies, backtest traps, market mechanics — helps an AI assistant avoid the mistakes that make simulations look profitable.
Source: https://sinapsi.wiki/docs/case-prediction-markets/
## The problem
Backtesting a trading rule on prediction markets looks easy: download the trades, replay them, count the result. In practice **simulations very often show profits that do not exist**, because of how the data is recorded and how the markets work. And an AI assistant, starting each session from zero, will happily propose the same flawed test again and again.
## What the memory contains
The [Prediction Markets wiki](https://sinapsi.wiki/w/prediction-markets/) collects measured findings, each on its own page with its period, sample size and number. Every claim was checked against the underlying measurement in a pass separate from the writing.
80pages, each one finding
~4,200claims checked against the data
326claims corrected or softened
11documented backtest traps
Strategies that do not survive
28
Weather markets
17
Backtest traps
11
Market mechanics
10
Simulator calibration
7
## Three traps, explained
- **Filtering by final volume is look-ahead.** Keeping only markets that ended up liquid seems harmless, but final volume is known only after the close and is higher when the surprising outcome wins: the sample is tilted towards winners. [Read the page](https://sinapsi.wiki/w/prediction-markets/p/traps/final-volume-filter-is-lookahead/).
- **Trades in the same second are not in execution order.** The public feed has one-second timestamps, and rows that look like duplicates are often separate fills. Removing "duplicates" or trusting the order inside a second silently changes the result. [Read the page](https://sinapsi.wiki/w/prediction-markets/p/traps/same-second-trades-and-dedup-corrupt-backtests/).
- **Sampled grids and rotated placebos inflate results.** Testing a parameter grid on a fraction of the data, or building a placebo by rotating time inside the same window, can turn a loss into an apparent gain. [Read the page](https://sinapsi.wiki/w/prediction-markets/p/traps/sampled-grids-and-rotation-placebos-inflate-results/).
## How an assistant uses it
Idea"Let's backtest buying after a price jump."
SearchThe assistant queries the memory before writing code.
Known trapThe page explains why sampled price history exaggerates the bounce.
Better testThe assistant designs the test on the right data, or moves on.
The same structure works for any research team: write each finding with its evidence, keep what did not work, and let every new session start from there.
## Try it
Connect `https://sinapsi.wiki/mcp/w/prediction-markets/` and ask: *"What makes a prediction-market backtest look profitable when it is not?"* See [Quickstart](/docs/quickstart/).
> Educational material, not trading advice.
---
# Case study: a research campaign on open problems
> A mathematics campaign on Erdős problems and the PPT² conjecture used Sinapsi to keep every closed route closed — 275 pages, 330 verified uses, 189 links confirmed by use.
Source: https://sinapsi.wiki/docs/case-research-math/
## The problem
Research on open problems is mostly dead ends. A campaign that runs for weeks, across many sessions and models, keeps rediscovering routes it already closed — unless each closed route is written down with the reason it failed, where the next session will actually look.
## How the memory was used
The campaign worked on Erdős problems and on the **PPT² conjecture** (Christandl, 2012: is the composition of two PPT channels always entanglement-breaking?). Each iteration ended with a page: what was tried, what was proved, what was refuted, and why.
275pages of problems, methods and concepts
330verified uses by assistants
189links confirmed by use
82sections that supported verified answers
## Fifteen iterations, one direction
1–2 First bound-entangled channels built and composed; two no-go results.
3–5 Realignment and majorization criteria shown to be provably blind to the problem — routes closed with proofs.
6–9 Structured constructions refuted one by one; the counterexample search is exhausted at solver precision.
10 First proven partial result.
12 A whole family of channels shown to satisfy the conjecture, with explicit certificates.
13–14 Coverage extended to every named channel in the campaign's catalogue.
15 The four-dimensional case mapped: 258,521 certificates, and the one missing ingredient named.
Red marks routes closed, gold marks results. The conjecture itself remains open; these are the campaign's own results, recorded with their evidence, not peer-reviewed publications.
## Why the memory mattered
- **Closed routes stay closed.** A session that considers realignment criteria finds the page with the proof that they are blind, instead of trying them again.
- **Use made it better.** Sections that supported a verified answer gained weight; 189 links between pages were confirmed by use and are now followed by search automatically.
- **Nothing was lost between models.** Different assistants worked on the same memory and picked up where the last one stopped.
Browse the [wiki](https://sinapsi.wiki/w/ppt2/) or connect `https://sinapsi.wiki/mcp/w/ppt2/`.
---
# Case study: forecasting that remembers what the facts already killed
> A machine-generated geopolitical analysis keeps "frontier" pages of theses refuted by events, so the next forecast does not resurrect them.
Source: https://sinapsi.wiki/docs/case-geopolitics/
## The problem
Forecasting systems — human or automatic — tend to re-propose comfortable theses that events have already refuted. A model that starts fresh every day has no memory that "this was said in March and the facts killed it in April".
## The frontier
The geopolitical wiki keeps, for each region, a **frontier page**: the theses already refuted by events, each with the date and the fact that killed it. A global page composes them across regions.
ThesisAn analyst position or a model's claim, dated.
FactAn event, dated and sourced, that contradicts it.
FrontierThe thesis is written down as refuted, with the killing fact.
Next forecastSearch returns the frontier first: the thesis is not proposed again without a new, dated fact.
325pages of dated, sourced analysis
7frontier pages of refuted theses
45sections that supported verified answers
## How it is built
Facts are dated and checked against their sources; analysts' positions are classified and scored against outcomes; each thesis carries its confidence and the base rate it is anchored to. The whole wiki is generated by machine with a declared method — it is analysis, not editorial opinion, and not advice.
## Why it matters beyond geopolitics
Any team that forecasts — sales, risk, product — has the same failure: last quarter's refuted assumption comes back in this quarter's plan. The frontier is a simple structure to stop that, and it works the same in a private space.
Browse the [wiki](https://sinapsi.wiki/w/previsione/) (in Italian) or its [frontier](https://sinapsi.wiki/w/previsione/p/frontiera/).
---
# Case study: a software team's memory for coding assistants
> Field-tested engineering lessons — symptom, real cause, fix, and what did not work — turned into a memory that Claude Code and Cursor read before touching the code.
Source: https://sinapsi.wiki/docs/case-software-team/
## The problem
Coding assistants are fast, but each session starts without the team's scars: the bug that took two days, the "obvious" fix that made it worse, the library behaviour that is not in the docs. The same mistakes return with every new session and every new teammate.
## The shape of a lesson
Each page in the [coding wiki](https://sinapsi.wiki/w/coding/) follows the same four parts:
SymptomWhat you observe — often silent.
Real causeWhat was actually wrong, verified.
FixWhat worked, with code.
Did not workThe tempting fixes that failed, and why.
An example: deferring an error-tracking SDK's initialisation until after first paint, to save boot time, creates a blind window — every error thrown before the handler is hooked is lost for good, and no retry can recover it. The page says how to spot it and what to do instead.
## In a private space
The same structure works for your own product: architecture decisions, deployment procedures, incidents and their real causes. Connect the space to Claude Code or Cursor with a space token, and the assistant reads the team's memory before it edits — and writes back what it learned. Access is per section, and data stays in Milan.
Start with [Private spaces](/docs/private-spaces/) and [Cursor and VS Code](/docs/cursor-vscode/).
---
# Case study: the EU GDPR damages database
> 585 court decisions from 25 jurisdictions, read in the original and counted — the reference on Article 82 awards that did not exist, queryable by lawyers and their AI assistants.
Source: https://sinapsi.wiki/docs/case-gdpr/
## The problem
How much do European courts award for non-material damage under Article 82 GDPR? Practitioners answer from memory or from a handful of famous cases. National trackers exist for single countries; a cross-country, decision-by-decision count did not.
## What was built
585decisions from 25 jurisdictions
379final decisions on the merits
2,457links to official sources
215verbatim quotations checked
Every decision carries court, date, case number and a link to the official text. Figures count only verified final decisions; medians come with the number of decisions behind them, and groups under ten are labelled as indications.
## What it shows
Scraping
€100
Germany (all types)
€300
All countries
€500
Disclosure to a third party
€1,250
Employment
€3,000
Median awards for non-material harm. 45% of claims succeed; claimants receive about one fifth of what they ask. Full charts by country and by type are on the [lawyers' page](https://sinapsi.wiki/for-lawyers/).
## How lawyers use it
- Read it as a reference: [GDPR Damages wiki](https://sinapsi.wiki/w/gdpr-damages/).
- Ask an AI assistant connected to `https://sinapsi.wiki/mcp/w/gdpr-damages/`: *"What do Austrian courts award for unlawful disclosure, and on how many decisions?"* — the answer cites the sections and links the decisions.
- Build the same structure on the firm's own case files in a private space: precedents, arguments that held and arguments that lost.
---
# Prediction Markets, Measured
> How prediction markets actually behave, with Polymarket as the worked case — every page one measured finding with its period, sample size and number.
Source: https://sinapsi.wiki/docs/wiki-prediction-markets/
## What it covers
80 pages on how prediction markets actually behave, with Polymarket as the worked case: Bitcoin and other crypto Up/Down markets, weather, sports, esports and earthquakes. Each page states one finding with its period, sample size and number. How temperature markets resolve and how forecasts compare with the price (station rules, post-processing networks, a pre-registered out-of-sample test). Market mechanics: taker delay, maker rebates, liquidity rewards, cancel latency, trade timestamps, how the Yes and No books form one queue. Backtest traps that manufacture profits: filtering by final volume, same-second trade order, sampled grids, on-chain units. Common strategies and why they do not survive costs and adverse selection: resting bids, speed and co-location, rebate farming, hedges, exit signals, machine-learning forecasts. How to calibrate a replay against live fills, and the few results that hold up. About 4,200 claims were checked against the underlying measurements in verification passes separate from the writing; 326 were corrected or softened. No trading advice.
**Who it is for:** Quant researchers, prediction-market traders and bot builders, and anyone backtesting on Polymarket data.
| Area | Pages |
|---|---:|
| Strategies refuted | 28 |
| Weather markets | 17 |
| Backtest traps | 11 |
| Market mechanics | 10 |
| Simulator calibration | 7 |
| Live bots | 4 |
| Results that held up | 3 |
| **Total** | **80** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/prediction-markets/
```
```bash
claude mcp add --transport http sinapsi-prediction-markets https://sinapsi.wiki/mcp/w/prediction-markets/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="prediction-markets"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *What makes a prediction-market backtest look profitable when it is not?*
- *How long is Polymarket's taker delay on crypto markets, and how big is the maker rebate?*
- *Why do resting bids get filled mostly when the price is about to move against them?*
- *How do Polymarket temperature markets resolve, and which station data decides them?*
## Pages to start from
- [Final-volume filters leak the future into backtests](https://sinapsi.wiki/w/prediction-markets/p/traps/final-volume-filter-is-lookahead/)
- [Polymarket taker delay and maker rebate, measured](https://sinapsi.wiki/w/prediction-markets/p/mechanics/taker-delay-and-maker-rebate-measured/)
- [Polymarket Yes and No order books are one queue](https://sinapsi.wiki/w/prediction-markets/p/mechanics/yes-and-no-books-are-one-queue/)
- [Polymarket taker rebate tiers match the docs, mostly](https://sinapsi.wiki/w/prediction-markets/p/mechanics/taker-rebate-tiers-follow-the-docs-with-exceptions/)
- [Speed and co-location give no edge on Polymarket BTC 5m](https://sinapsi.wiki/w/prediction-markets/p/refuted/speed-and-colocation-give-no-edge/)
Browse everything at [sinapsi.wiki/w/prediction-markets](https://sinapsi.wiki/w/prediction-markets/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/prediction-markets/llms.txt).
> No trading advice: the wiki records measurements, including the ones that failed.
---
# GDPR Damages
> What European courts award for non-material damage under Article 82 GDPR: 585 decisions from 25 jurisdictions, read in the original and linked to the official text.
Source: https://sinapsi.wiki/docs/wiki-gdpr-damages/
## What it covers
27 pages on compensation for data-protection breaches, built on 585 court decisions from 25 jurisdictions read in the official text and original language. How often claims succeed and how much courts award, by country and by type of violation (scraping, data breaches, disclosure, tracking, access requests, employment, credit reporting); what a claimant must prove; whether a seriousness threshold survives the Court of Justice's C-300/21 ruling; mass claims, limitation periods, supreme courts. Figures are computed on 379 verified final decisions: 45% uphold the claim, the median award is 500 EUR. Every decision is linked to its official source; quotations are verbatim with translation. Limits and method are stated.
**Who it is for:** Lawyers, in-house counsel, data protection officers and claimants' advisers across Europe.
| Area | Pages |
|---|---:|
| By country | 9 |
| By type of violation | 9 |
| Doctrine (proof, threshold, limitation, mass claims) | 6 |
| Overview and method | 2 |
| Court of Justice case law | 1 |
| **Total** | **27** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/gdpr-damages/
```
```bash
claude mcp add --transport http sinapsi-gdpr-damages https://sinapsi.wiki/mcp/w/gdpr-damages/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="gdpr-damages"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *What is the median award for non-material damage under Article 82 GDPR in Germany, and on how many decisions?*
- *Do courts still require a seriousness threshold after C-300/21?*
- *What do courts award after a data breach, and why do most claims fail?*
- *What is the limitation period for a GDPR damages claim in each country?*
## Pages to start from
- [GDPR damages in Europe: what courts award](https://sinapsi.wiki/w/gdpr-damages/p/overview/)
- [CJEU case law on GDPR damages (Article 82)](https://sinapsi.wiki/w/gdpr-damages/p/cjeu/case-law/)
- [Proof of GDPR damage: what a claimant must show](https://sinapsi.wiki/w/gdpr-damages/p/doctrine/proof-of-damage/)
- [GDPR mass claims in Europe: awards and odds](https://sinapsi.wiki/w/gdpr-damages/p/doctrine/mass-claims/)
- [GDPR damages dataset: method and limits](https://sinapsi.wiki/w/gdpr-damages/p/method-and-dataset/)
Browse everything at [sinapsi.wiki/w/gdpr-damages](https://sinapsi.wiki/w/gdpr-damages/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/gdpr-damages/llms.txt).
> A reference on decided cases, not legal advice. Groups under ten decisions are labelled as indications.
---
# CTF Cryptography
> Given a signal in a challenge, reach the right attack: techniques with field-tested operational detail and a clear map of what does not work.
Source: https://sinapsi.wiki/docs/wiki-ctf-crypto/
## What it covers
112 techniques for CTF crypto: given a signal, reach the right attack — with field-tested operational detail and a clear map of what does NOT work. Distilled from real CTF campaign notes, every claim cross-checked against the sources (2,442 checked, 50 refuted and corrected).
**Who it is for:** CTF players, security students and penetration testers working on cryptography challenges.
| Area | Pages |
|---|---:|
| Block ciphers | 17 |
| RSA | 17 |
| Hash functions | 13 |
| Number theory | 13 |
| Diffie–Hellman | 10 |
| Lattices | 8 |
| Signatures | 7 |
| Stream ciphers | 6 |
| Side channels | 5 |
| Elliptic curves | 5 |
| Discrete log | 4 |
| Methodology | 4 |
| Classical ciphers | 3 |
| **Total** | **112** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/ctf-crypto/
```
```bash
claude mcp add --transport http sinapsi-ctf-crypto https://sinapsi.wiki/mcp/w/ctf-crypto/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="ctf-crypto"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *The challenge encrypts with AES-CTR and the nonce seems to repeat: what is the attack?*
- *How do I recognise that an RSA challenge needs a lattice attack?*
- *Which statistical attack fits this S-box?*
- *When does Pohlig–Hellman apply to a discrete-log challenge?*
## Pages to start from
- [CTR Nonce Reuse](https://sinapsi.wiki/w/ctf-crypto/p/block-cipher/ctr-nonce-reuse/)
- [CBC Bit-Flipping](https://sinapsi.wiki/w/ctf-crypto/p/block-cipher/cbc-bit-flipping/)
- [Slide Attack](https://sinapsi.wiki/w/ctf-crypto/p/block-cipher/slide-attack/)
- [S-box Analysis](https://sinapsi.wiki/w/ctf-crypto/p/block-cipher/sbox-analysis/)
- [Related-Key Attack](https://sinapsi.wiki/w/ctf-crypto/p/block-cipher/related-key-attack/)
Browse everything at [sinapsi.wiki/w/ctf-crypto](https://sinapsi.wiki/w/ctf-crypto/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/ctf-crypto/llms.txt).
> For CTF and education. 2,442 claims were checked against the sources; 50 were refuted and corrected.
---
# Open Problems and Verified Methods
> Research mathematics: Erdős problems, the PPT² conjecture, the methods that worked and the routes already explored and closed.
Source: https://sinapsi.wiki/docs/wiki-ppt2/
## What it covers
275 pages of research mathematics: Erdős problems, the PPT² problem, the methods that worked and the routes already explored and closed. Every page carries provenance and verification; usage weights come from a real research campaign.
**Who it is for:** Researchers in combinatorics, number theory and quantum information, and AI-assisted mathematics campaigns.
| Area | Pages |
|---|---:|
| Problems and campaign iterations | 161 |
| Concepts and methods | 114 |
| **Total** | **275** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/ppt2/
```
```bash
claude mcp add --transport http sinapsi-ppt2 https://sinapsi.wiki/mcp/w/ppt2/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="ppt2"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *Which approaches to the PPT² conjecture are already known to fail, and why?*
- *What is known about dense infinite Sidon sequences?*
- *Which methods have been used on this Erdős problem, and which were closed?*
- *What is the Choi–Jamiołkowski isomorphism used for in PPT²?*
## Pages to start from
- [PPT² conjecture (Christandl 2012)](https://sinapsi.wiki/w/ppt2/p/problem/ppt2/)
- [Sidon sets / B_2 sets / Golomb rulers](https://sinapsi.wiki/w/ppt2/p/concept/sidon-sets/)
- [Dilworth's theorem (chain/antichain decomposition of a poset) and its dual, Mirsky's theorem](https://sinapsi.wiki/w/ppt2/p/concept/dilworth-theorem/)
- [Ruzsa's prime-logarithm probabilistic Sidon-set construction and its discrete-log constructive analogue](https://sinapsi.wiki/w/ppt2/p/concept/ruzsa-sidon-construction/)
- [Ordinal partition calculus](https://sinapsi.wiki/w/ppt2/p/concept/ordinal-partition-calculus/)
Browse everything at [sinapsi.wiki/w/ppt2](https://sinapsi.wiki/w/ppt2/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/ppt2/llms.txt).
> Campaign results are recorded with their evidence; they are not peer-reviewed publications.
---
# Model Context Protocol (MCP)
> Connect any client and build a secure remote MCP server: transports, authorization, registry and discovery, long-running tasks, UI extensions, and the limits.
Source: https://sinapsi.wiki/docs/wiki-mcp/
## What it covers
Connect any client and build a secure remote MCP server: transports, auth (Bearer/OAuth), the five primitives, and the failure modes that actually bite. 21 pages, every claim checked against the sources — 72 refuted claims removed along the way.
**Who it is for:** Developers building or securing MCP servers and clients.
| Area | Pages |
|---|---:|
| Concepts | 7 |
| Building and deploying | 6 |
| Limits | 4 |
| History | 2 |
| State of the art | 1 |
| Comparison | 1 |
| **Total** | **21** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/mcp/
```
```bash
claude mcp add --transport http sinapsi-mcp https://sinapsi.wiki/mcp/w/mcp/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="mcp"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *How do I add OAuth to a remote MCP server?*
- *How should a long-running job be exposed through MCP?*
- *How do I publish my server to the MCP Registry?*
- *What changed in the July 2026 MCP spec?*
## Pages to start from
- [MCP Adoption and the July 2026 Spec](https://sinapsi.wiki/w/mcp/p/state-of-the-art/adoption-2026/)
- [Building an MCP Server: SDKs, Tool Schemas, Testing, and Deployment](https://sinapsi.wiki/w/mcp/p/applicative/building-mcp-servers/)
- [MCP Registry and Server Discovery](https://sinapsi.wiki/w/mcp/p/applicative/mcp-registry-and-discovery/)
- [MCP Tasks](https://sinapsi.wiki/w/mcp/p/applicative/mcp-tasks-long-running-work/)
- [Enterprise MCP Integration Patterns](https://sinapsi.wiki/w/mcp/p/applicative/enterprise-integration-patterns/)
Browse everything at [sinapsi.wiki/w/mcp](https://sinapsi.wiki/w/mcp/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/mcp/llms.txt).
---
# Coding
> Field-tested lessons for the ways LLM-agent and web stacks fail, often silently: the observable symptom, the real cause, the fix, and what did not work.
Source: https://sinapsi.wiki/docs/wiki-coding/
## What it covers
Field-tested lessons — the observable symptom, the real cause, the fix, and what didn't work — for the ways LLM-agent and web stacks fail, often silently. Verified, with sources.
**Who it is for:** Software engineers and coding assistants working on LLM-agent and web systems.
| Area | Pages |
|---|---:|
| Infrastructure | 12 |
| Agent Development Kit | 11 |
| Caching | 6 |
| Streaming | 5 |
| Type coercion | 4 |
| Svelte 5 | 4 |
| LLM prompts and pipelines | 3 |
| What does not work | 3 |
| Testing | 2 |
| Observability | 2 |
| Over-broad exception handling | 2 |
| MCP | 2 |
| **Total** | **56** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/coding/
```
```bash
claude mcp add --transport http sinapsi-coding https://sinapsi.wiki/mcp/w/coding/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="coding"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *My application INFO logs vanish in production — why?*
- *Why does static verification not prove runtime behaviour, and what checklist replaces it?*
- *An LLM keeps returning the prompt's XML tags in its output: how do I stop it?*
- *How do I test for cross-session pollution bugs?*
## Pages to start from
- [Application INFO logs vanish because nobody configured the root logger](https://sinapsi.wiki/w/coding/p/observability/silent-logging-swallowed-by-unconfigured-root-logger/)
- [Static verification doesn't prove runtime behavior](https://sinapsi.wiki/w/coding/p/testing/static-verification-doesnt-prove-runtime-behavior/)
- [An LLM occasionally regurgitates a prompt's own XML wrapper tags into the value it was asked to produce](https://sinapsi.wiki/w/coding/p/llm-prompt/anti-echo-xml-tags-in-output/)
- [A gate classifier exceeds its mandate](https://sinapsi.wiki/w/coding/p/llm-prompt/gate-classifier-exceeds-its-mandate/)
- [Run 3 fresh sessions in parallel on different domains](https://sinapsi.wiki/w/coding/p/testing/cross-session-parallel-domains-reveals-pollution-bugs/)
Browse everything at [sinapsi.wiki/w/coding](https://sinapsi.wiki/w/coding/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/coding/llms.txt).
---
# The Agent Economy
> How AI agents pay and get paid: settlement rails and authorization protocols, what agents actually buy, measured, and how memory products are evaluated.
Source: https://sinapsi.wiki/docs/wiki-agent-economy/
## What it covers
51 pages on how AI agents pay and get paid, in two halves. The SETTLEMENT rail: the x402 protocol over HTTP and MCP, what regulators in eight jurisdictions have written, and a census of the paid-agent market enumerated three times by us — 14,766 listings on 3 August 2026 falling to a median of one call per listing by 24 August, while total calls dropped 19% in nineteen days. The AUTHORIZATION layer: Google AP2, Mastercard AP4M, Visa Intelligent Commerce, Stripe/OpenAI ACP and Coinbase agentic wallets, each graded on one question — has anyone outside the issuing company shipped a working implementation? Only one of the five can show named merchants. 1,552 claims checked against primary sources; 123 were removed for not surviving. Card interchange figures come from Visa's own 28-page schedule and 12 CFR 235, not from consultancy blogs. The enumeration scripts are included so anyone can contradict us.
**Who it is for:** Builders of agent products, payment and identity teams, and analysts of the agent economy.
| Area | Pages |
|---|---:|
| Reference | 11 |
| Agent memory, measured | 7 |
| Concepts | 7 |
| Regions | 6 |
| Frontier (refuted claims) | 4 |
| Markets | 4 |
| How-to | 3 |
| Synthesis | 2 |
| Protocols | 2 |
| Experiments | 1 |
| Embodied agents | 1 |
| Risks | 1 |
| Foundations | 1 |
| AI forecasts | 1 |
| **Total** | **51** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/agent-economy/
```
```bash
claude mcp add --transport http sinapsi-agent-economy https://sinapsi.wiki/mcp/w/agent-economy/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="agent-economy"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *How do I choose an authorization protocol for an agent product?*
- *How do I verify an agent-payment protocol claim before citing it?*
- *What did Vending-Bench 2 show about model behaviour?*
- *What do the published numbers on chunking actually say?*
## Pages to start from
- [How to Choose an Authorization Protocol for an Agent Product](https://sinapsi.wiki/w/agent-economy/p/howto/choose-a-protocol-for-an-agent-product/)
- [How to Verify an Agent-Payment Protocol Claim Before Citing It](https://sinapsi.wiki/w/agent-economy/p/howto/verify-a-protocol-claim/)
- [How to Read an AP2 Mandate or Visa/Mastercard Agent Token Schema](https://sinapsi.wiki/w/agent-economy/p/howto/read-a-mandate-or-token-schema/)
- [Vending-Bench 2: The Top Model Broke Eleven Truces It Did Not Need to Break](https://sinapsi.wiki/w/agent-economy/p/esperimenti/vending-bench-2/)
- [Chunking, Measured: What the Two Published Numbers Actually Say, and What Their Bases Leave Blank](https://sinapsi.wiki/w/agent-economy/p/memoria/chunking-measured/)
Browse everything at [sinapsi.wiki/w/agent-economy](https://sinapsi.wiki/w/agent-economy/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/agent-economy/llms.txt).
---
# Google Ads
> Operate Google Ads without burning budget: auction mechanics, campaign setup, the policy traps that block ads, and where an agent needs a human checkpoint.
Source: https://sinapsi.wiki/docs/wiki-google-ads/
## What it covers
31 pages for marketers and their AI agents: auction mechanics, campaign setup, policy traps that get accounts suspended, and what does NOT work. 1,110 claims checked against Google's official documentation — 99 refuted and corrected along the way.
**Who it is for:** Marketers, agencies and the AI agents that manage Google Ads accounts.
| Area | Pages |
|---|---:|
| How-to | 12 |
| Concepts | 10 |
| Limits and policy | 7 |
| Reference | 2 |
| **Total** | **31** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/google-ads/
```
```bash
claude mcp add --transport http sinapsi-google-ads https://sinapsi.wiki/mcp/w/google-ads/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="google-ads"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *How do I set up conversion tracking so Smart Bidding gets honest data?*
- *How should budgets and bid strategies change by funnel stage?*
- *What actually lowers CPC through Quality Score and Ad Rank?*
- *Where must an agent managing Google Ads stop for human approval?*
## Pages to start from
- [How to Set Up Conversion Tracking Correctly](https://sinapsi.wiki/w/google-ads/p/howto/set-up-conversion-tracking/)
- [How to Set Budgets and Bid Strategies by Funnel Stage (Without Starving Smart Bidding of Data)](https://sinapsi.wiki/w/google-ads/p/howto/set-budgets-and-bidding-by-funnel-stage/)
- [Improve Quality Score and Ad Rank](https://sinapsi.wiki/w/google-ads/p/howto/improve-quality-score-and-ad-rank/)
- [How to Structure a Search Campaign (Ad Groups, RSAs, Settings)](https://sinapsi.wiki/w/google-ads/p/howto/structure-a-search-campaign/)
- [Managing Google Ads Programmatically](https://sinapsi.wiki/w/google-ads/p/howto/manage-via-api-and-scripts/)
Browse everything at [sinapsi.wiki/w/google-ads](https://sinapsi.wiki/w/google-ads/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/google-ads/llms.txt).
---
# Trading Edges
> Market anomalies documented, costed and, where the numbers say so, refuted — each with its decay after publication and its transaction-cost threshold.
Source: https://sinapsi.wiki/docs/wiki-trading-edges/
## What it covers
Market anomalies judged by evidence rather than by story. Each one carries its effect size, its proof regime (peer-reviewed, practitioner-attested, or measured by us), the transaction-cost threshold at which it stops paying, and what happened to it after publication. 947 claims were checked and 92 refuted and removed during verification. The pages saying a signal does NOT work are as load-bearing as the ones saying it does.
**Who it is for:** Investors and quants who want market anomalies judged by evidence rather than by story.
| Area | Pages |
|---|---:|
| Anomalies | 17 |
| Concepts | 10 |
| How-to | 1 |
| **Total** | **28** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/trading-edges/
```
```bash
claude mcp add --transport http sinapsi-trading-edges https://sinapsi.wiki/mcp/w/trading-edges/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="trading-edges"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *Did the size factor survive after publication?*
- *Is time-series momentum in futures as good live as in the backtest?*
- *How do I compute the transaction-cost threshold of a strategy?*
- *Is selling volatility a real premium, and what is the tail risk?*
## Pages to start from
- [Computing a Strategy's Transaction-Cost Threshold](https://sinapsi.wiki/w/trading-edges/p/howto/computing-transaction-cost-threshold/)
- [The Size Factor (Small-Minus-Big)](https://sinapsi.wiki/w/trading-edges/p/reference/size-factor-small-minus-big/)
- [Time-Series Momentum in Futures](https://sinapsi.wiki/w/trading-edges/p/reference/momentum-time-series-trend-following-futures/)
- [The Volatility Risk Premium (Short Volatility / Options Selling)](https://sinapsi.wiki/w/trading-edges/p/reference/volatility-risk-premium-options-selling/)
- [Short-Term (1-Week/1-Month) Reversal](https://sinapsi.wiki/w/trading-edges/p/reference/short-term-reversal/)
Browse everything at [sinapsi.wiki/w/trading-edges](https://sinapsi.wiki/w/trading-edges/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/trading-edges/llms.txt).
> No investment advice.
---
# Previsione geopolitica
> Machine-generated geopolitical analysis with a declared method: dated facts checked against sources, analysts' positions scored against outcomes, and frontier pages of theses already refuted.
Source: https://sinapsi.wiki/docs/wiki-previsione/
## What it covers
Analisi geopolitica generata da una macchina con metodo dichiarato: fatti datati e verificati sulle fonti, posizioni degli analisti classificate e segnate contro gli esiti, tesi con la loro frontiera di esclusioni, ancorate a base rate e teoria. Confidence e fonti indicate. Non è asserzione editoriale.
**Who it is for:** Analysts and forecasters following geopolitical crises (content in Italian).
| Area | Pages |
|---|---:|
| Analysts, scored | 47 |
| Ukraine | 34 |
| Gas and energy | 28 |
| Objective indicators | 23 |
| Taiwan | 22 |
| Venezuela | 19 |
| Korea | 19 |
| Gulf, Hormuz and Yemen | 18 |
| Events | 15 |
| Synthesis | 12 |
| History and base rates | 12 |
| Market comparison | 11 |
| India–Pakistan | 11 |
| Theory | 10 |
| Sources | 9 |
| Military capabilities | 6 |
| Israel | 5 |
| Physical constraints | 5 |
| Analyst panels | 4 |
| Space | 4 |
| Theses | 3 |
| Index pages | 2 |
| AI | 2 |
| Labour | 2 |
| Energy | 1 |
| Sudan | 1 |
| **Total** | **325** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/previsione/
```
```bash
claude mcp add --transport http sinapsi-previsione https://sinapsi.wiki/mcp/w/previsione/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="previsione"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *Quali tesi sul Golfo e Hormuz sono già state smentite dai fatti nel 2026?*
- *Qual è la cronologia verificata della crisi del Mar Rosso?*
- *Quali analisti hanno avuto ragione più spesso sull'Ucraina?*
- *Qual è il base rate storico delle chiusure dei chokepoint?*
## Pages to start from
- [Frontier: theses already refuted by events](https://sinapsi.wiki/w/previsione/p/frontiera/)
- [Gulf, Hormuz and Yemen: refuted theses](https://sinapsi.wiki/w/previsione/p/golfo/frontiera/)
- [Hormuz and Red Sea crisis timeline 2023–2026](https://sinapsi.wiki/w/previsione/p/golfo/timeline/)
- [Verified timeline: Israel–Iran 2026](https://sinapsi.wiki/w/previsione/p/timeline/)
- [Houthi arsenal: the material constraint](https://sinapsi.wiki/w/previsione/p/golfo/capacita/houthi-arsenale/)
Browse everything at [sinapsi.wiki/w/previsione](https://sinapsi.wiki/w/previsione/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/previsione/llms.txt).
> Analysis generated by an automated system; not advice and not an invitation to bet or trade.
---
# US Politics
> Reference-class base rates, polling methodology, institutional mechanics and the 2026 races — durable, source-verified knowledge for forecasting US elections and policy.
Source: https://sinapsi.wiki/docs/wiki-us-politics/
## What it covers
Reference-class base rates, polling methodology, institutional mechanics, and the 2026 races — the durable, source-verified knowledge for forecasting US elections and policy. Machine-generated, with primary sources and honest uncertainty.
**Who it is for:** Forecasters and analysts of US elections and policy (content in Italian, terms in English).
| Area | Pages |
|---|---:|
| 2026 midterms | 13 |
| History and base rates | 12 |
| Synthesis | 7 |
| Policy | 6 |
| Theory | 4 |
| Congress | 4 |
| Judiciary | 3 |
| 2028 | 2 |
| Objective indicators | 2 |
| Presidency | 2 |
| Frontier | 1 |
| Analyst panel | 1 |
| **Total** | **57** |
## Connect it
One wiki only:
```
https://sinapsi.wiki/mcp/w/us-politics/
```
```bash
claude mcp add --transport http sinapsi-us-politics https://sinapsi.wiki/mcp/w/us-politics/
```
Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="us-politics"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.
## Questions it answers
- *Qual è il base rate di rielezione di un presidente uscente?*
- *Com'è il quadro dei seggi in bilico alla Camera nel 2026?*
- *Come vota la Corte Suprema, giudice per giudice?*
- *Chi guida l'invisible primary repubblicana per il 2028?*
## Pages to start from
- [Supreme Court: composition and voting patterns](https://sinapsi.wiki/w/us-politics/p/giudiziario/scotus-composizione-voto/)
- [House 2026: the battleground](https://sinapsi.wiki/w/us-politics/p/midterm/camera-battleground-2026/)
- [2028: the Republican invisible primary](https://sinapsi.wiki/w/us-politics/p/2028/campo-repubblicano/)
- [2028: the Democratic invisible primary](https://sinapsi.wiki/w/us-politics/p/2028/campo-democratico/)
- [Judiciary 2026: the Supreme Court term](https://sinapsi.wiki/w/us-politics/p/giudiziario/scotus-e-processi-2026/)
Browse everything at [sinapsi.wiki/w/us-politics](https://sinapsi.wiki/w/us-politics/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/us-politics/llms.txt).
> Machine-generated with primary sources and declared uncertainty; not advice.
---
# Claude Code
> Add Sinapsi to Claude Code with one command — public wikis with no key, your private spaces with a token or OAuth.
Source: https://sinapsi.wiki/docs/claude-code/
## Public wikis
```bash
claude mcp add --transport http sinapsi https://sinapsi.wiki/mcp/hub/
```
Or a single wiki:
```bash
claude mcp add --transport http sinapsi-prediction-markets https://sinapsi.wiki/mcp/w/prediction-markets/
```
The command applies to the current project folder (scope `local`). Add `-s user` to make it available in every project.
## Your private spaces
In the app, open **Spaces → "Build a wiki with your assistant" → Generate command**: it gives you the full command with your token, ready to paste. It looks like this:
```bash
claude mcp add --transport http sinapsi https://sinapsi.wiki/mcp/ \
--header "Authorization: Bearer $SINAPSI_TOKEN"
```
If you skip the header, run `/mcp` inside Claude Code to sign in with OAuth.
## Check it works
Run `/mcp` and look for `sinapsi` with its tools, then ask: *"Using Sinapsi, list the public wikis."*
---
# Claude Desktop and claude.ai
> Add Sinapsi as a custom connector in Claude Desktop, claude.ai and the Claude mobile apps.
Source: https://sinapsi.wiki/docs/claude-desktop/
## Add the connector
**Settings → Connectors → Add custom connector**, then paste one of these URLs:
| You want | URL | Sign-in |
|---|---|---|
| All public wikis | `https://sinapsi.wiki/mcp/hub/` | none |
| One public wiki | `https://sinapsi.wiki/mcp/w//` | none |
| Your private spaces | `https://sinapsi.wiki/mcp/` | OAuth (you sign in with your Sinapsi account) |
Custom connectors are available on every Claude plan (Free includes one). The connection runs from Anthropic's cloud, so it works the same on web, desktop and mobile.
## Use it
Enable the connector in a conversation and ask, for example: *"Using Sinapsi, what traps make prediction-market backtests look profitable?"* Claude will cite the sections it used.
---
# ChatGPT and the OpenAI API
> Connect Sinapsi to ChatGPT (Developer mode) with OAuth, or pass it as an MCP tool in the OpenAI Responses API.
Source: https://sinapsi.wiki/docs/chatgpt/
## ChatGPT (Plus, Pro, Business)
**Settings → Apps & Connectors → enable Developer mode → Create app**, and use:
- `https://sinapsi.wiki/mcp/hub/` for the public wikis, or
- `https://sinapsi.wiki/mcp/` for your private spaces.
ChatGPT connectors sign in with OAuth, which Sinapsi supports out of the box. Static Bearer tokens are not an option in the ChatGPT interface.
## OpenAI Responses API
Pass the server on every call; for private spaces include your token:
```python
tools=[{
"type": "mcp",
"server_label": "sinapsi",
"server_url": "https://sinapsi.wiki/mcp/",
"authorization": SINAPSI_TOKEN,
"require_approval": "never",
}]
```
For public wikis use `https://sinapsi.wiki/mcp/hub/` and omit `authorization`.
---
# Cursor, VS Code, Windsurf and Cline
> Configuration snippets for Cursor, VS Code / GitHub Copilot, Windsurf and Cline — same endpoint, different JSON keys.
Source: https://sinapsi.wiki/docs/cursor-vscode/
The endpoint is the same everywhere; only the JSON key for the URL changes between clients.
## Cursor
`~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):
```json
{ "mcpServers": { "sinapsi": { "url": "https://sinapsi.wiki/mcp/hub/" } } }
```
## VS Code / GitHub Copilot
`.vscode/mcp.json` — note that the top-level key is `servers`:
```json
{ "servers": { "sinapsi": { "type": "http", "url": "https://sinapsi.wiki/mcp/hub/" } } }
```
For a private space, use `https://sinapsi.wiki/mcp/` and add a header:
```json
{ "servers": { "sinapsi": { "type": "http", "url": "https://sinapsi.wiki/mcp/",
"headers": { "Authorization": "Bearer YOUR_TOKEN" } } } }
```
## Windsurf and Cline
Same endpoint and header. The URL key is `serverUrl` in Windsurf; in Cline set `"type": "streamableHttp"`.
Ready-made files are in the [sinapsi-mcp repository](https://github.com/salesmartmabros/sinapsi-mcp/tree/main/examples).
---
# Codex CLI and Gemini CLI
> Add Sinapsi to OpenAI Codex CLI and Google Gemini CLI, for public wikis and private spaces.
Source: https://sinapsi.wiki/docs/codex-gemini/
## OpenAI Codex CLI
Public wikis:
```bash
codex mcp add sinapsi --url https://sinapsi.wiki/mcp/hub/
```
Private spaces — Codex reads the token from an environment variable:
```bash
export SINAPSI_TOKEN="YOUR_TOKEN" # add this line to ~/.bashrc or ~/.zshrc too
codex mcp add sinapsi --url https://sinapsi.wiki/mcp/ --bearer-token-env-var SINAPSI_TOKEN
```
Check with `/mcp` inside Codex.
## Gemini CLI
```bash
gemini mcp add --transport http sinapsi https://sinapsi.wiki/mcp/ --header "Authorization: Bearer YOUR_TOKEN"
```
In `settings.json` the URL key is `httpUrl`, not `url`. For public wikis use `https://sinapsi.wiki/mcp/hub/` without the header.
---
# Agents via the Claude API
> Give an agent built on the Claude API the Sinapsi tools through the MCP connector, with one block of code.
Source: https://sinapsi.wiki/docs/agents-api/
With the Claude API's MCP connector your agent gets `search`, `get_page`, `neighbors` and `confirm_use` as tools, without running anything locally:
```python
response = client.beta.messages.create(
model="claude-opus-5-5",
max_tokens=2048,
betas=["mcp-client-2025-11-20"],
mcp_servers=[{
"type": "url",
"name": "sinapsi",
"url": "https://sinapsi.wiki/mcp/hub/",
}],
tools=[{"type": "mcp_toolset", "mcp_server_name": "sinapsi"}],
messages=[{"role": "user", "content": "Using Sinapsi, ..."}],
)
```
For private spaces use `"url": "https://sinapsi.wiki/mcp/"` and add `"authorization_token": SINAPSI_TOKEN` to the server entry.
Tell the agent in its system prompt to cite the `chunk_id` it used and to call `confirm_use` after answering — see [Citations and feedback](/docs/citations-and-feedback/).
---
# Concepts: sections, weights and frontier pages
> Pages, sections, verified weights, links and frontier pages — the structure that lets an assistant cite Sinapsi precisely and avoid known dead ends.
Source: https://sinapsi.wiki/docs/how-it-works/
## Pages and sections
A wiki is a set of Markdown pages. Each page is split into **sections** at its `##` anchors; a section is the unit an assistant retrieves and cites. Each section has a stable id of the form `::`, for example `countries/germany::0`.
`search` returns whole sections — usually the answer is already inside — and tells you which page each comes from. Open the full page with `get_page` when you need the context.
## Provenance
Every page carries where its facts come from: the sources with the date they were read, who supplied the data, and, for public wikis, the verification pass. Data with an expiry is marked with the date it was read and how long it stays valid.
## Links and neighbours
Pages link to each other with `[[wiki-links]]` written by the curator. `neighbors` returns a page's outgoing links (with their weight) and the pages that point to it. Following these links finds material that similarity search alone would miss.
## Verified weights
When an assistant answers using a section and the answer holds up, it calls `confirm_use(worked=true)`. The cited sections gain weight, and search ranks them higher for the next reader. In `search` output each section shows its `weight`. Links confirmed by use are followed automatically by search.
## Frontier pages: what does not work
Some wikis keep **frontier** pages: theses already tested and refuted, each with the date and the fact that killed it. Before proposing an idea, an assistant can search for it there. If it is listed, it is work already done — and it should not be proposed again without a new, dated fact.
## Public and private
The same engine runs the public wikis and your private spaces. The difference is who can read and write, and how corrections are handled — see [Citations and feedback](/docs/citations-and-feedback/) and [Private spaces](/docs/private-spaces/).
---
# Citations and feedback
> How assistants cite Sinapsi sections with chunk ids, and how confirm_use turns each answer into a better wiki.
Source: https://sinapsi.wiki/docs/citations-and-feedback/
## Cite the sections you used
Each `search` result begins with a header like:
```
[chunk id=countries/germany::0 page=countries/germany via=rank weight=0]
```
Cite it in the answer as `[cit:countries/germany::0]`. The page is at `https://sinapsi.wiki/w//p//`, so a reader can click through to the source.
## Close the loop with confirm_use
After answering, the assistant reports which sections it actually cited:
| Call | Effect on a public wiki | Effect in a private space |
|---|---|---|
| `confirm_use(chunk_ids=[...], worked=true)` | cited sections gain weight | cited sections gain weight |
| `confirm_use(chunk_ids=[...], worked=false, correction="...")` | the correction enters a review queue | the old text is superseded, never deleted (needs the *expand* role) |
Pass **only** the sections really cited in the answer. Confirming sections that were retrieved but not used would teach the wiki the wrong thing.
## Why it matters
Weights are how a wiki learns which material holds up in real use. They are visible in `stats` and on each wiki's home page.
---
# Private spaces
> A private wiki for your team and your assistants, hosted in the EU, with roles, tokens and per-section sharing.
Source: https://sinapsi.wiki/docs/private-spaces/
## What a space is
A space is a private wiki: same structure as the public ones (pages, sections, weights, links), readable only by the people and assistants you grant. Data is hosted in the EU.
## Roles
| Role | Can |
|---|---|
| query | search and read, ask questions with citations |
| expand | also write and correct pages (`write_page`, corrections via `confirm_use`) |
| manage | also invite people and manage access |
You can share a space per section: a guest sees exactly what you grant, nothing more.
## Tokens
- **Account token** — works on MCP (`https://sinapsi.wiki/mcp/`) and on the [REST API](/docs/rest-api/). With it, `my_spaces` lists your spaces and the `space` parameter moves between them.
- **Space token** — scoped to one space, MCP only. Give it to an assistant that should see just that space.
Generate tokens in the app: **Spaces → "Build a wiki with your assistant" → Generate command**. Treat them like passwords and revoke them in the app if exposed. Clients that support OAuth (Claude Desktop, claude.ai, ChatGPT, and Claude Code via `/mcp`) can sign in without a token.
## Plans
Free includes 500 MB of memory and 2 private spaces; paid plans add memory, spaces and collaborators. See [pricing](https://sinapsi.wiki/pricing/).
---
# Documents (PDF, Word, PowerPoint, Excel)
> Upload files to a private space; Sinapsi extracts text and images, your assistant writes the wiki with citations that are checked automatically.
Source: https://sinapsi.wiki/docs/documents/
## What happens to a file
1. You upload a file to a private space (**Upload** in the app). Supported: PDF, Word (`.docx`), PowerPoint (`.pptx`), Excel (`.xlsx`) and plain text, up to 50 MB each and 500 documents per space.
2. Sinapsi extracts the text page by page, plus images (charts, diagrams). Scanned pages are passed to your assistant as images: there is no OCR on our side.
3. **Your assistant**, with its own model and tokens, reads the document and writes the wiki pages. Sinapsi does not run an LLM on your files.
## Read a document
`my_documents` lists the files in the space with their ids. `read_document(document_id, page_from, page_to)` returns up to 20 pages and 80,000 characters per call, with the images of those pages; the `continua_da` field ("continue from") gives the page to resume at. Document text is marked as data, not instructions.
## Cite and check
Pages cite the document as:
```
[doc:#p]
[doc:#p- «exact quote»]
```
When a page is saved, every `[doc:…]` citation is checked automatically: the document and the pages must exist and a quoted passage must really be there. `write_page` returns the result.
For a full fact-check, a second pass — ideally a different model or session acting as a reviewer — rereads the page against the sources and records the outcome with `record_document_check`. The record is tied to the current text: if the page changes, the check must be redone.
See the guide [Build a wiki from your documents](/docs/build-a-wiki-from-documents/).
---
# MCP tools reference
> Every tool exposed by the Sinapsi MCP server, its parameters, and whether it needs an account.
Source: https://sinapsi.wiki/docs/mcp-tools/
## Endpoints
| Endpoint | Content | Auth |
|---|---|---|
| `https://sinapsi.wiki/mcp/hub/` | all public wikis | none for reading |
| `https://sinapsi.wiki/mcp/w//` | one public wiki, isolated by URL | none |
| `https://sinapsi.wiki/mcp/` | your private spaces | Bearer token or OAuth |
All speak Streamable HTTP. On the hub, choosing a wiki is a parameter per call (`wiki=""`), not a state.
## Reading (no account needed on public wikis)
| Tool | Parameters | Returns |
|---|---|---|
| `list_wikis` | — | public wikis: id, name, description, size |
| `search` | `query`, `wiki`, `space` | whole sections with `chunk_id`, weight, page, plus frontier notes |
| `get_page` | `slug`, `wiki`, `space` | the full page in Markdown, anchors included |
| `neighbors` | `slug`, `wiki`, `space` | outgoing links with weight, and pages that link here |
| `stats` | `wiki`, `space` | pages, sections, links, verified uses |
| `confirm_use` | `chunk_ids`, `worked`, `correction`, `wiki`, `space` | records that cited sections held up, or a correction |
## Private spaces (account or space token)
| Tool | What it does |
|---|---|
| `my_spaces` | your spaces: id, name, role |
| `create_space` | create a new private space, with optional tags |
| `write_page` | write or update a page (role *expand*); weights stay on unchanged sections |
| `how_to_build_wiki` | the page rules: format, method, what not to do — call it before building a wiki |
| `my_documents` | uploaded files in the space, with ids, pages and images |
| `read_document` | read up to 20 pages / 80,000 characters of a file, with its images |
| `record_document_check` | record a fact-check of a page against the uploaded files |
## Publishing and contributing
| Tool | What it does |
|---|---|
| `publish_status` | per page: publishable or not, fact-check outcome |
| `publish_space` | publish a space as a public wiki at `/w//` (only pages with a passed fact-check) |
| `unpublish` | switch off one page (its URL answers 410) or the whole wiki |
| `page_reads` | reads of your published wiki by AI crawlers, search engines, people and MCP calls |
| `propose_page` | propose a new page or an edit to an existing public wiki (reviewed before it goes online) |
| `my_proposals` | your proposals and their status |
| `contribute` / `submission_status` | submit a contribution with a self-assessment, and follow it |
| `upload_table` / `upload_chart` / `my_attachments` | data tables (CSV) and charts drawn from them, with their source card |
Tool descriptions inside the MCP server are the authoritative, always-current version of this page.
---
# REST API
> The public read API for the wikis (no token) and the account API for your spaces, with the OpenAPI schema.
Source: https://sinapsi.wiki/docs/rest-api/
Machine-readable schema: [OpenAPI (JSON)](https://sinapsi.wiki/api/v1/openapi.json).
## Public wikis (no token)
| Method and path | Returns |
|---|---|
| `GET /api/v1/public/wikis` | the catalogue of public wikis |
| `GET /api/v1/public/wikis/{wiki_id}` | one wiki's details |
| `GET /api/v1/public/wikis/{wiki_id}/pages` | its pages |
| `GET /api/v1/public/wikis/{wiki_id}/pages/{slug}` | one page |
| `GET /api/v1/public/wikis/{wiki_id}/search?q=` | pages matching a query in that wiki |
| `GET /api/v1/public/cerca?q=&wiki=` | site-wide search across wikis (JSON) |
| `GET /search?q=&format=md` | the same search as Markdown, for assistants |
```bash
curl "https://sinapsi.wiki/api/v1/public/wikis/gdpr-damages/search?q=non-material%20damage"
```
## Your spaces (account token)
The account token works on `/api/v1` (space tokens are MCP-only):
```bash
# your spaces
curl -H "Authorization: Bearer $SINAPSI_TOKEN" https://sinapsi.wiki/api/v1/spaces
# ask a space, with citations and frontier notes
curl -H "Authorization: Bearer $SINAPSI_TOKEN" -H "Content-Type: application/json" \
-d '{"question": "what tone of voice does the brand use?"}' \
https://sinapsi.wiki/api/v1/spaces//ask
```
## Markdown twins
Every public page has a Markdown twin: add `.md` to its path, e.g. `https://sinapsi.wiki/w/gdpr-damages/p/countries/germany.md`. Each wiki also has `/w//llms.txt`, and the site has [llms.txt](https://sinapsi.wiki/llms.txt) and [llms-full.txt](https://sinapsi.wiki/llms-full.txt).
---
# Authentication and limits
> Which credential each endpoint needs, how to keep tokens safe, rate limits and size limits.
Source: https://sinapsi.wiki/docs/authentication-and-limits/
## Credentials
| Endpoint | Credential |
|---|---|
| Public wikis (MCP hub, per-wiki MCP, public REST) | none |
| `https://sinapsi.wiki/mcp/` | account token, space token, or OAuth sign-in |
| `/api/v1/spaces…` | account token |
| `contribute`, `propose_page` | account token (free registration) |
Tokens are credentials: keep them in environment variables or your client's secret store, never in code or in shared files. Revoke them in the app if exposed.
## Rate limits
Requests are rate-limited per token and per IP. When exceeded you get HTTP 429 with `Retry-After`; the limits are generous for interactive and agentic use. For high-volume commercial use of the public corpus, write to privacy@sinapsi.wiki.
## Size limits
| Item | Limit |
|---|---|
| Uploaded document | 50 MB, 500 per space |
| `read_document` per call | 20 pages, 80,000 characters |
| Data table (`upload_table`) | 2,000 rows |
| Memory per plan | Free 500 MB; see [pricing](https://sinapsi.wiki/pricing/) |
---
# Changelog
> What changed in Sinapsi, with dates — new features, documentation and infrastructure.
Source: https://sinapsi.wiki/docs/changelog/
## 24 November 2026
- **Documents in private spaces**: upload PDF, Word, PowerPoint and Excel files; Sinapsi extracts text and images without any AI model, your assistant reads them with `read_document` and every `[doc:…]` citation is checked automatically. See [Documents](/docs/documents/).
- **Documentation**: this site, with a quickstart, a page per client, the MCP tools and REST reference, guides, five case studies, a guide to each public wiki, and [llms-full.txt](https://sinapsi.wiki/llms-full.txt).
- **Security page**: how data is protected and where it lives — [Security](https://sinapsi.wiki/security/).
- **MCP**: `search` results now use English labels (`Context`, `page`, `weight`, `public wiki`) for assistants everywhere.
- **New home page** and audience pages, with real examples of what an assistant gets back.
## 23 November 2026
- **Site-wide search** across all public wikis, with suggestions as you type, at [/search](https://sinapsi.wiki/search).
- **Sign in with a one-time email link**, in addition to Google and GitHub.
- Listed in the **official MCP Registry** as `wiki.sinapsi/sinapsi`.
## 20 November 2026
- **Hosting moved to OVHcloud in Milan, Italy.** Nightly backup copies are also kept in Milan.
---
# Build a wiki from your documents
> Step by step — upload files, let your assistant write pages with checked citations, then review them as a second reader.
Source: https://sinapsi.wiki/docs/build-a-wiki-from-documents/
## 1. Upload
Create a private space and upload your files (PDF, Word, PowerPoint, Excel, text). Check them with `my_documents`.
## 2. Read everything first
Ask your assistant to call `how_to_build_wiki`, then to read **all** the documents with `read_document` before writing a single page. The map of concepts comes from the whole set, not from the first file.
## 3. Write pages, one concept each
A good page follows these rules (the full version is returned by `how_to_build_wiki`):
1. **One page = one concept**, never "one uploaded file". A document with three ideas becomes three linked pages.
2. **Every section under an anchor** (`##` or `**Label:**`) is a claim a person can confirm or correct on its own. Aim for 500–2,000 characters per section.
3. **Explicit `[[links]]`** between related pages: the graph is made only of these.
4. **Provenance always**: where the information comes from and how it was checked.
5. **Write down what does not work**: the routes tried and closed, and why. It is the most valuable part of a wiki.
Every fact from a document carries its citation, for example `[doc:annual-report-a1b2#p14 «revenue grew 12%»]`. `write_page` checks each citation and reports problems straight away.
## 4. Check as a reviewer
In a new session, or with a different model, ask the assistant to act as a reviewer who did not write the page: reread it with `get_page`, reopen the cited pages with `read_document`, and record what holds and what does not with `record_document_check`. Fix the unsupported sentences and check again.
## 5. Keep it current
When a document changes, upload the new version and update the pages it supports. Weights stay on sections that did not change; changed sections start again.
---
# Publish a public wiki
> Turn a private space into a public wiki on sinapsi.wiki — only pages that passed an independent fact-check go online.
Source: https://sinapsi.wiki/docs/publish-a-public-wiki/
## The bar
A public wiki is read by AI assistants every day, which is why it only accepts new, verifiable knowledge written to the Sinapsi standard: claims tied to primary sources, short anchored sections, clear attribution. Promotional text does not pass. See [Publish on the public wiki](https://sinapsi.wiki/publish/) for the editorial rules.
## Steps
The `publish_space` tool itself charges nothing per page. The separate editorial service — sending content for our review to appear on sinapsi.wiki under your attribution — has a free review and costs €9 per verified page (pages declaring more than 20 sources get a quote): see [Publish](https://sinapsi.wiki/publish/).
1. Build the wiki in a private space (see [Build a wiki from your documents](/docs/build-a-wiki-from-documents/)) and mark the pages you want public as publishable.
2. `publish_status` shows, page by page, whether it is publishable and the outcome of the fact-check. The values are in Italian: `ok`, `da_modificare` (to fix), `respinto` (rejected) or `da_rifare` (text changed since the check, redo it).
3. The fact-check is done by a verifier **different from the owner** of the space. Only pages with an `ok` on their current text are published.
4. `publish_space(space, wiki_id, name, description, lang)` publishes at `https://sinapsi.wiki/w//`, with its own MCP endpoint and Markdown twins. Call it again after every change. Use `test=true` for a trial wiki that is not indexed and can be deleted without trace.
5. `page_reads` shows who reads it: AI crawlers by bot, search engines, people and MCP calls.
To switch off a page use `unpublish(space, slug)`; its URL answers 410. Without `slug` it switches off the whole wiki.
## Contributing to an existing wiki
To add or correct a page in someone else's public wiki, use `propose_page`: the proposal is checked against its sources and a person decides. Follow it with `my_proposals`.
---
# Sinapsi compared
> How Sinapsi differs from documentation servers like Context7 and DeepWiki and from memory layers like Mem0, Supermemory and Basic Memory.
Source: https://sinapsi.wiki/docs/compare/
Different tools solve different problems. This page says what Sinapsi is for, and when another tool is the better choice.
| | Sinapsi | Documentation servers (Context7, DeepWiki, Ref) | Memory layers (Mem0, Supermemory, Zep, Basic Memory) |
|---|---|---|---|
| Main content | curated wikis on a subject, with sources | library and repository docs | facts remembered from an agent's conversations, or your notes |
| Who writes it | curators and assistants, checked by a separate reviewer | generated from code and docs | the agent, automatically, or you |
| Unit returned | whole sections with stable ids to cite | doc snippets | memories or notes |
| Provenance per claim | yes: source, date read, who supplied it | link to the doc | varies |
| What did NOT work | recorded on purpose (frontier pages) | no | not as a feature |
| Learns from use | `confirm_use` weights sections that held up | no | memories are updated by the agent |
| Public knowledge, free | 11 public wikis, no key | yes, for code | no |
| Hosting | EU | see each vendor | see each vendor; Basic Memory can run on local files |
## When to use what
- **Coding against a library's API?** A documentation server such as Context7 is built for that.
- **Personalising an agent with what a user said last week?** A memory layer such as Mem0 or Supermemory.
- **Need answers on a subject that cite verified sources, and that remember what was already tried and failed?** That is Sinapsi — on our public wikis, or on your own private space.
They also work together: an assistant can have Sinapsi and a documentation server connected at the same time.
> This comparison describes the products' main purpose as presented on their own sites in November 2026; check each vendor for current features.