Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Niconico to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/niconico.md
Video

How to connect Niconico to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
Who can use itLimited to non-commercial personal use. Anyone can use it without registration or an API key, but the API Terms of Use prohibit business activities, commercial use, and preparatory acts for them, so it cannot be used for corporate operations or embedded in commercial services
MethodOfficial API (Snapshot Search API)
PricingFree (no API key or registration). However, commercial use is prohibited
RiskThe API Terms of Use prohibit use for business activities, commercial purposes, or preparatory acts for them (Article 4(2)). This can cover not only embedding data in commercial services but also corporate sales and marketing research. Article 6 also requires confidentiality of information received in connection with the API and prohibits disclosure to third parties, so passing responses to external AI services needs care in relation to that clause. The premise is non-commercial personal research and analysis

There is an official API (Snapshot Search API v2) for searching public video metadata, usable by anyone without registration or an API key. Videos can be searched by title, tags, view counts, comment counts and more, from a daily-updated snapshot. There is no official MCP, but an unofficial MCP wrapping this API exists. As far as the official documentation confirms, this search API is the only public API; no API for account operations (posting, commenting, mylists) is published. The API Terms of Use limit it to non-commercial personal use.

AuthenticationNone (no API key. Specify the service or application name in the User-Agent and the _context parameter)
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

Niconico has no official MCP server. An unofficial MCP server wrapping the official Snapshot Search API exists (see communityMcp)

Official guide for AI agentsNo

No official AI/agent guide or llms.txt was found for Niconico. The search API guide itself is well maintained for developers

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream, Composio, Yoom

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • x0x0b/mcp-nicovideo-snapshot-search

    An unofficial MCP server wrapping the official Snapshot Search API (Python, version 0.1.0, requires Python 3.13+). It searches videos by keyword or tag and returns metadata such as titles and view counts. Its only arguments are query, search_targets, sort_type and page; it does not support filters, jsonFilter, tagsExact or fields (fields are fixed to 15 items, _limit is fixed at 10). It also lacks the rate control recommended by the official guide, and has an implementation issue where API errors can crash it. It runs locally via uv and uses no credentials. It is small, with 1 GitHub star; last updated in April 2025, and maintenance depends on the individual author

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Unofficial MCPx0x0b/mcp-nicovideo-snapshot-searchThird party (unofficial)
Permissions requiredRead only

Uses no credentials. Only the official API's public scope (searching public video metadata)

Terms of serviceConditional

It uses the official API in the manner described in the documentation, but with conditions: the API Terms of Use limit it to non-commercial personal use (Article 1(2), Article 4(2)); this MCP does not implement the rate control recommended by the official guide (waiting for the previous response time, suppressing parallelism), so parallel calls easily hit 429 and usage limits; and Article 6 of the API Terms requires confidentiality and prohibits third-party disclosure of received information, so passing fetched data to external AI services needs care in relation to that clause

Source: relevant section of the terms

Data pathRuns locally and connects directly to the official Snapshot Search API. The fetched metadata flows to the AI service using the MCP

Delegated sign-in

When an agent signs in on your behalf, holds your credentials or session, or passes two-factor authentication

Terms of serviceIssues
Sharing credentialsThe Niconico terms prohibit transferring, lending, or letting third parties use account information for any purpose. Handing Niconico account credentials to an agent to sign in conflicts with this provision
Two-factor authenticationTwo-factor authentication exists (official help): a 6-digit confirmation code via an authenticator app or the registered email address; when used from overseas, sending the email confirmation code is mandatory. All of these assume the user's own action; an agent cannot pass them alone
RisksA Niconico account is tied to premium membership, channel subscriptions, mylists and purchased content. The search API needs no authentication in the first place, so there is no practical benefit to sharing the account. Handing credentials to a cloud browser agent also leaves the session (cookies) stored externally, and prompt injection could lead to unintended purchases or posts. Under the terms, use via an ID and password is deemed to be use by the account holder

Based on '1. Account information registration' of the Niconico terms (prohibiting transferring, lending, or letting third parties use account information)

Source: relevant section of the terms

Data you can fetch within the terms of service

The official API returns search results over Niconico's public video metadata (titles, descriptions, tags, view counts, mylist counts, like counts, comment counts, posting dates, thumbnail URLs, etc.); the fields also include the latest single comment (lastResBody). No API for downloading video data, posting comments, mylist operations, or information tied to your own account is published, as far as the official documentation confirms

ScrapingNot stated in terms

No clause naming scraping was found in the Niconico terms. However, the terms prohibit downloading video data via software except where explicitly permitted, and prohibit acts that place an excessive burden on the servers or obstruct operations. Metadata should be fetched via the official search API. The search API itself has API Terms of Use that prohibit commercial use and use in ways not described in the documentation

Source: relevant section of the terms of service

Fetching with the agent's own browserUnverified

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

For data the official route does not cover:

Automation under the termsNot stated in terms
Bot detection / CAPTCHANot confirmed

Fetching video metadata is premised on the official Snapshot Search API. The Niconico terms prohibit downloading video data via software except where explicitly permitted ('2. Account management'). Account information such as the post-login My Page is outside the API's scope. Note that www.nicovideo.jp's robots.txt disallows GPTBot entirely, and disallows /api/ and /my/ for all crawlers

Source: relevant section of the terms of service

Usage

How to connect

  1. Decide the application name to specify in the User-Agent and _context (e.g., your service name; _context is at most 40 characters)
  2. Call the Snapshot Search API. The required parameters are q (keyword), targets, _sort and _context. The official guide's curl example uses --data-urlencode and therefore sends a POST (to send a GET, add -G or put the parameters in the query string)
  3. To narrow conditions, use filters (ranges, exact matches) or jsonFilter (complex conditions). For a keyword-less search, pass q= as an empty string (it cannot be omitted)
  4. Do not parallelize requests; send them sequentially, waiting as long as the previous response took (to avoid 429). On 503, wait at least 5 minutes
  5. From a result's contentId, the video page URL is https://nico.ms/<contentId>

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Snapshot Search API v2 (curl)
curl -A 'apiguide application' 'https://snapshot.search.nicovideo.jp/api/v2/snapshot/video/contents/search?targets=title&fields=contentId,title,viewCounter&_sort=-viewCounter&_offset=0&_limit=3&_context=apiguide_application' --data-urlencode "q=初音ミク" --data-urlencode "filters[viewCounter][gte]=10000"

The example in the official guide. Specify the application name in the User-Agent and _context. Keyword (q), targets, fields, filters and sort are specified as query parameters. No API key is needed. Note that this example uses --data-urlencode without -G, so it is actually sent as a POST (application/x-www-form-urlencoded). Add -G if you want to send a GET

Official page checked: https://site.nicovideo.jp/search-api-docs/snapshot

mcp-nicovideo-snapshot-search (Claude Desktop)
{
  "mcpServers": {
    "mcp-nico-snapshot-search": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-nicovideo-snapshot-search",
        "run",
        "main.py"
      ]
    }
  }
}

The configuration in the unofficial MCP server mcp-nicovideo-snapshot-search's README. Clone the repository first. Because it wraps the official API as-is, the API Terms of Use, including the prohibition of commercial use, apply in the same way. This MCP does not support filters or fields (fields are fixed to 15 items, _limit is fixed at 10) and has no rate control implemented. It requires Python 3.13+ and was last updated in April 2025

Official page checked: https://github.com/x0x0b/mcp-nicovideo-snapshot-search

Limiting the features

Minimize the fetched fields and count
fields=contentId,title,viewCounter
_limit=10

Because this is a public API without authentication, scoping is mainly about minimizing the fetched fields and count. Narrow fields to only what you need and keep _limit to the necessary amount to avoid wasteful data fetching and load. Note that the unofficial MCP fixes the fields, so this minimization applies when calling the official API directly

Official page checked: https://site.nicovideo.jp/search-api-docs/snapshot

Keyword search

Instruction to the agent

Show me 10 Niconico videos for 'Hatsune Miku', sorted by view count

Call the Snapshot Search API with q and targets=title, and _sort=-viewCounter to fetch in descending view-count order

Narrowing by period and genre

Instruction to the agent

Find game-play videos posted last month with many comments

An example of using the official API directly. Use filters to specify a startTime range and a genre, and fetch in descending commentCounter order (-commentCounter). The official genre name is 'Game'; 'game play' is narrowed by tags or keywords, not by genre. The data is a snapshot as of 5:00 AM (readable after the update work completes), so it covers up to the previous day

Pitfalls and tips

Pitfalls

  • The API Terms of Use prohibit use for business activities, commercial purposes, or preparatory acts for them (Article 1(2), Article 4(2)). Beyond embedding fetched data in commercial services, corporate sales and marketing research can also be covered
  • Article 4(19) of the API Terms prohibits 'collecting or accumulating information about individuals'. It cannot be used to continuously accumulate userIds or similar data
  • The data is a snapshot as of 5:00 AM (JST), and new data cannot be referenced until the update work finishes. Just-posted videos and same-day view counts are not reflected. The switchover timestamp of the data being referenced can be checked via the /api/v2/snapshot/version endpoint
  • There are limits on concurrent requests and concurrent execution from the same IP; parallel requests return 429 (TOO_MANY_REQUESTS). The official guide recommends sending sequentially, waiting as long as the previous response took. On 503 (MAINTENANCE), retry after at least 5 minutes
  • The maximum fetch size is _limit 100 and _offset 100,000. A keyword-less search requires q= as an empty string (it cannot be omitted) and is heavy; the guide asks that filters narrow hits to within 100,000
  • _context (the application name) is at most 40 characters. Not specifying the service/application name in the User-Agent and _context deviates from the method described in the guide
  • The unofficial MCP (mcp-nicovideo-snapshot-search) has weak narrowing features: its arguments are only query, search_targets, sort_type and page, with no support for filters, jsonFilter, tagsExact or fields (fields fixed to 15 items, _limit fixed at 10). It also lacks the rate control recommended by the official guide (waiting, parallelism suppression), so parallel calls easily hit 429. It requires Python 3.13+ and was last updated in April 2025

Tips

  • If you need condition filters, field minimization or 429 countermeasures, call the official API directly (curl / HTTP). If you only want to try simple keyword searches in conversation, the unofficial MCP is an option, but with constraints: no filters, _limit fixed at 10, Python 3.13 required, and no updates since April 2025
  • Note that commercial use is not allowed. The premise is personal research and analysis, or non-commercial personal tools

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client
MCP server versionmcp-nicovideo-snapshot-search 0.1.0 (latest at the time of writing)

https://github.com/x0x0b/mcp-nicovideo-snapshot-search

Documentation check: the official Snapshot Search API v2 guide (specs, usage limits, the full API Terms of Use), the Niconico terms, the official help (two-factor authentication), the unofficial MCP's README and source code (arguments, fixed parameters, absence of rate control), and each integration platform's official directory. Live verification was limited to the official API: called the Snapshot Search API and confirmed status 200 with real data returned, and confirmed the version endpoint returns the switchover timestamp. The unofficial MCP itself was not run. verification.server refers to the unofficial MCP mcp-nicovideo-snapshot-search (not an official MCP)

Change history

  • First edition

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

  • Niconico Video 'Snapshot Search v2 API' GuideThe official guide for Snapshot Search API v2. Basis for the endpoint, parameter specs, usage limits (concurrency and same-IP limits, 429), data updates (daily 5:00 AM), and the API Terms of Use (non-commercial use in Article 1, prohibited acts in Article 4). The full text of the API Terms of Use is published within it, checked 2026.12.05
  • Niconico TermsThe Niconico terms (an official page whose text can be read directly). Basis for '1. Account information registration' (prohibiting transferring, lending, or letting third parties use account information), '2. Account management' (the general prohibition on downloading video data via software), and '5. Prohibited acts' (excessive server burden, obstructing operations), checked 2026.12.05
  • x0x0b/mcp-nicovideo-snapshot-searchThe unofficial MCP server author's repository. Basis for the configuration example of the search MCP wrapping the official API, checked 2026.12.05
  • Claude connector directoryBasis that Niconico is not listed in Claude's connector directory, checked 2026.12.05
  • What is two-factor authentication? | Niconico HelpOfficial help. Basis for two-factor authentication (a 6-digit confirmation code via an authenticator app or email; the email code is mandatory when used from overseas), checked 2026.12.05

Related articles

How to connect Discord to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect Qiita to AI agents

Official, individuals OK

How to connect Spotify to AI agents

Official, individuals OK