How to Use the NewsAPI MCP in Cursor
Pull live headlines and article metadata directly into your Cursor environment with this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect NewsAPI MCP to Cursor
Create your Vinkius account to connect NewsAPI to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build news dashboards inside Cursor
The `search_headlines` tool feeds live data straight into your editor while you build frontend components. Instead of mocking up fake JSON responses, your agent pulls actual breaking news to test your UI layouts. You see exactly how long titles and missing images will break your CSS. It's that simple. Prototyping a feed reader goes much faster when you have real content. Cursor executes `get_headlines_by_source` to grab CNN or BBC articles, injecting the exact payload structure into your test files. The AI writes the parsing logic based on the actual API response it just received.
Filter global coverage by category
Grabbing structured data for specific industries requires the `get_headlines_by_category` command. Your AI client hits the API and returns top stories in tech or finance, letting you verify your data fetching functions immediately. Working with live endpoints means you don't deal with annoying type mismatches later. Testing internationalization features is another common use case. Running `get_headlines_by_country` pulls native-language text from specific regions to test your app's font rendering. You catch character encoding issues early because the data is real.
Query historical archives for backtesting
Building sentiment analysis models means you need past data, which `search_articles` provides on demand. You ask the agent to fetch articles about a specific company from last month, and it drops the text right into your workspace. This MCP Server turns your IDE into a data pipeline. Knowing which publishers are active helps you map out your application's source list. The `list_sources` tool dumps the entire available directory so the AI can generate a configuration file for you. You skip the manual copy-pasting entirely.
Set up NewsAPI MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the NewsAPI MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent NewsAPI transactions." If the MCP tools are loaded correctly, Cursor will call the NewsAPI tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"newsapi-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by NewsAPI. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about NewsAPI MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the NewsAPI MCP today
We host it, we monitor it, we maintain it. You just paste one token.