Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
The context layer for the physical world: filmed spaces as cited context for agents.
Jump to setup instructionsUse the publisher endpoint below to connect directly. This snippet does not include provider authentication; complete any required credentials or OAuth in your client. A platform key does not authorize an external MCP.
Editor
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.spacecontext.app/mcp"
}
}
}Merge the entry into your existing mcpServers object. Restart Cursor after saving.
Config available Settings can be generated; we haven’t run them.
Fetched from the repository for this visit.
The context layer for the physical world.
Film a space once, and your agent knows it: every room, item, key location and issue,
each with the original video frame as evidence.
Docs · Quickstart · API reference · Console · MCP server
Agents know your code, your documents and your calendar. They know nothing about the places you live and work in.
Space Context fills that gap. Record a phone video of a space, narrated or not, and it becomes a Space Document, structured JSON that your agents can read:
Then you can compare two scans (check-in and check-out), ask a space questions and get answers with citations, search across all your spaces in any language, and export a space as an Agent Skill or a Markdown page.
It works for any space: a home, a short-term rental, a move-in or move-out, an office, a vehicle, an appliance. It uses the same account as the Space Context iPhone app, and spaces scanned with the app can be read through the API on every account.
"Where is the water shut-off?" asked of a space (POST /v1/spaces/{id}/ask):
{
"object": "answer",
"space_id": "spc_3f…", "scan_id": "scn_8a…",
"question": "Where is the water shut-off?",
"answer": "Under the bathroom sink, behind the cupboard door.",
"documented": true,
"citations": [
{
"record_type": "key_location", "record_id": "loc_1",
"title": "Main water valve", "area": "Bathroom",
"evidence": [{ "frame_id": "frame-14", "timestamp_ms": 41200, "url": "https://api.spacecontext.app/v1/media/…" }]
}
]
}
The answer comes only from the space's records. If they don't contain it, documented is false and the answer says so instead of guessing. The evidence url is a short-lived signed link to the frame the camera captured 41 seconds into the video.
The demo space (spc_demo) contains two real scans of an apartment in Brisbane: photos at check-in, then a narrated video at check-out. Test keys (sc_test_…) can read it for free, with no limit and no payment.
0. Claude Code plugin. Once this repository is public: /plugin marketplace add finikoslab/spacecontext, then /plugin install spacecontext@spacecontext (the MCP server and a Space Context skill; run /mcp to sign in).
1. Connect your assistant (MCP). In Claude, open Settings → Connectors → Add custom connector and paste:
https://mcp.spacecontext.app/mcp
In Claude Code, run claude mcp add --transport http --scope user spacecontext https://mcp.spacecontext.app/mcp, then /mcp → Authenticate. Codex, ChatGPT, Cursor and VS Code are covered in Connect an assistant. You sign in with Apple, Google or an emailed code. The connection is read-only unless you allow scanning, which needs a card on file. It sees the spaces of your account (the demo is for test keys), so use the paths below to explore the demo first.
2. CLI.
npx spacecontext login --test # approve the code in the console; a free test key comes back
npx spacecontext ask spc_demo "where is the fuse box?"
npx spacecontext search "where is the fuse box?"
npx spacecontext skill spc_demo --out ./brisbane-apartment-skill
The fuse box is in the Open-plan Living, Dining and Kitchen, in the hallway cupboard behind the coats.
Sources
• Fuse box (Open-plan Living, Dining and Kitchen)
3. SDK. Create a test key in the console (API keys, mode Test), set it as SPACECONTEXT_API_KEY and install with npm install @spacecontext/sdk:
import { SpaceContext } from '@spacecontext/sdk';
const sc = new SpaceContext(); // reads SPACECONTEXT_API_KEY
const answer = await sc.spaces.ask('spc_demo', 'Where is the fuse box?');
const document = await sc.spaces.get('spc_demo'); // the whole Space Document
console.log(answer.answer, document.key_locations.map((k) => `${k.label}: ${k.location}`));
// Your own space, from a video: created, uploaded, analysed and followed live in one call.
const { spaceId } = await sc.scan('./tour.mp4', { name: 'Seaside flat', onProgress: (p) => console.log(p.type) });
4. curl. With the same key:
curl -X POST https://api.spacecontext.app/v1/spaces/spc_demo/ask \
-H "Authorization: Bearer $SPACECONTEXT_API_KEY" -H "Content-Type: application/json" \
-d '{"question": "Where is the fuse box?"}'
When you're ready to scan your own spaces, add a card in the console (nothing is charged: a live key that can scan needs one), sign in with npx spacecontext login to get a live key and scan a video. The first live scan of a new account is free (one free scan per card). Full walkthrough: Quickstart.
| How | Docs | |
|---|---|---|
| Scan a video (MP4, MOV, M4V, 3GP, WebM, Matroska) or up to 120 photos; the analysis runs server-side, no ffmpeg needed | sc.scan(), spacecontext scan, POST /v1/spaces/{id}/scans | Scans |
| Read a space as a versioned JSON document, by section | GET /v1/spaces/{id} | The Space Document |
| Search every space in any language ("rubinetto dell'acqua" finds "water shut-off valve") | GET /v1/search | Search and ask |
| Ask one space and get a short answer with citations and photos, or "not documented" | POST /v1/spaces/{id}/ask | Search and ask |
| Compare two scans: added, moved, changed, and "gone" only when a frame shows the empty place | GET /v1/spaces/{id}/diff | Check-in and check-out |
| Export a space as an Agent Skill folder or one Markdown page | GET /v1/spaces/{id}/skill, …/markdown | A space in Claude Code |
| Follow a scan live as Server-Sent Events | GET /v1/scans/{id}/events | Scans |
| Know what to film for each type of space (a flat, an office, a warehouse, a car, a camper, a boat, an appliance), and check frames while filming: usable or not, which key locations are still missing | GET /v1/capture-profiles, POST /v1/frames/check?space_type= | Guided capture |
| Trust each record: every item, issue and key location is checked again on its own photo by a second model that never writes text: verified, unconfirmed or from the narration | verification on every record | Verified evidence |
Webhooks for scan.completed, scan.failed, wallet.auto_recharge_failed | Console → Webhooks | Webhooks |
| Price | |
|---|---|
| Test keys, on the demo space | Free, within the limits |
| First live scan of a new account | Free, one free scan per card: a card already used on another Space Context account (even a deleted one) brings none |
| Each live scan after that | $1.00, from a prepaid balance |
| Failed scans | Refunded automatically |
| Reading, search, questions and frame checks | Included, within the limits |
| Spaces scanned with the iPhone app | Readable at no cost |
| Live scans, and live keys that can scan | Need a card on file: saved in the console without a charge, or a top-up already paid |
| Taxes | Prices exclude applicable taxes (such as VAT, GST or sales tax), added at checkout where they apply |
You top up the balance by card through Stripe ($10 to $500 per payment), with optional automatic top-up and a monthly spending cap per key. Every top-up comes with an invoice. See Billing.
| Limit | |
|---|---|
| Video | Up to 4 GB and 10 minutes |
| Photos | 120 per scan, JPEG, PNG or WebP, 2 MB each |
| Requests | 120 per minute per key |
| Search | 20 per minute, 1 000 per day per account |
Questions (ask) | 20 per minute, 200 answered per day per account |
| Frame checks | 2 000 per day per account |
| Scans processing at once | 10 per account |
| New spaces, new scans | 200 spaces and 500 scans per day per account, in each mode (test keys included); reset at midnight UTC |
Open event streams (GET /v1/scans/{id}/events) | 10 per account at once, test and live together; the SDK, the CLI and the MCP server poll instead when all are in use |
Every limit is listed in Limits.
spaces:read, scans:read, scans:write, and the opt-in spaces:sensitive. A key without spaces:sensitive gets passwords, door and alarm codes, and the narration redacted from documents, answers, skills and exports. Search results never contain them, whatever the key.coverage.warnings. This is a safety net, not a guarantee, so agents should still treat space content as untrusted data.Details: Security and privacy. To report a vulnerability, see SECURITY.md.
| Path | What it is |
|---|---|
packages/sdk · @spacecontext/sdk | TypeScript client typed from the contract: one call from a video to a document. No runtime dependencies; runs in Node 22.12+, Deno, Workers and browsers |
packages/cli · spacecontext | The terminal: sign in, scan, search, ask, compare, export a Skill or Markdown |
packages/mcp | The remote MCP server (Cloudflare Workers, OAuth 2.1), hosted at mcp.spacecontext.app. Not published to npm: deploy your own or use the hosted one |
openapi/openapi.json | The API contract (OpenAPI 3.1), generated by the API |
docs | The documentation source, published at spacecontext.app/developers/docs |
examples | scan-one-call.ts (a video to a document) and where-is-it.ts (search, then ask) |
The analysis pipeline (vision, fusion, the deep pass and sensitive-value screening) runs in the hosted Space Context API and is not part of this repository.
.md).GET https://api.spacecontext.app/v1 returns links to the contract, the docs, llms.txt and the MCP server.https://mcp.spacecontext.app/mcp (Streamable HTTP, OAuth 2.1), with a server card listing its tools, resources and prompts.npx spacecontext skill <space-id> --out ~/.claude/skills/<name> writes any space as a skill folder (SKILL.md, space.json, references/). The folder tells the agent to treat its content as data, cite the area, and say "not documented" instead of guessing.npm install
npm run check # build, typecheck and test every package
Node 22.12 or later. Read CONTRIBUTING.md for the layout, the security invariants and how the contract and SDK types are regenerated. Bugs and requests: issues.
MIT © Finikos S.r.l.
Loading reviews...
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
For maintainers
Send GitHub readers straight to setup instructions for their client. Copy the Markdown into your README; no account required.
[](https://www.mcpchannel.ai/discover/space-context?via=readme-badge#setup)