modernity-mcp
Click on "Deploy 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., "@modernity-mcp search for Bitcoin developments in the last hour"
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.
modernity-mcp
MCP (Model Context Protocol) server for Modernity — connect live data to Cursor and Claude, and build apps with the Modernity API.
Prerequisites
Node.js 18 or newer
API key from modernity.live (get one free, no credit card)
Related MCP server: OrchestrateKit MCP
Quick Start
# Verify your key works
npx -y modernity-mcp --key=YOUR_API_KEY --testIf you see Success! API is online and your key is valid., you're ready to connect.
Connect to Cursor
Open Cursor Settings (Cmd+Shift+J or Ctrl+Shift+J)
Go to Features → MCP
Click + Add New MCP Server
Fill in:
Name: Modernity
Type: stdio
Command:
npxArgs:
-y modernity-mcp --key=YOUR_API_KEY
Set MODERNITY_API_KEY in env, or pass
--key=YOUR_API_KEYin ArgsSave. The dot turns green when connected.
Connect to Claude Desktop
Open your Claude config file:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add to the
mcpServersblock:
{
"mcpServers": {
"modernity": {
"command": "npx",
"args": ["-y", "modernity-mcp"],
"env": {
"MODERNITY_API_KEY": "YOUR_API_KEY"
}
}
}
}Restart Claude Desktop. Look for the plug icon.
Authentication
Provide your API key in one of two ways:
Environment variable:
MODERNITY_API_KEY=your_keyCLI argument:
--key=your_key
The server exits immediately with an error if no key is provided.
Tool Reference
Live Data Tools
Use these to answer questions, get real-time information, and explore what's happening now.
Tool | Description |
| Fetch recent messages from the live stream. Optional: |
| Semantic search across all sources. Required: |
| Query across data types (doc, ticker, news, geo_alert). Required: |
| AI-powered topic analysis with recommendations. Required: |
| List all 23+ available data sources and categories |
| Get live stream health and statistics |
| Check API key tier, usage, and rate limits |
| Verify the API is online |
| Get all pricing tiers and features |
Developer / Builder Tools
Use these to build applications with the Modernity API — generate code, get docs, and start new projects.
Tool | Description |
| Complete API endpoint documentation with request/response schemas. Optional: |
| Generate ready-to-use code with auth, error handling, and retry logic. Optional: |
| Step-by-step framework integration guide. Optional: |
Resources
URI | Description |
| API health status |
| Available data sources |
| Pricing tiers |
| Getting started guide |
| API endpoint reference |
| Authentication & rate limits |
| Error codes & troubleshooting |
| Code examples (Python, JS, curl) |
Example Prompts
Information Questions (uses live data tools)
"What's happening on Hacker News right now?"
"Search for Bitcoin developments in the last hour"
"Show me recent earthquake alerts"
"What's the latest from arXiv on machine learning?"
"Check the stream status"
Building with Modernity (uses developer tools)
"How do I integrate Modernity into my Next.js app?"
"Generate Python code to monitor crypto prices using Modernity"
"Show me the API docs for the /v1/query endpoint"
"Help me build a Flask app that searches Modernity for news"
"Generate a full Python client for the Modernity API"
"What error codes does the Modernity API return?"
Troubleshooting
Issue | Fix |
"MODERNITY_API_KEY... is required" | Add the key via env or |
"Your API key is invalid" | Regenerate at modernity.live/dashboard |
"Rate limit exceeded" | Wait before retrying; check tier limits with |
"Tool not found" | Restart Cursor/Claude after config changes |
Connection fails | Run |
Publish to npm
cd mcp
npm login
npm publish --access publicAvailable Tools
12 toolsanalyze_topicA
Use AI to analyze a topic before querying. Returns recommended data types, search terms, relevant data sources, and reasoning. Call this first when unsure how to query a topic.
Inputs: topic (required).
check_healthA
Quick health check — returns API status, service name, and server timestamp.
Inputs: no named parameters.
generate_integrationA
Generate ready-to-use code for integrating the Modernity API into an application. Produces working code with authentication, error handling, rate-limit retry logic, and best practices. Use this when a user wants code to call the API from their app, needs a quick start snippet, or is building a feature that uses live data.
Inputs: endpoint, language, use_case.
get_api_docsA
Get complete API endpoint documentation for building with the Modernity API. Returns endpoint URLs, HTTP methods, parameters, request/response schemas, authentication, error codes, and rate limit details. Use this when a user wants to integrate Modernity into their app, needs to know how an endpoint works, or is writing code that calls the API. You can request docs for a specific endpoint group or get the full reference.
Inputs: endpoint.
get_key_infoA
Check your API key: email, tier, rate limits (per minute/hour/day), remaining quota, and subscription status.
Inputs: no named parameters.
get_pricingA
Get all pricing tiers with display names, monthly prices, rate limits, SSE access, and feature lists.
Inputs: no named parameters.
get_quickstartA
Get a step-by-step quickstart guide for integrating Modernity into a specific framework or platform. Includes project setup, dependency installation, environment configuration, and a working example. Use this when starting a new project with Modernity or adding Modernity to an existing app.
Inputs: use_case, framework.
get_recent_dataA
Fetch recent messages from Modernity's live stream buffer (20k ring buffer, newest-first). Returns messages with source, category, timestamp, title, and message text. Use source/category filters to narrow results. Good for getting a snapshot of what's happening now.
Inputs: limit, source, category.
get_sourcesA
List all 23 live data sources with their IDs, categories, latency, and descriptions. Sources include: bluesky, mastodon, coingecko, kalshi, hackernews, github, usgs, gdelt, arxiv, sec, sports, weather, and more.
Inputs: no named parameters.
get_stream_statsA
Get live stream health: online status, active subscriber count, total messages processed, per-source message counts and throughput rates.
Inputs: no named parameters.
multi_schema_queryB
Query across multiple data types simultaneously. Returns results grouped by type. Good for broad searches that span documents, financial tickers, news articles, and geographic alerts.
Inputs: query (required), limit, schemas, timeframe.
query_topicA
Semantic search across all Modernity data sources. Returns ranked results with relevance scores, source, age, title, and summary. Best for finding information about a specific topic. Use a longer timeframe (1h, 24h) if the default 60s returns no results.
Inputs: topic (required), limit, format, timeframe.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
The retrieval tools are separated by intent (live snapshot via get_recent_data, semantic search via query_topic, cross-type search via multi_schema_query, and pre-query planning via analyze_topic), but the boundary between get_recent_data and multi_schema_query is fuzzy for an agent that just wants 'recent stuff across sources'. The three integration helpers (get_api_docs, get_quickstart, generate_integration) also sit close together, though each names a distinct artifact (reference vs guide vs code).
Eleven of twelve tools follow a verb_noun or verb_object pattern (get_recent_data, query_topic, get_sources, generate_integration), making the surface predictable. multi_schema_query breaks the pattern by putting the modifier and noun before the verb, and check_health uses a different verb family than the surrounding get_* tools, but both remain readable.
Twelve tools is well within a comfortable scope for a data-plus-onboarding server. Each one maps to a real need: stream access, source discovery, stats, account/quota inspection, pricing, and integration guidance.
The live-data lifecycle is broadly covered — discover sources, pull recent messages, semantic search, multi-type query, health/stats, and integration docs. The main gaps are no way to fetch a single message or item by ID and no dedicated per-source detail tool (get_sources lists metadata but there's no drill-down), which agents can mostly work around via filters.
Maintenance
Related MCP Connectors
Connect Claude, Cursor, or ChatGPT to your business data. Ask questions, get answers.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Build and manage data pipelines, add custom connectors, and chat with your data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceFacilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.39MIT
- AlicenseNot gradedqualityDmaintenanceEnables Cursor and Claude Desktop to design production-ready AI workflows by exposing a structured registry of components, edges, stacks, routes, and playbooks, with capabilities for goal matching, route composition, and confidence scoring.1MIT
- FlicenseAqualityCmaintenanceEnables DevOps operators to query and operate the Sigma Streaming Platform from any AI client such as Claude Desktop, Cursor, or Kiro.11-
- FlicenseNot gradedqualityDmaintenanceEnables semantic code search across codebases using AI embeddings and vector similarity, integrated with Claude Desktop and Cursor.-