mcp
Citable research retrieval for AI agents across papers, books, patents, Wikipedia, and public discussions.
Documentation
Space Frontiers MCP Server
A retrieval layer for AI agents over peer-reviewed papers, books, patents, standards, Wikipedia, Reddit, Telegram, Discord, and YouTube. Returns bounded full text and canonical source URIs for citation.
Hosted at https://mcp.spacefrontiers.org/ (Streamable HTTP transport, OAuth 2.1 with PKCE or Bearer API key).
Tools
All four tools are read-only, idempotent, and prefixed `spacefrontiers_` to avoid collisions in multi-server agent setups.
| Tool | When to use |
|---|---|
| `spacefrontiers_search_documents` | Peer-reviewed papers, books, patents, Wikipedia. Use for citations and prior art. |
| `spacefrontiers_search_social` | Reddit, Telegram channels, YouTube transcripts. Use for news and community discussion. |
| `spacefrontiers_fetch_document` | Bounded full text + up to 50 references for one canonical URI. Defaults to 40K characters; supports up to 100K. |
| `spacefrontiers_search_in_document` | Up to five matching passages within one document. Use for documents over ~20K tokens. |
Search defaults to 10 compact, hybrid-ranked results and is capped at 30. Every hit includes a canonical `source_uri`, one snippet (up to 900 characters), an abstract preview (up to 800 characters), score, authors, date, type, and estimated full-text size. Citation backlinks are opt-in on `spacefrontiers_fetch_document` because they add another billed search.
Install
The hosted server has its own /mcp install page with one-click links for Cursor, VS Code, and Smithery.
Claude Code (recommended)
claude mcp add --transport http --scope user spacefrontiers https://mcp.spacefrontiers.orgOn first use a browser opens for OAuth login — no API key paste required.
Cursor / VS Code / Cline / Windsurf (HTTP)
{
"mcpServers": {
"spacefrontiers": {
"type": "http",
"url": "https://mcp.spacefrontiers.org",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Get an API key at https://spacefrontiers.org/keys.
Self-hosted (stdio)
git clone https://github.com/SpaceFrontiers/mcp.git
cd mcp
uv sync
SPACE_FRONTIERS_API_KEY=sf_live_xxx uv run fastmcp run mcp_server.pyThe environment variable is used as the upstream API credential in stdio mode.
Pricing
- Search: $0.01 base + $0.001 per returned result (the 10-result MCP default costs $0.02).
- Full document fetch: $0.05.
- In-document passage search: $0.015.
- `referenced_by_limit > 0` on a fetch adds a separately billed search.
Add credits at https://spacefrontiers.org/payments.
Repository layout
- `mcp_server.py` — Starlette + FastMCP entrypoint, OAuth well-known endpoints.
- `tools.py` — four tools with Pydantic output schemas.
- `prompts.py` — `deep_research_agent` prompt.
- `resources.py` — `spacefrontiers://document/{uri_b64}` URI template.
- `auth.py` — Bearer-token validation, Origin allowlist, MCP-Protocol-Version check.
- `client.py` — async HTTP client for the v2 search API.
- `server.json` — Official MCP Registry entry.
- `smithery.yaml` — Smithery deployment config.
- `registry.json` — in-house registry metadata.
- `tests/` — pytest unit tests.
Spec compliance
- Transport: Streamable HTTP, stateless.
- Auth: OAuth 2.1 with RFC 7591 Dynamic Client Registration; long-lived API keys also accepted.
- Annotations: every tool declares `readOnlyHint`, `idempotentHint`, `openWorldHint`, `destructiveHint:false`.
- Output schemas: every tool's `outputSchema` is auto-generated from a Pydantic return model.
- Resources: one URI template registered for documents.
- Spec versions accepted: `2025-03-26`, `2025-06-18`, `2025-11-25`.
Development
uv sync
uv run pytest
uv run ruff check .mcp-name: io.github.SpaceFrontiers/mcp
License
MIT
Frequently asked questions
What is mcp?
mcp is Citable research retrieval for AI agents across papers, books, patents, Wikipedia, and public discussions.
How do I install mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp open source?
Yes — it is hosted on GitHub at https://github.com/SpaceFrontiers/mcp and has 11 stars.
Related MCP tools
Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
Build effective agents using Model Context Protocol and simple workflow patterns Python-based implementation. Trusted by 7600+ developers.
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
ACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unifie...
An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP