FetchCoder
Add SpecStream to FetchCoder with one remote entry in fetchcoder.json. The terminal agent can then search the live web, read whole pages, and build lists with a source on every value.
What you need
- FetchCoder 1.1.0, the current release on npm, installed with
npm install -g @fetchai/fetchcoder. - A SpecStream account and an API key. New accounts get $10 of credit, no card. Create one.
- 1
1. Create a SpecStream API key
In your SpecStream workspace, open Agents & API, choose API keys, then Create API key, and set a total spending limit. FetchCoder sends the key as a header on every call to SpecStream, so there is no browser sign-in.
Put the key in
~/.fetchcoder/.env. Thefetchcodercommand reads that file each time it starts, before it loads the config:~/.fetchcoder/.env - 2
2. Add SpecStream to fetchcoder.json
Open
~/.fetchcoder/fetchcoder.json, the file the installer wrote. Undermcp, keep theagentverseentry and addspecstreambeside it. The type isremote, and FetchCoder replaces{env:SPECSTREAM_API_KEY}with the key from the environment when it loads the file:~/.fetchcoder/fetchcoder.json - 3
3. Start FetchCoder and ask
Run
fetchcoderand ask for something current. Name SpecStream when you want its results. FetchCoder lists each tool under the server's name, so SpecStream's tools appear asspecstream_search_web,specstream_read_pagesand so on:In FetchCoder
What FetchCoder gets
SpecStream's server at https://api.specstream.ai/mcp adds these tools to FetchCoder, next to the Agentverse tools it ships with.
specstream_search_webanswers a question from the live web, with up to 10 results for $5 per 1,000 searches. A search that returns nothing costs nothing.specstream_read_pagesreturns the main text of up to 20 pages or documents (PDF, Word, Excel) in one call, at $0.80 per 1,000 pages. A page that gives no text is not charged.- Deep Search builds a list from a request in plain words.
compilereads the request back,quote_capacity_workprices it for free, andauthorize_capacity_workstarts it only after you approve the maximum.get_findandlist_find_rowsread the rows, each with its source.
Rules for the entry
A remote entry takes four keys: type, url, enabled and headers. FetchCoder refuses the file if the entry holds any other key.
To add SpecStream to one project only, put the same mcp block in a fetchcoder.json at the project's root. FetchCoder reads that file when you start it inside the project.
To keep the entry but switch it off, set enabled to false.
Check the connection
Run one task with debug logging, as FetchCoder's docs show: DEBUG=* fetchcoder run "Use SpecStream to search for this week's Node.js release". The log names each MCP server FetchCoder found and its type, so a line for specstream with type remote means the entry loaded.
If the SpecStream tools do not appear, check that SPECSTREAM_API_KEY is set in ~/.fetchcoder/.env or in your shell, and that the key has a spending limit above zero.
Approvals in FetchCoder
FetchCoder's permission setting covers edit, bash and webfetch. Searches and page reads are charged per call with no quote, so the spending limit on the key is the cap for them. Deep Search adds its own gate: nothing paid starts until you approve the price SpecStream quotes.
Cost
Connecting SpecStream to FetchCoder is free, and new accounts start with $10 of credit, no card. A search of up to 10 results costs $5 per 1,000, and a page read costs $0.80 per 1,000. Deep Search is priced per delivered row and quoted before it runs, and a run can't cost more than the maximum you approved. See pricing and how billing works.
Remove
Delete the specstream entry from fetchcoder.json and restart FetchCoder. To end its access, open Agents & API in your SpecStream workspace and revoke the key under API keys. Your saved results stay in your workspace. Questions: [email protected].
More
SpecStream for FetchCoder covers what it does in FetchCoder on one page. Every other tool has its guide in Connect your tools. You see the most a request can cost before it starts, and the matches are paid from your balance. Billing has the details. For help, email [email protected].