wquestions-mcp
The wquestions-mcp server lets you build and query a structured knowledge model of any domain using a fixed 7-axis framework (who, what, where, when, how much, which kind, how) — no custom schema required.
Explore the framework — Use
list_axesto understand the 7 modeling axes andlist_rolesto see canonical typed role connectors.Build a knowledge model — Add named entities to any axis (people, places, objects, times, magnitudes, categories) with
add_entity, and optionally pre-register situation/verb types withdefine_verb(or let the server auto-register on first use).Assert facts — Use
assert_situationto record any real-world event or relationship by attaching role-labeled arguments; supports time-bounded facts viavalid_from/valid_to.Query the model — Use
askto fix some roles and retrieve others, filter by situation type, or query the model as it existed at a specific point in time.Correct/update facts — Use
correctto update a role on an existing situation in an append-only manner, preserving full history.Inspect the universe — Use
show_modelto dump all entities and facts, including persistence metadata.Try instant demos — Use
load_example(e.g. the "spa" example) to load a prebuilt domain and start querying immediately.Reset and start over — Use
resetto clear the current universe and begin modeling a new domain.Persist across sessions — The universe is saved to an append-only log (
~/.wquestions/universe.jsonlby default) and automatically reloaded on restart; configurable via theWQUESTIONS_LOGenv variable or disableable withWQUESTIONS_LOG=off.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wquestions-mcpLoad the spa example and show me the model."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wquestions-mcp
Model any domain in 7 questions.
An MCP server that lets Claude Desktop (or any MCP client) build and query a knowledge model of anything — a spa, a barbershop, a clinic, a bank — using one fixed set of tools. No per-domain schema to write, ever.
The problem
Every domain today gets its own bespoke ontology or database schema: a CRM schema for sales, a clinical model for a clinic, a different one again for a bank or a taxi dispatcher. None of it transfers between domains, and none of it was designed for an LLM to reason over — each new domain means new modeling work before an AI can even start answering questions about it.
WQuestions replaces all of that with a single fixed index: 7 axes that any fact, in any domain, answers. Model a domain by asserting facts on those 7 axes; query it the same way no matter what the domain is.
Related MCP server: SLayer
The 7 axes
Axis | Question | Holds |
Q | who | agents |
O | what | objects, and reified situations (facts treated as things) |
L | where | places |
T | when | time points and intervals |
N | how much | magnitudes with a unit |
K | which / what kind | atemporal categories, types, states |
M | how | the predicates that connect Q/O/L/T/N/K to each other — structural, not a value axis |

Quickstart
Add this to your Claude Desktop config (claude_desktop_config.json) and
restart Claude Desktop:
{
"mcpServers": {
"wquestions": {
"command": "uvx",
"args": ["wquestions-mcp"]
}
}
}Prefer to run from source? Clone this repo and, from the repo root,
pip install -e . into a virtualenv (the engine is bundled — no other
package needed). Then point command/args at that venv's wquestions-mcp
script (e.g. command: ".../.venv/bin/wquestions-mcp", args: []) instead
of uvx.
Then ask Claude: "Load the spa example, then show me the model." See
DEMO.md for the full 30-second walkthrough.
Tools
Tool | Does |
| Describe the 7 axes |
| List canonical roles (who/what/where/... connectors), typed by domain and range |
| Create an individual on a value axis (Q, O, L, T, N, K); for the N axis pass |
| Register a situation type and its roles — optional, |
| Assert a fact: reify a situation and attach its roles |
| Correct/update a role on an existing situation by re-asserting it (append-only; |
| Query by projection — fix some roles, ask for others, optionally as of a point in time; pass |
| Dump the current universe: every entity and fact |
| Load a prebuilt demo universe ( |
| Clear the model and start a fresh universe |
How it works
The LLM client does the natural-language-to-structure step: it reads "Diego
cut Marco's hair at Barber Kings on 2025-06-11" and turns it into
role-labeled arguments (agente: diego, paciente: marco, lugar_de: barber_kings). The server never parses English — it takes those roles,
validates them against the 7-axis model, and runs ingest and query over the
wq engine. Same engine, same 10 tools, whether the domain behind them is a
spa or a barbershop.
Persistence
By default the server persists your universe to an append-only log and reloads on restart, so a modeled domain survives across sessions — you never rebuild by hand. Nothing is ever overwritten; corrections are appended and the log is the source of truth.
Default location:
~/.wquestions/universe.jsonl.Choose a file: set
WQUESTIONS_LOG=/path/to/domain.jsonl. Point each domain at its own file (e.g. one per MCP server entry in your client config) — a single log holds one live universe at a time (aresetstarts a fresh domain within it).Turn it off (pure in-memory):
WQUESTIONS_LOG=off.
show_model reports the active log path and how many events were replayed, so
you can confirm persistence is on.
Further reading
The 7-axis model — why it's fixed, what each axis actually commits to, and how it holds up once you push on it — is worked out in full in WQuestions, the book this project comes from (Spanish). Start with Chapter 8, El espacio multidimensional for the axis model itself, or the table of contents.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/joseabantomarin/wquestions-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server