News Sentiment API MCP Server

News sentiment score trends for any topic over time. Free key at trendsapi.ai

Local serverstdioPython

What is the News Sentiment API MCP server?

News sentiment score trends for any topic over time. Free key at trendsapi.ai. Exposed over MCP by the news sentiment api mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

res = requests.post( "https://api.trendsapi.ai/api", headers={"Authorization": "Bearer YOUR_API_KEY"}, json={"mode": "get_growth", "source": "news sentiment", "keyword": "tesla", "percent_growth": ["3M", "12M"]}, ) print(res.json()) ```

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration

You will need 2 environment variables: AUTH_HEADER, YOUR_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by ai.trendsapi; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against News Sentiment API's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the news sentiment api mcp server does with a few real requests.

How to install the News Sentiment API MCP server

{
  "mcpServers": {
    "trendsapi": {
      "url": "https://api.trendsapi.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AUTH_HEADERConfiguration value read at startup.Optional
YOUR_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects News Sentiment API to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with News Sentiment API directly.